Bug 4409 - Dashes are missing initial caps
Summary: Dashes are missing initial caps
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.0.1
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-09 17:09 UTC by Carl Worth
Modified: 2005-09-26 19:53 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Carl Worth 2005-09-09 17:09:14 UTC
When dashing, each dash is receiving a trailing cap, but no initial cap as it
should.
Comment 1 Carl Worth 2005-09-27 12:53:22 UTC
2005-09-27  Carl Worth  <cworth@cworth.org>

        * ROADMAP: Note that bug #4409 (Dashes are missing initial caps)
        is now fixed.

        * src/cairo-path-stroke.c: (_cairo_stroker_add_cap),
        (_cairo_stroker_add_leading_cap),
        (_cairo_stroker_add_trailing_cap),
        (_cairo_stroker_add_caps): Move face-flipping from inside
        _cairo_stroker_add_caps to new _cairo_stroker_add_leading_cap
        variant of _cairo_stoker_add_cap.

        * src/cairo-path-stroke.c: (_cairo_stroker_line_to_dashed): Change
        to call _cairo_stroker_add_leading_cap or
        _cairo_stroker_add_trailing_cap as appropriate.

        * test/Makefile.am (XFAIL_TESTS):
        * test/dash-caps-joins-ref.png:
        * test/dash-caps-joins.c: (main): Remove dash-caps-joins from the
        XFAIL list and add reference image.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.