Re: comments on Unicode printing patch


Subject: Re: comments on Unicode printing patch
From: Vlad Harchev (hvv@hippo.ru)
Date: Mon Feb 12 2001 - 05:05:03 CST


On Sun, 11 Feb 2001, Joaqumn Cuenca Abela wrote:

> Vlad Harchev wrote:
> >
> > I just succeeded running current AW and tested Unicode printing patch by
> > Tomas Frydrych with Cyrillic. After applying the following patch:
> > --- xap_UnixFont.cpp-was Mon Feb 12 00:08:55 2001
> > +++ xap_UnixFont.cpp Mon Feb 12 00:11:04 2001
> > @@ -330,8 +330,9 @@
> > }
> > else
> > {
> > - full_name = new char[20];
> > - *full_name = 0;
> > + full_name = new char[strlen(m_fontfile)+50];
> ^^^
> We should start using UT_String... (sorry, I couldn't resist :)

 It wasn't necessary here (it's not XP file) and a size of text to be appended
is no longer than 10 chars.

> Cheers,
>
> --
> Joaquin Cuenca Abela
> cuenca@celium.net
>

 Best regards,
  -Vlad



This archive was generated by hypermail 2b25 : Mon Feb 12 2001 - 06:06:03 CST