Juliusz Chroboczek wrote: > RM> I cannot get the FreeType font engine to recognize 16bit TrueType fonts > > There's no encodings.dir file in FONTENC_ENCODINGS_DIRECTORY and you > ran mkfontdir without the `-e' flag? > > FONTENC_ENCODINGS_DIRECTORY defaults to > > /usr/X11R6/lib/X11/fonts/encodings/encodings.dir
Mhhh, yes... that was my problem... Some comments: - Is it neccesary that the "encodings.dir" created by mkfontdir uses the full path to the encodings ? Using a path relative to the parent dir of "encodings.dir" looks sufficient for me (encodings.dir on Solaris uses relative paths) and it would allow to copy or move the config to a different location without problems ... - The code does not complain if there is an entry in "encodings.dir" but the matching file cannot be found for some reason. I suggest two things here: 1. The Xserver should print a error message (like Solaris Xsun). 2. Matching fonts should only be open-"able" if the encoding file referenced by "encodings.dir" can be processed without problems (e.g. the font subsystem should refuse to open the font if there is an entry in "encodings.dir" but it cannot be processed for some reason) - Many fonts from Solaris 2.8 are still not recognised as 16bit fonts (such as the chinese 18030, thai and others; I can try to make a list on demand...) ... ;-( ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) [EMAIL PROTECTED] \__\/\/__/ [EMAIL PROTECTED] /O /==\ O\ MPEG specialist, C&&JAVA&&Sun&&Unix programmer (;O/ \/ \O;) TEL +49 641 99-41370 FAX +49 641 99-41359 _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
