Re: Why not using GDK functions in drawing text?


Subject: Re: Why not using GDK functions in drawing text?
From: Paul Rohr (paul@abisource.com)
Date: Fri Mar 10 2000 - 13:42:32 CST


At 06:16 PM 3/10/00 +0800, hj wrote:
>AbiWord draws and measures text with xlib functions. It only supports font.
>I have to draw Chinese text with fontset. GDK drawing functions support both
>font and fontset. AbiWord drawing text must support both font and fontset.

I'm not a GTK expert, but I suspect you're right. If so, the following
classes would probably need to be expanded to do this:

  GR_UnixGraphics
  XAP_UnixFontManager

I'm guessing that this shouldn't be much work. Do you have a patch you'd
like to propose, or are you asking other GTK developers to come up with one
for you?

Paul



This archive was generated by hypermail 2b25 : Fri Mar 10 2000 - 13:37:02 CST