Here is an issue for discussion from bugzilla (submitted by Roland Mainz). Any opinions? Juliusz?
Egbert. =================================================================== RFE: xc/lib/font/FreeType/ font engine should block opening fonts when there is no encodings file available for it. Currently the behaviour seems to be that if an *.enc files is missing for the requested XLFD the code simply assumes "ISO8859-1" for the non-existant *.enc files (which is horribly WRONG in most cases). Steps to reproduce: 1. Configure Xserver with freetype2 font engine and a fonts.dir entry like "sonti.ttf -foobar-courier-medium-r-normal--0-0-0-0-m-0-blabla-666" 2. Let a client open that font Expected behaviour: |XLoadFont()XLoadQueryFont/XQueryFont()| failure since the encoding if the font is unknown. Current behaviour: |XLoadFont()XLoadQueryFont/XQueryFont()| return a font handle which is likely not what the application expects (since ISO8859-1 encoding is used instead of "blabla-666") ... ;-( _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
