[cairo] xlib backend mis-draws fonts with partial bitmap strike

Keith Packard keithp at keithp.com
Tue Oct 30 10:46:37 PDT 2007


On Tue, 2007-10-30 at 12:54 -0400, Behdad Esfahbod wrote:

> Heh, so this finally came up.  I'm fine with the second option.  It's
> the right fix and not as hard as it sounds first.  We don't need to use
> different glyph spaces even.  And the per-glyph glyphset can be stored
> in scaled_glyph->surface_private that we don't really use currently.

I'm actually thinking the pure-A1 option is better at this point --
othewise you'd mix AA and non-AA text in the same line, which can be
disturbing.

Figuring out whether you've got a size that aligns with a bitmap strike
is easy enough, then it's a simple matter of setting the font format to
A1.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.cairographics.org/archives/cairo/attachments/20071030/9c9e91f0/attachment.pgp 


More information about the cairo mailing list