calculate_text_width Function

public function calculate_text_width(text) result(width)

Calculate the pixel width of text using STB TrueType with UTF-8 support

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: text

Return Value integer