Re: patch: (fixed) unicode fonts under Unix


Subject: Re: patch: (fixed) unicode fonts under Unix
From: Dom Lachowicz (cinamod@hotmail.com)
Date: Wed Jan 31 2001 - 21:20:06 CST


Tomas's UnixFont UTF8 work
CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: src/af/gr/unix/gr_UnixGraphics.cpp
CVS: src/af/xap/unix/xap_UnixFont.cpp
CVS: src/af/xap/xp/xap_EncodingManager.cpp
CVS: src/af/xap/xp/xap_EncodingManager.h src/af/xap/xp/xap_Module.h
CVS: ----------------------------------------------------------------------

>From: "Tomas Frydrych" <tomas@frydrych.uklinux.net>
>To: abiword-dev@abisource.com, patches@abisource.com
>Subject: patch: (fixed) unicode fonts under Unix
>Date: Tue, 30 Jan 2001 08:40:56 -0000
>
>
>I added the test for UTF8, as Vlad suggested, as well as tests for utf-8
>and utf8.
>I also fixed the formating (I hope). The new patch is attached.
>
>Tomas
>
> > On Sun, 28 Jan 2001, Tomas Frydrych wrote:
> >
> > Hi,
> >
> > In the following fragment of the patch:
> > + if(!strcmp(enc, "UTF-8"))
> > + m_bIsUnicodeLocale = UT_TRUE;
> > + else
> > + m_bIsUnicodeLocale = UT_FALSE;
> >
> > I think we also need to check whether the locale name is "UTF8" too -
>as I
> > recall new glibc removes all non-alpha non-digit chars from locale name
>(e.g.
> > KOI8-R becomes KOI8R).
> >
> > At least this fix won't hurt.
> > Also, text becomes misformatted after this patch (if this matters at
>all).
> >

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com



This archive was generated by hypermail 2b25 : Wed Jan 31 2001 - 21:20:09 CST