On Tue, 6 Mar 2001, Tomas Frydrych wrote:

[...] 
> Incidentally, there is a bug in the handling of the non-latin1 subdirs; 
> it only works if your LANG reports the encoding explicitely and the 
> fonts are located in a dir named after the encoding, not the locale. 
> To illustrate, if my LANG is set to he_IL.ISO-8859-8 (or *.ISO-8859-
> 8) and my fonts are located in ISO-8859-8 subdir, it works. 
> However, if my LANG is set to he_IL and my fonts are in he_IL it 
> does not work, because the wrapper script adds he_IL to the font 
> path, but the font manager only searches for he-IL (note the dash). 
> Further, if I set LANG to he-IL, it does not work, because although 
> the dirs are set correctly, the encoding mannager reports encoding 
> ISO-8859-1. I have looked for the source of this, but I think the 
> problem is with some external functions we call.

 You have to set $LANG to he_IL, not to he-IL if you want to omit encoding
part - then EncodingManger will look into /usr/share/locale/locale.alias and
figure that he_IL stands for he_IL.ISO8859-8 (and will report that current
encoding is ISO8859-8).

 It's wrapper script that needs to be fixed to add he-IL rather than he_IL to
fontpath - that's all.
 
> Tomas
> 

 Best regards,
  -Vlad


Reply via email to