Structure for PDF text states. More...
#include <fpdf_pageobjects_r.h>
Public Attributes | |
| FSCRT_FONT | font |
| Font object. | |
| FS_FLOAT | fontSize |
| Font size. | |
| FS_FLOAT | charSpace |
| Character spacing. More... | |
| FS_FLOAT | wordSpace |
| Word spacing. It applies only to the space character, code 32. More... | |
| FS_INT32 | textMode |
| Text mode. More... | |
| FS_FLOAT | x |
| X-coordinate of origin in PDF "user space". | |
| FS_FLOAT | y |
| Y-coordinate of origin in PDF "user space". | |
| FS_FLOAT | textMatrix [4] |
| Text transformation matrix. | |
| FS_FLOAT | textLeading |
| Text leading. Not support yet, and it should be 0. | |
Structure for PDF text states.
| FS_FLOAT FSPDF_TEXTSTATE::charSpace |
Character spacing.
For horizontal writing, a positive value has the effect of expanding the distance between glyphs, whereas for vertical writing, a negative value has this effect.
| FS_INT32 FSPDF_TEXTSTATE::textMode |
Text mode.
Please refer to macro definitions FSPDF_TEXTMODE_XXX and this should be one of these macros.
| FS_FLOAT FSPDF_TEXTSTATE::wordSpace |
Word spacing. It applies only to the space character, code 32.
For horizontal writing, a positive value has the effect of increasing the spacing between words. For vertical writing, a positive value decreases the spacing between words (and a negative value increases it), since vertical coordinates increase from bottom to top.