fortplot_text_helpers Module

Small helpers for preparing text for backends



Subroutines

public pure subroutine prepare_mathtext_if_needed(input_text, output_text, out_len)

Return trimmed text and leave math parsing decisions to explicit $...$ delimiters.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: input_text
character(len=*), intent(out) :: output_text
integer, intent(out) :: out_len

public subroutine prepare_text_for_raster(input_text, escaped_text)

Run the full latex -> mathtext -> unicode pipeline for raster output.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: input_text
character(len=*), intent(out) :: escaped_text