Around 17 o'clock on Apr 19, Juliusz Chroboczek wrote:

> I'm currently using two internal interfaces, which I don't wish to
> export to server modules.

(from old mail...)

>   (i) to determine whether a font uses glyph names or Unicode indices
>       as its native encoding format (only Type 1 fonts fall into the
>       former category currently);

I need this as well to fix MathML mode in Mozilla when using Xft.  I 
believe it would be sufficient (if not exact) to simply check for type1 
fonts, with the possible exception of OpenType fonts translated directly 
from Type1 fonts.  I don't know how you'd check for that case though.

As for accessing the source-specific fields in the font, I've had the PCF 
FreeType developer suggest that as the "standard" way of getting at such 
information.  I'd rather have APIs that returned the private structure
from a font (null if the wrong type) so that a magic strcmp wasn't 
necessary, and so that the library could transcode the information from 
OpenType (or other "wrapper" font formats) if available.  As long as those 
datastructures appear in the public API for FreeType, they shouldn't 
change without a major library version number change.

Keith Packard        XFree86 Core Team        Compaq Cambridge Research Lab


_______________________________________________
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts

Reply via email to