[cairo-commit] Changes to 'quartz-colored-glyphs'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Apr 24 19:02:02 UTC 2021


New branch 'quartz-colored-glyphs' available with the following commits:
commit 7ba6b835b87948916526c6fd948c045be8fc00f2
Author: Andrea Canciani <ranma42 at gmail.com>
Date:   Sat Mar 18 15:17:42 2017 +0100

    quartz-font: Fix extents computation for colored bitmaps

commit 9d98f892abadc03085be47d1e0887cef432132d0
Author: Andrea Canciani <ranma42 at gmail.com>
Date:   Sun Mar 19 19:21:30 2017 +0100

    quartz: Support rendering colored bitmap fonts
    
    In _cairo_quartz_cg_glyphs prefer to use CTFontDrawGlyphsPtr over
    CGContextShowGlyphsWithAdvances when available, since the former is
    also capable of rendering colored bitmap glyphs. Colored bitmap glyphs
    are for example found in the Apple Color Emoji font.
    
    Partially fixes colored-glyph.
    
    Based on a patch by: Kristian Rietveld <kris at loopnest.org>
    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=63771

commit e06b19a58690b5a166765bebfddc3cde02131232
Author: Andrea Canciani <ranma42 at gmail.com>
Date:   Sun Mar 19 19:30:34 2017 +0100

    quartz: Cleanup computation of glyph advances
    
    Just compute them from the glyph positions, without keeping track of
    the previous values.

commit 16a03f0178511db01a16f18970c825d3ee403af3
Author: Andrea Canciani <ranma42 at gmail.com>
Date:   Sun Mar 19 15:51:37 2017 +0100

    quartz: Avoid misaligned types when computing advances
    
    The CGSize type has a stricted alignment than CGGlyph. Although this
    has not been verified, this would have caused misaligned accesses,
    which could be a problem on ARM platforms.

commit e1db3ce50a5d9a7ef8275ca1bbeb1d098e96703d
Author: Andrea Canciani <ranma42 at gmail.com>
Date:   Sun Mar 19 19:28:18 2017 +0100

    quartz: Improve the explanation of text transforms management
    
    The text transforms must be handled wit care, to avoid triggering
    bugs, especially when the text is being used as a mask.
    
    The explanation of the issue was removed in
    9c0d761bfcdd28d52c83d74f46dd3c709ae0fa69.

commit a162b3d5c19f02badb53f0d048a50f95d8cf6589
Author: Andrea Canciani <ranma42 at gmail.com>
Date:   Sun Mar 19 12:32:23 2017 +0100

    quartz-font: Remove misleading debugging helper code

commit dd3b9848f6eefd79346616ebf57f83254c400c74
Author: Andrea Canciani <ranma42 at gmail.com>
Date:   Sun Mar 19 19:21:35 2017 +0100

    quartz-font: Expose the CTFont reference for internal usage
    
    The CTFont reference can be used by the Quartz surface to invoke
    drawing APIs.

commit 73ecb14928b1aea646801ef06dc125054b8d7fcc
Author: Andrea Canciani <ranma42 at gmail.com>
Date:   Sat Mar 18 11:43:41 2017 +0100

    quartz-font: Improve CTFont handling
    
    Instead of getting the CTFont for each glyph, reference it only once
    for the whole lifetime of the font face.

commit 254f444bbc7b4a3138b28050d96de36ac8b641c6
Author: Andrea Canciani <ranma42 at gmail.com>
Date:   Sun Mar 19 12:08:16 2017 +0100

    quartz-font: Make CoreText dynamic detection more robust
    
    Apparently Tiger (10.4) has received its own special version of
    CoreText and the dynamic linker might attempt to use it.
    Unfortunately it is incompatible with the CoreText API definition used
    in 10.5+.

commit 67876e6e125d34638eb68c4c0ac6af0311425b25
Author: Andrea Canciani <ranma42 at gmail.com>
Date:   Sat Mar 18 15:17:33 2017 +0100

    test: Add colored-glyph test
    
    Add a test to verify the correct rendering of colored glyphs.



More information about the cairo-commit mailing list