[cairo-bugs] [Bug 63771] Support rendering colored bitmap fonts in Quartz backend

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 22 01:38:46 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=63771

--- Comment #3 from Andrea Canciani <ranma42 at gmail.com> ---
Comment on attachment 78291
  --> https://bugs.freedesktop.org/attachment.cgi?id=78291
Use CTFontDrawGlyphsPtr() when available, so that colored bitmap glyphs are
rendered correctly. Based on original patch authored by Jonathan Kew.

Review of attachment 78291:
-----------------------------------------------------------------

The patch does not regress the results of the testsuite (tested on MacOS X
10.7).

::: src/cairo-quartz-private.h
@@ +100,5 @@
>  cairo_private CGFontRef
>  _cairo_quartz_scaled_font_get_cg_font_ref (cairo_scaled_font_t *sfont);
>  
> +CTFontRef
> +_cairo_quartz_scaled_font_get_ct_font_ref (cairo_scaled_font_t *sfont);

This function should probably be declared cairo_private.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20130422/2498a463/attachment.html>


More information about the cairo-bugs mailing list