[cairo] [PATCH] Fix Type 1 fonts on win32

Kristian Høgsberg krh at bitplanet.net
Thu Aug 17 18:48:01 PDT 2006


On 8/15/06, Adrian Johnson <ajohnson at redneon.com> wrote:
> Type 1 fonts using the win32 font backend are broken due to the use of
> the GLYPH_INDEX option
> on ExtTextOut() and GetGlyphOutline(). This option is only applicable to
> TrueType and OpenType fonts.
>
> This patch ensures the GLYPH_INDEX option is only used with TrueType and
> OpenType fonts.
> It also removes the warning if GetFontData() fails in
> _cairo_win32_scaled_font_load_truetype_table()
> as this is normal for non TrueType/OpenType fonts.

Thanks, committed.
Kristian


More information about the cairo mailing list