Re: [Gnome-print] [PATCH] fix big i18n problem in gnome-rfont.c



Hello!

On 09 Mar 2001 21:35:43 +0400, Vlad Harchev wrote:
> On Fri, 9 Mar 2001, Jody Goldberg wrote:
> 
> > On Fri, Mar 09, 2001 at 06:00:45PM +0200, Lauris Kaplinski wrote:
> > > On 09 Mar 2001 17:34:53 +0400, Vlad Harchev wrote:
> > > > 
> > > >    gnome_font_get_glyph_width(font, gnome_font_lookup_default(font, wcs[i]) );
> > > 
> > > Btw. does gnumeric use that broken function?
> > 
> > It does not use it directly.
> > 
> 
>  No, gnumeric used it (gnome_font_get_width_string), at least in gnumeric-0.58
> - in print-cell.c

Yeah,
we are in binary compatibility freeze, so we cannot break broken behaviour before 1-4.
The most I can do is to add WARNING to header file and provide utf8 version of
the same call.
Nevertheless one can fix applications, because these do not have API compatibility
requirement.

Btw. your method (using font_lookup) is the correct one in longer perspective. I plan to
drop all text API from gnome-print - applications can use Pango or lay text out and
convert to font-specific glyphs themselves, and gnome-print will be dealing only with
glyphs/glyphlists.

Best wishes,
Lauris Kaplinski






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