Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/commands/references/ashow.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 4 additions & 0 deletions docs/commands/references/awidthshow.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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`].
Expand Down
4 changes: 4 additions & 0 deletions docs/commands/references/charpath.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 4 additions & 0 deletions docs/commands/references/currentfont.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
4 changes: 4 additions & 0 deletions docs/commands/references/definefont.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 4 additions & 0 deletions docs/commands/references/findfont.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 4 additions & 0 deletions docs/commands/references/kshow.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 4 additions & 0 deletions docs/commands/references/makefont.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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'`.
Expand Down
4 changes: 4 additions & 0 deletions docs/commands/references/scalefont.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
4 changes: 4 additions & 0 deletions docs/commands/references/setfont.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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`].
Expand Down
4 changes: 4 additions & 0 deletions docs/commands/references/show.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
4 changes: 4 additions & 0 deletions docs/commands/references/stringwidth.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 4 additions & 0 deletions docs/commands/references/widthshow.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading