[cairo-bugs] [Bug 88663] New: _cairo_pattern_get_extents : allow for a floating one pixel rounded difference

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 21 05:59:16 PST 2015


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

            Bug ID: 88663
           Summary: _cairo_pattern_get_extents : allow for a floating one
                    pixel rounded difference
           Product: cairo
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: chris at chris-wilson.co.uk
          Reporter: prahal at yahoo.com
        QA Contact: cairo-bugs at cairographics.org

Created attachment 112599
  --> https://bugs.freedesktop.org/attachment.cgi?id=112599&action=edit
allow for a floating one pixel rounded difference

For one small font (here type 3) the glyph data is discarded by cairo (ie
eveince printing or pdftocairo) : here 'i' and 'l'.

That is if the difference between the origin and the end is bigger than
.5 round up regardless of the coordinates.

Round the difference of the floats instead of rounding the floats then
diff them.

-- 
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/20150121/f2523d5a/attachment.html>


More information about the cairo-bugs mailing list