Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automating multiple font encoding additions in fonts.dir



Wow Cool patch!  I'll be playing arownd and testing this today.  Thanks a
lot.

Thanks.

--
Marc C.

On Thu, 26 Jul 2001, Tobias Diedrich wrote:

> Marc Christensen wrote:
> 
> > I use ttmkfdir to do this currently.  However, most unicode TruType fonts
> > which have multiple encodings (iso8859-x, iso10646-1, etc), list iso8859-x
> > encodings first and iso10646-1 encodings somewhere after that.  The
> > problem is that ttmkfdir always chooses the first encoding to add to the
> > fonts.dir and stops there, not adding any more encodings.
> 
> ttmkfdir works in a different way.
> It has a few tables for each supported encoding, which contain
> the unicode values for each character in these encoding.
> To determine wether the font is sufficient for a given encoding,
> it counts how many of the needed characters are missing and
> if a certain threshold is reached it does not include that encoding.
> 
> iso10646-1 is never added to fonts.dir.
> same for jisx0208.19(83|90)-0 and jisx0212.1990-0.
> 


--
Marc C.
http://www.mecworks.com


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links