Eeek! My fonts have the shrinks!

Strangely, starting from Pango 1.2.4, Pango seems to render fonts in Dia
very, very small.  The default size (~11000 Pango units) is a single pixel.
Setting a big font and zooming in, I get to 27 pixels high when using
1146879 Pango units for the font height.  I'm using
pango_ft2_render_layout() for rendering, but I doubt that's to blame, since
pango_layout_get_pixel_size() agrees with the size given above.  The
size is set with pango_font_description_set_size().  I'm mighty confused
and unhappy to have this turn up just before releasing a new version.  Any
clues or pointers would be appreciated.


Lars Clausen (| HÃ¥rdgrim of Numenor
"I do not agree with a word that you say, but I   |----------------------------
will defend to the death your right to say it."   | Where are we going, and
    --Evelyn Beatrice Hall paraphrasing Voltaire  | what's with the handbasket?

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