diff --git a/docs/commands/references/ashow.adoc b/docs/commands/references/ashow.adoc index 23bf3a9..1ed278a 100644 --- a/docs/commands/references/ashow.adoc +++ b/docs/commands/references/ashow.adoc @@ -27,6 +27,10 @@ ax ay string (empty) ``` +=== PostScript Level + +*Level 1* and later + === Description link:/commands/references/ashow/[`ashow`] paints the characters of `string` in a manner similar to link:/commands/references/show/[`show`]. But while doing so, link:/commands/references/ashow/[`ashow`] adjusts the width of each character shown by adding `ax` to the character's x width and `ay` to its y width, thus modifying the spacing between characters. diff --git a/docs/commands/references/awidthshow.adoc b/docs/commands/references/awidthshow.adoc index bd7165c..368bcf8 100644 --- a/docs/commands/references/awidthshow.adoc +++ b/docs/commands/references/awidthshow.adoc @@ -27,6 +27,10 @@ cx cy char ax ay string (empty) ``` +=== PostScript Level + +*Level 1* and later + === Description link:/commands/references/awidthshow/[`awidthshow`] paints the characters of `string` in a manner similar to link:/commands/references/show/[`show`], but combines the special effects of link:/commands/references/ashow/[`ashow`] and link:/commands/references/widthshow/[`widthshow`]. diff --git a/docs/commands/references/charpath.adoc b/docs/commands/references/charpath.adoc index a49db99..1ba2994 100644 --- a/docs/commands/references/charpath.adoc +++ b/docs/commands/references/charpath.adoc @@ -27,6 +27,10 @@ string bool (empty) ``` +=== PostScript Level + +*Level 1* and later + === Description link:/commands/references/charpath/[`charpath`] obtains the character path outlines that would result if `string` were shown at the current point using link:/commands/references/show/[`show`]. Instead of painting the path, however, link:/commands/references/charpath/[`charpath`] appends the path to the current path. This yields a result suitable for general filling, stroking, or clipping. diff --git a/docs/commands/references/currentfont.adoc b/docs/commands/references/currentfont.adoc index 6fde65a..9bc2050 100644 --- a/docs/commands/references/currentfont.adoc +++ b/docs/commands/references/currentfont.adoc @@ -27,6 +27,10 @@ Get current font dictionary from graphics state. font ``` +=== PostScript Level + +*Level 1* and later + === Description link:/commands/references/currentfont/[`currentfont`] returns the current font dictionary in the graphics state. Normally, this is the font most recently established by link:/commands/references/setfont/[`setfont`] or `selectfont`. diff --git a/docs/commands/references/definefont.adoc b/docs/commands/references/definefont.adoc index 814f364..e9dfa9c 100644 --- a/docs/commands/references/definefont.adoc +++ b/docs/commands/references/definefont.adoc @@ -27,6 +27,10 @@ key font font ``` +=== PostScript Level + +*Level 1* and later + === Description link:/commands/references/definefont/[`definefont`] registers `font` as a font dictionary associated with `key` (usually a name). link:/commands/references/definefont/[`definefont`] first checks that `font` is a well-formed font dictionary—in other words, contains all required key-value pairs. It inserts an additional entry whose key is `FID` and whose value is an object of type `fontID`. The dictionary must be large enough to accommodate this additional entry. It makes the dictionary's access read-only. Finally, it associates `key` with `font` in the font directory. diff --git a/docs/commands/references/findfont.adoc b/docs/commands/references/findfont.adoc index b371b35..12e3573 100644 --- a/docs/commands/references/findfont.adoc +++ b/docs/commands/references/findfont.adoc @@ -27,6 +27,10 @@ key font ``` +=== PostScript Level + +*Level 1* and later + === Description link:/commands/references/findfont/[`findfont`] obtains a font dictionary identified by the specified `key` and pushes it on the operand stack. The `key` may be a key previously passed to link:/commands/references/definefont/[`definefont`], in which case the font dictionary associated with `key` (in the font directory) is returned. diff --git a/docs/commands/references/kshow.adoc b/docs/commands/references/kshow.adoc index fb4ac7f..9e24dde 100644 --- a/docs/commands/references/kshow.adoc +++ b/docs/commands/references/kshow.adoc @@ -27,6 +27,10 @@ proc string (empty) ``` +=== PostScript Level + +*Level 1* and later + === Description link:/commands/references/kshow/[`kshow`] paints the characters of `string` in a manner similar to link:/commands/references/show/[`show`], but allowing program intervention between characters. diff --git a/docs/commands/references/makefont.adoc b/docs/commands/references/makefont.adoc index c0e886e..5bad111 100644 --- a/docs/commands/references/makefont.adoc +++ b/docs/commands/references/makefont.adoc @@ -27,6 +27,10 @@ font matrix font' ``` +=== PostScript Level + +*Level 1* and later + === Description link:/commands/references/makefont/[`makefont`] applies `matrix` to `font`, producing a new `font'` whose characters are transformed by `matrix` when they are shown. link:/commands/references/makefont/[`makefont`] first creates a copy of `font`. Then it replaces the new font's `FontMatrix` entry with the result of concatenating the existing `FontMatrix` with `matrix`. It inserts two additional entries, `OrigFont` and `ScaleMatrix`, whose purpose is internal to the implementation. Finally, it returns the result as `font'`. diff --git a/docs/commands/references/scalefont.adoc b/docs/commands/references/scalefont.adoc index dab006e..1e2e135 100644 --- a/docs/commands/references/scalefont.adoc +++ b/docs/commands/references/scalefont.adoc @@ -27,6 +27,10 @@ font scale font' ``` +=== PostScript Level + +*Level 1* and later + === Description link:/commands/references/scalefont/[`scalefont`] applies the scale factor `scale` to `font`, producing a new `font'` whose characters are scaled by `scale` (in both x and y) when they are shown. link:/commands/references/scalefont/[`scalefont`] first creates a copy of `font`, then replaces the new font's `FontMatrix` entry with the result of scaling the existing `FontMatrix` by `scale`. diff --git a/docs/commands/references/setfont.adoc b/docs/commands/references/setfont.adoc index 5ed685e..710d424 100644 --- a/docs/commands/references/setfont.adoc +++ b/docs/commands/references/setfont.adoc @@ -27,6 +27,10 @@ font (empty) ``` +=== PostScript Level + +*Level 1* and later + === Description link:/commands/references/setfont/[`setfont`] establishes the font dictionary parameter in the graphics state. This specifies the font to be used by subsequent character operators, such as link:/commands/references/show/[`show`] and link:/commands/references/stringwidth/[`stringwidth`]. The `font` must be a valid font dictionary previously returned by link:/commands/references/findfont/[`findfont`], link:/commands/references/scalefont/[`scalefont`], or link:/commands/references/makefont/[`makefont`]. diff --git a/docs/commands/references/show.adoc b/docs/commands/references/show.adoc index d3353ae..a669a70 100644 --- a/docs/commands/references/show.adoc +++ b/docs/commands/references/show.adoc @@ -27,6 +27,10 @@ string (empty) ``` +=== PostScript Level + +*Level 1* and later + === Description link:/commands/references/show/[`show`] paints the characters identified by the elements of `string` on the current page starting at the current point, using the font face, size, and orientation specified by the most recent link:/commands/references/setfont/[`setfont`] or `selectfont`. diff --git a/docs/commands/references/stringwidth.adoc b/docs/commands/references/stringwidth.adoc index d6d98f3..91bcf00 100644 --- a/docs/commands/references/stringwidth.adoc +++ b/docs/commands/references/stringwidth.adoc @@ -27,6 +27,10 @@ string wx wy ``` +=== PostScript Level + +*Level 1* and later + === Description link:/commands/references/stringwidth/[`stringwidth`] calculates the change in the current point that would occur if `string` were given as the operand to link:/commands/references/show/[`show`] with the current font. `wx` and `wy` are computed by adding together the width vectors of all the individual characters in `string` and converting the result to user space. diff --git a/docs/commands/references/widthshow.adoc b/docs/commands/references/widthshow.adoc index ffa5f15..1394963 100644 --- a/docs/commands/references/widthshow.adoc +++ b/docs/commands/references/widthshow.adoc @@ -27,6 +27,10 @@ cx cy char string (empty) ``` +=== PostScript Level + +*Level 1* and later + === Description link:/commands/references/widthshow/[`widthshow`] paints the characters of `string` in a manner similar to link:/commands/references/show/[`show`]. But while doing so, link:/commands/references/widthshow/[`widthshow`] adjusts the width of each occurrence of the character `char` by adding `cx` to its x width and `cy` to its y width, thus modifying the spacing between it and the next character.