API reference / Common / Engine types / DefaultAppearance
Interface: DefaultAppearance
A default appearance (/DA, §12.7.3.3): the style variable text is set in — a free text's, a redaction's overlay text. A /DA may hold only the operators a text object allows, and a TextRegularRun's styles model every one of them, so it is a run without its text and placement: its font a FontId, not a resource name.
What the /DA doesn't set holds the initial graphics state's value. A font_size of 0 asks the text to fit.
Properties
| Property | Description |
|---|---|
textStyleTextStyle | Tf, Tc, Tw, Tz, TL, Ts, Tr. |
nonstrokingStyleNonstrokingStyle | g, rg, k, cs / scn. |
strokingStyleStrokingStyle | G, RG, K, CS / SCN, w, J, j, M, d. |
renderStyleRenderStyle | ri. |
linearAffine | null | Tm's scale and skew, as a run's text_matrix holds them; its translation, which the processor replaces, isn't held. None is the identity. |