All display fontfiles are now in the single fonts/displayfonts/ directory. The subdirectories adobe, big, other, altofonts have been deleted, and are no longer on DISPLAYFONTDIRECTORIES. The few additional displayfonts from the envos repo are included. This is the result of: Removing all byte-identical files, leaving a representative of each such equivalence class in displayfonts/ Removing all files in displayfonts that are renamed byte-identical copies of other files in displayfonts/ (e.g. helvetica1-MRR-c0.displayfont is a fake-renamed copy of helvetica4-MRR-c0.displayfont). These are to be constructed on the fly by the font substitution mechanism. Roughly comparing the bitmaps of non-identical files with the same font family/size/face/charset in the different subdirectories, and making displayfonts/ have the one that looks best (e.g. most glyphs, unless garbage), giving priority to ones that are already in displayfonts/. Moving the remaining odd-ball files from the subdirectories to displayfonts/ (e.g. gates, music). Copying from Envos the 30 or so files that are not byte-identical copies of files already in displayfonts/.
7 lines
3.3 KiB
Plaintext
7 lines
3.3 KiB
Plaintext
en·vÅos READDISPLAYFONT
|
||
2
|
||
|
||
4
|
||
|
||
1
|
||
|
||
READDISPLAYFONT
|
||
1
|
||
|
||
4
|
||
|
||
By: Christopher Lane (Lane@Sumex-Aim.Stanford.Edu)
|
||
READISPLAYFONT modifies the display font functions to make it possible to define new display font types.
|
||
The functions \READDISPLAYFONTFILE and FONTFILEFORMAT are modified to use the list:
|
||
DISPLAYFONTTYPES [Variable]
|
||
An ALST containing font file extensions and the functions that can read those types from a file. Its initial value is:
|
||
((AC \READACFONTFILE)
|
||
(STRIKE \READSTRIKEFONTFILE))
|
||
The functions take (STREAM FAMILY SIZE FACE) as arguments and return a CHARSETINFO datum. You will (probably) need the Xerox (internal) documentation about fonts and character sets (not supplied with the standard documentation) to define a new font file reading function.
|
||
The AC and STRIKE font types are handled specially to be compatible with the existing font code, so files with extension DISPLAYFONT still work and FONTFILEFORMAT moves the file pointer to the appropriately for those two types. For all other (new) types, the type is determined solely from the file extension and FONTFILEFORMAT has no side effects.
|
||
When defining a new display font types, you will need to add the new extension to the system list DISPLAYFONTEXTENSIONS. |