PATCH: This patch fixes a genuine blocking bug for 0.90


Subject: PATCH: This patch fixes a genuine blocking bug for 0.90
From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Wed Jul 25 2001 - 02:28:41 CDT


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




This archive was generated by hypermail 2b25 : Wed Jul 25 2001 - 02:28:46 CDT