Re: patch: (fixed) unicode fonts under Unix


Subject: Re: patch: (fixed) unicode fonts under Unix
From: Tomas Frydrych (tomas@frydrych.uklinux.net)
Date: Wed Jan 31 2001 - 13:17:53 CST


> I've done quite a bit of scouring through the GDK APIs and sources in my
> day, and I came to the same conclusions that you do. I was thinking that
> perhaps gdk_draw_text_wc might be used, since I think that the "wc" refers
> to "Wide Char" which I understand to be 16 bits, but I've been wrong before.

The size of wide char is platform-dependent; under Linux it is 32-
bits, (Windows it is 16). Further, the problem with
gdk_draw_text_wc is that it is meant to work with font sets rather
than fonts, so that using it would require a more extensive
reworking of AW code.

> really prefer, however, if you split off the test of min_byte and max_byte
> into a static function that returns gboolean or UT_Bool, and place that
> function (and the #include gdk-private.h call) inside of an #if 1 construct,
> so that we can just change that bit of code once someone starts work on the
> GTK2.0 port of AbiWord.

That sounds like a very good idea to me. Will look at it later tonight.

Tomas



This archive was generated by hypermail 2b25 : Wed Jan 31 2001 - 13:23:43 CST