patch: (fixed) unicode fonts under Unix


Subject: patch: (fixed) unicode fonts under Unix
From: Tomas Frydrych (tomas@frydrych.uklinux.net)
Date: Tue Jan 30 2001 - 02:40:56 CST


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).
>

The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any another MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

   ---- File information -----------
     File: unicode_font_patch.gz
     Date: 30 Jan 2001, 9:16
     Size: 3294 bytes.
     Type: Unknown




This archive was generated by hypermail 2b25 : Tue Jan 30 2001 - 02:46:38 CST