Hi,

I am facing this problem with XSun on opensolaris where I am trying to load a 
XLFD font using XLoadQueryFont.
The font i am trying to load is -*-courier 
new-medium-r-*--13-91-*-*-*-*-iso10646-1 and the font which gets loaded is 
-Misc-Fixed-Medium-R-Normal--15-140-75-75-C-90-ISO8859-1

I also get this error on the output window
"Cannot find encoding file for iso10646-1"

However this error doesn't occur on the suse linux server.

I have copied courier new fonts from windows and they are properly added to 
font path -- xlsfonts shows them as loaded:
/usr/openwin/bin/xlsfonts -display :0 | grep iso10646
-monotype-courier new-bold-i-normal--0-0-0-0-m-0-iso10646-1
-monotype-courier new-bold-r-normal--0-0-0-0-m-0-iso10646-1
-monotype-courier new-medium-i-normal--0-0-0-0-m-0-iso10646-1
-monotype-courier new-medium-r-normal--0-0-0-0-m-0-iso10646-1

How can i load the encoding file for iso10646, i had a look on suse linux as 
well as solaris, there are files present in /usr/X11/lib/X11/fonts/ and 
/usr/openwin/lib/X11/fonts with the name of encodings.dir pointing to *.enc 
files and also on solaris in truetype directory there is a folder called ttmap 
with files of *.ttmap extension.
I have also made sure that there is no file by the name and content of iso10646 
on both systems but why doesn't suse linux doesn't complain?
The main directories are all added to the fontpath of xserver.

What can be the problem with not finding encoding file for iso10646?
Is there a way through xlib api or anyway that I can find the encoding file 
being used by a font, so that I can provide the same file as on suse to sun 
solaris?

Any help in this regard would be greatly appreciated.

Thanks & best regards,
rui
-- 
This message posted from opensolaris.org

Reply via email to