Convert lowercase Greek codepoint to ASCII name
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | codepoint | |||
character(len=*), | intent(out) | :: | ascii_equiv |
Convert uppercase Greek codepoint to ASCII name
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | codepoint | |||
character(len=*), | intent(out) | :: | ascii_equiv |
Determine the number of bytes in a UTF-8 character
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=1), | intent(in) | :: | char |
Convert UTF-8 sequence to Unicode codepoint
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | text | |||
integer, | intent(in) | :: | start_pos |
Check if text contains Unicode characters
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | text |
Check if a character is Unicode (multi-byte)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | char |
Check if codepoint is a Greek letter
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | codepoint |
Pass through Unicode for raster rendering (STB TrueType supports Unicode)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | input_text | |||
character(len=*), | intent(out) | :: | escaped_text |
Convert Unicode codepoint to ASCII equivalent
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | codepoint | |||
character(len=*), | intent(out) | :: | ascii_equiv |
Convert unknown codepoint to default placeholder format
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | codepoint | |||
character(len=*), | intent(out) | :: | ascii_equiv |
Check if UTF-8 sequence is valid and return its length
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | text | |||
integer, | intent(in) | :: | start_pos | |||
logical, | intent(out) | :: | is_valid | |||
integer, | intent(out) | :: | seq_len |