next up previous contents index
Next: Summary of Search Path Up: Initialization of t1lib and Previous: Fine Control over Font   Contents   Index


Adding Fonts to the Database

Extending the font database is possible at any time after initialization. In addition to using T1_AddFontDataBase() (see above), it is done via a call to

 int T1_AddFont( char *fontfilename)

to 0pt fontfilename is the pointer to the filename string. The following actions take place: If a negative value is returned the function failed. -1 indicates the font file could not be located. -2 or -3 are returned if a memory allocation failure occurs.


next up previous contents index
Next: Summary of Search Path Up: Initialization of t1lib and Previous: Fine Control over Font   Contents   Index
2005-01-12