Font utilities

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

11.4.2 CCC move statements

To change the current position in a CCC file, you can use the hmove or vmove command; as you might expect, the former moves horizontally and the latter vertically.

Both take a single argument: a dimension, which is an optional real number followed by a unit of measure. The real number is a multiplying factor. For example, one of the units is pt (signifying printer's points, as usual), so the command `hmove 3pt' moves three points to the right (a pretty small distance).

Here are the possible units of measure:

`bbheight ( name )'
The height exclusive of blank space above or below the shape of the character name if it exists.

`bbwidth ( name )'
The width exclusive of side bearings of the character name if it exists.

The height of the capital letters, e.g., `H'. See `xheight' for how this is determined.

`depth ( name )'
The depth of the character name.
The design size of the main input BZR font.

The quad width of the font. This value is determined analogously to `xheight', below.
The maximum depth any character in the font descends below the baseline. Again, this is determined analogously to `xheight'.

`height ( name )'
The height of the character name.

Printer's points; 72.27pt = 1in. Since dimensions specified in points are absolute distances, they do not scale when the font size changes.

`width ( name )'
The set width of the character name.

The x-height of the main input font. If a TFM file corresponding to the main BZR file exists and defines this, that value is used; otherwise, the height of a suitable character (e.g., `x') is used if one exists; otherwise, it's zero. BZRto treats the other font-related units of measure in the same way.

If the character name does not exist, an error is given, and the command ignored.

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]