[cairo] Cairo, pango and Win32.. incorrect font rendering

Behdad Esfahbod behdad at behdad.org
Mon Jan 18 12:36:34 PST 2010


On 01/18/2010 03:28 PM, Peter Clifton wrote:
> 
> Is the pango_cairo_context_set_resolution affecting the choice of fonts
> being offered by the system?

The resolution set there is used to convert from font size in points to font
size in cairo user units.  A number in the tens of thousands doesn't make
sense to me.


> I still can't figure out why this odd behaviour (which similar might
> also have been noted on MacOS X) isn't manifesting for me under Wine, my
> XP box, nor anyone's Linux installs.
> 
> It is certainly mis-behaving on at least two people's machines - and I
> know at least one of those is also XP.

The bug probably only manifests itself if you use pangocairo with the win32
font backend, not freetype font backend.

behdad


> Best wishes,
> 
> Peter C.
> 
> 
> 
> 


More information about the cairo mailing list