Re: non-latin1 fonts (Unix)


Subject: Re: non-latin1 fonts (Unix)
From: Tomas Frydrych (tomas@frydrych.uklinux.net)
Date: Tue Mar 06 2001 - 02:00:18 CST


> I'm assuming that these will just be Unix font packages, no?
>
> As I mentioned in my notes to Karl and to Paul Rodríguez, other
> locale-specific distributables should (ideally) be platform and
> architecture-neutral.

Yes, just tarballs made of the locale-specific subdirectories of the
font directory. Setting up fonts for non-latin1 locales is a *reall*
(and I mean *real*) pain; I have spent several hours in the past two
days trying to get fonts working with he_IL locale and if it was not
for the fact that Vlad had gone this way before and provided the
knowhow in the end, I would have still been working on it (or more
likely have given up). I described the procedure in the UnixFonts.txt
file, so others should find it easier, but by no means easy; it
requires some reall trickery, certainly the kind that your church
secretary is not capable of. That's why we need these font packs
and need to make them available from the main download site.

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.

Tomas



This archive was generated by hypermail 2b25 : Tue Mar 06 2001 - 02:00:03 CST