UFTfmReader.mesa
Access to Tioga font metric tables
Last changed by Michael Plass, January 17, 1983 11:22 am
DIRECTORY Tfm, Rope, UFFileManager, UnifiedFonts;
UFTfmReader: CEDAR DEFINITIONS =
BEGIN
Key: TYPE = UFFileManager.Key;
CheckSum: PROCEDURE [key: Key] RETURNS [checkSum: Tfm.Word];
CharacterCodingScheme: PROCEDURE [key: Key] RETURNS [characterCodingScheme: Rope.ROPE];
Family: PROCEDURE [key: Key] RETURNS [family: Rope.ROPE];
DesignSize: PROCEDURE [key: Key] RETURNS [designSize: REAL];
In printer's points (72.27 per inch)
Face: PROCEDURE [key: Key] RETURNS [face: [0..256)];
Range: PROCEDURE [key: Key] RETURNS [bc, ec: CHAR];
Contains: PROCEDURE [key: Key, char: CHAR] RETURNS [BOOLEAN];
The dimensions returned below are relative.
Width: PROCEDURE [key: Key, char: CHAR] RETURNS [width: REAL];
Height: PROCEDURE [key: Key, char: CHAR] RETURNS [height: REAL];
Depth: PROCEDURE [key: Key, char: CHAR] RETURNS [depth: REAL];
ItalicCorrection: PROCEDURE [key: Key, char: CHAR] RETURNS [italicCorrection: REAL];
LigKern: PROCEDURE [key: Key, char1, char2: CHAR] RETURNS [ligOrKern: UnifiedFonts.LigatureOrKern];
Slant: PROCEDURE [key: Key] RETURNS [numerator, denominator: INT];
Parameter: PROCEDURE [key: Key, index: Tfm.ParamIndex] RETURNS [parameterValue: REAL];
END.