bruner@sp15.csrd.uiuc.edu (John Bruner) (03/21/91)
What's the search order for the different types of fonts? Assuming the presence of a FOND, if there is a bitmapped FONT/NFNT at the desired point size, is it used or ignored when TrueType is available? -- John Bruner Center for Supercomputing R&D, University of Illinois bruner@csrd.uiuc.edu (217) 244-4476
MacUserLabs@cup.portal.com (Stephan - Somogyi) (03/22/91)
bruner@sp15.csrd.uiuc.edu (John Bruner) writes: >Assuming the presence of a FOND, if there is a bitmapped FONT/NFNT at >the desired point size, is it used or ignored when TrueType is >available? The bitmap is used. ______________________________________________________________________ Stephan Somogyi 1/8 of the world's population, 2/3 of the lawyers MacUser
ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) (03/22/91)
I think the default search order is to use a bitmap if one is available at the right size, otherwise image the outline. But applications can override this by calling a new routine SetOutlinePreferred, to force the use of the outline in all cases. By the way, there is always a FOND, even if there are no bitmaps. The FOND resource is the one that carries the family ID, while the sfnt, like an NFNT, has a totally random ID. The sfnt ID is stored in the FOND as an entry for "size 0" of the font. Lawrence D'Oliveiro fone: +64-71-562-889 Computer Services Dept fax: +64-71-384-066 University of Waikato electric mail: ldo@waikato.ac.nz Hamilton, New Zealand 37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00 Cocteau Twins admit it was all a joke.