calculate_mathtext_width Function

public function calculate_mathtext_width(elements, base_font_size) result(total_width)

Calculate total width of mathematical text elements This function signature is used by text_rendering but implementation moved there

Arguments

Type IntentOptional Attributes Name
type(mathtext_element_t), intent(in) :: elements(:)
real(kind=wp), intent(in) :: base_font_size

Return Value integer