Mixed-font PDF text segmentation helpers
Process text segments for mixed font rendering Groups consecutive glyphs for the same font into a single Tj to avoid odd intra-word spacing in some PDF viewers.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(pdf_context_core), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | text | |||
| logical, | intent(inout) | :: | in_symbol_font | |||
| real(kind=wp), | intent(in) | :: | font_size | 
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(pdf_context_core), | intent(inout) | :: | this | |||
| integer, | intent(in) | :: | codepoint | |||
| real(kind=wp), | intent(in) | :: | font_size | 
Process text segments for rotated mixed font rendering
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(pdf_context_core), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | text | |||
| real(kind=wp), | intent(in) | :: | font_size | 
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(pdf_context_core), | intent(inout) | :: | this | |||
| real(kind=wp), | intent(in) | :: | font_size | 
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(pdf_context_core), | intent(inout) | :: | this | |||
| real(kind=wp), | intent(in) | :: | font_size | 
Render text with mixed fonts at specific position and size
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(pdf_context_core), | intent(inout) | :: | this | |||
| real(kind=wp), | intent(in) | :: | x | |||
| real(kind=wp), | intent(in) | :: | y | |||
| character(len=*), | intent(in) | :: | text | |||
| real(kind=wp), | intent(in) | :: | font_size |