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
> [EMAIL PROTECTED]
> 

 Best regards,
  -Vlad


Reply via email to