HI Folks with unix,
                Try this, open any document, select some text, make the
font arial, watch everything on the page below jump to the next page.

The 0.90 branch contains a bug that renders some fonts including arial,
unusable.

However the only reson ANY font is usable just depends on the value of
the unitialized variables 

        m_cjk_font_metric.ascent;
        m_cjk_font_metric.descent;
        m_cjk_font_metric.width;

Which are not set for any non-cjk font.

This is a showstopper bug. The attached patch just sets these variable to
0 in the constructor. I won't make any rpms without this patch applied.

Cheers

Martin

? local_gnome
? colorenv
? vital-0.90.diff
? src/Linux_2.4.2-2_i386_GNOME
Index: src/af/xap/unix/xap_UnixFont.cpp
===================================================================
RCS file: /cvsroot/abi/src/af/xap/unix/xap_UnixFont.cpp,v
retrieving revision 1.61
diff -r1.61 xap_UnixFont.cpp
148a149,151
>       m_cjk_font_metric.ascent = 0;
>       m_cjk_font_metric.descent = 0;
>       m_cjk_font_metric.width = 0;

Reply via email to