[cairo-bugs] [Bug 84324] cairo quartz font broken in iOS 8 / CGFontGetGlyphPath deprecated in MacOS 10.10 yosemite

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 17 10:36:57 PDT 2015


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

Andrea Canciani <ranma42 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #15 from Andrea Canciani <ranma42 at gmail.com> ---
(In reply to ~suv from comment #13)
> This commit breaks canvas text (SPCanvasText) in Inkscape (used e.g. to
> display snap indicators and measurements (new measure tool) on-canvas) if
> compiled with the Quartz backend. The messages display as expected if
> running the same Inkscape builds with a recompiled cairo 1.14.2 which has
> this commit reverted. Is there anything that cairo clients need to watch out
> for to adapt to this commit?

No, I'm afraid I'm at fault here; I investigated it a bit and it looks like the
issue comes from missing handling of the font size. I created the patch I just
attached, which in my env it seems to work and fix Inkscape.
Can you confirm if it fixes the issue in your env (when applied on top of
1.14.2)?

Sorry for the breakage :(

> 
> Build env:
> Mac OS X 10.7.5, dependencies installed via MacPorts (local port tree),
> tested with Inkscape 0.48.5, 0.91 and recent trunk (r14007).
> 
> I can't offer a reduced test case (code), but do have two osx application
> bundles of Inkscape available - the older one includes cairo 1.14.0, the
> newer one 1.14.2 - if this would be of any help [1].
> 
> Please let me know if you prefer to have a separate report filed for this
> regression. I'd also be glad for any info I could forward to inkscape devs
> if canvas text needs to be changed when compiled with GTK+/Quartz [2].
> 
> -- 
> [1] download links for bundled apps:
> with cairo 1.14.0: https://inkscape.org/en/gallery/6542/
> with cairo 1.14.2: https://inkscape.org/en/gallery/6796/
> 
> Steps to reproduce:
> 1) draw a rectangle
> 2) switch to the measure tool, and measure (click+drag) across the rectangle
> 
> [2] AFAICT relevant source in inkscape (trunk):
> https://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/src/
> display/drawing-text.cpp

-- 
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/20150317/7540544f/attachment.html>


More information about the cairo-bugs mailing list