Graphics State Summary
The following tables summarize the variables that make up the Graphics State. Nearly all of the Graphics State variables have a default value as shown below. That value is reestablished for every glyph in a font. Instructions are available for resetting the value of all Graphics State variables. Some state variables can be reset in the CVT Program. In such cases the value set becomes the new default and will be reestablished for each glyph. When value of a state variable is changed by instructions associated with a particular glyph, it will hold only for that glyph.
The setting of the Graphics State variables will affect the actions of certain instructions. Affected instructions are listed for each variable.
Graphics State Variable | Default | Set With | Affects |
---|---|---|---|
auto_flip | TRUE | FLIPOFF FLIPON |
MIAP MIRP |
control_value_cut_in | 17/16 pixels | SCVTCI | MIAP MIRP |
delta_base | 9 | SDB | DELTAP1 DELTAP2 DELTAP3 DELTAC1 DELTAC2 DELTAC3 |
delta_shift | 3 | SDS | DELTAP1 DELTAP2 DELTAP3 DELTAC1 DELTAC2 DELTAC3 |
dual_projection_vectors | — | SDPVTL | IP GC MD MDRP MIRP |
freedom_vector | x-axis | SFVTCA SFVTL SFTPV SVTCA SFVFS |
GFV |
zp0 | 1 | SZP0 SZPS |
AA ALIGNPTS ALIGNRP DELTAP1 DELTAP2 DELTAP3 IP ISECT MD MDAP MIAP MIRP MSIRP SHC SHZ SHP UTP |
zp1 | 1 | SZP1 SZPS |
AA ALIGNPTS ALIGNRP IP MD MDRP MIRP MSIRP SHC SHZ SHP SFVTL SPVTL |
zp2 | 1 | SZP2 SZPS |
ISECT IUP GC SHC SHP SFVTL SHPIX SPVTL SC |
instruct_Control | 0 | INSTCTRL | all instructions |
loop | 1 | SLOOP | ALIGNRP FLIPPT IP SHP SHPIX |
minimum_distance | 1 pixel | LMD | MDRP MIRP |
projection_vector | x-axis | SPVTCA SPVTL SVTCA SPVFS |
GPV |
round_state | 1 | RDTG ROFF RTDG RTG RTHG RUTG SROUND S45ROUND |
MDAP MIAP MDRP MIRP ROUND |
rp0 | 0 | SRP0 | IP MDAP MIAP MIRP MSIRP SHC SHZ SHP |
rp1 | 0 | SRP1 | IP MDAP MDRP MIAP MSIRP SHC SHZ SHP |
rp2 | 0 | SRP2 | IP MDRP MIRP MSIRP SHC SHZ SHP |
scan_control | FALSE | SCANCTRL SCANTYPE |
|
singe_width_cut_in | 0 pixels | SSWCI | MDRP MIRP |
single_width_value | 0 pixels | SSW* | MDRP MIRP |
* The SSW argument is expressed in FUnits. The interpreter will convert this to pixels (F26Dot6).
OpenType specification