PDF text escaping and symbol mapping utilities
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=wp), | public, | parameter | :: | SCRIPT_SCALE | = | 0.7_wp | |
| real(kind=wp), | public, | parameter | :: | SUPERSCRIPT_RISE | = | 0.35_wp | |
| real(kind=wp), | public, | parameter | :: | SUBSCRIPT_DROP | = | 0.15_wp |
Escape special characters in PDF strings
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | input | |||
| character(len=*), | intent(out) | :: | output | |||
| integer, | intent(out) | :: | output_len |
Convert Unicode codepoint to Symbol font character
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | unicode_codepoint | |||
| character(len=*), | intent(out) | :: | symbol_char |
Convert Unicode codepoint to PDF escape sequence
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | codepoint | |||
| character(len=*), | intent(out) | :: | escape_seq |
Unicode superscript/subscript characters absent from WinAnsi and Symbol: the base character and its rise (+1 super, -1 sub, 0 none).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | codepoint | |||
| character(len=1), | intent(out) | :: | base | |||
| integer, | intent(out) | :: | rise |