calculate_text_metrics_safe Subroutine

public subroutine calculate_text_metrics_safe(annotation, width, height, valid, error_message)

Safe text metrics calculation with error handling

Arguments

Type IntentOptional Attributes Name
type(text_annotation_t), intent(in) :: annotation
real(kind=wp), intent(out) :: width
real(kind=wp), intent(out) :: height
logical, intent(out) :: valid
character(len=*), intent(out) :: error_message