Changeset 181167 in webkit


Ignore:
Timestamp:
Mar 6, 2015 10:21:36 AM (9 years ago)
Author:
mmaxfield@apple.com
Message:

Test horiz-origin-x and horiz-origin-y in SVG fonts
https://bugs.webkit.org/show_bug.cgi?id=142403

Source/WebCore:

Reviewed by Simon Fraser.

Remove incorrect comment.

Test: svg/fonts/svg-font-horiz-origin.html

  • svg/SVGToOTFFontConversion.cpp:

(WebCore::CFFBuilder::CFFBuilder):

LayoutTests:

Simply moving to the origin in glyph-space at the beginning
of path parsing won't work if subsequent coordinates are absolute.

Reviewed by Simon Fraser.

  • svg/fonts/resources/svg-font-horiz-origin-font.svg: Added.
  • svg/fonts/svg-font-horiz-origin-expected.html: Added.
  • svg/fonts/svg-font-horiz-origin.html: Added.
Location:
trunk
Files:
5 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r181165 r181167  
     12015-03-06  Myles C. Maxfield  <mmaxfield@apple.com>
     2
     3        Test horiz-origin-x and horiz-origin-y in SVG fonts
     4        https://bugs.webkit.org/show_bug.cgi?id=142403
     5
     6        Simply moving to the origin in glyph-space at the beginning
     7        of path parsing won't work if subsequent coordinates are absolute.
     8
     9        Reviewed by Simon Fraser.
     10
     11        * svg/fonts/resources/svg-font-horiz-origin-font.svg: Added.
     12        * svg/fonts/svg-font-horiz-origin-expected.html: Added.
     13        * svg/fonts/svg-font-horiz-origin.html: Added.
     14
    1152015-03-06  Said Abou-Hallawa  <sabouhallawa@apple.com>
    216
  • trunk/Source/WebCore/ChangeLog

    r181166 r181167  
     12015-03-06  Myles C. Maxfield  <mmaxfield@apple.com>
     2
     3        Test horiz-origin-x and horiz-origin-y in SVG fonts
     4        https://bugs.webkit.org/show_bug.cgi?id=142403
     5
     6        Reviewed by Simon Fraser.
     7
     8        Remove incorrect comment.
     9
     10        Test: svg/fonts/svg-font-horiz-origin.html
     11
     12        * svg/SVGToOTFFontConversion.cpp:
     13        (WebCore::CFFBuilder::CFFBuilder):
     14
    1152015-03-06  Simon Fraser  <simon.fraser@apple.com>
    216
  • trunk/Source/WebCore/svg/SVGToOTFFontConversion.cpp

    r181155 r181167  
    10521052        , m_hasBoundingBox(false)
    10531053    {
    1054         // FIXME: Moving to the origin isn't going to work for subsequent absolute coordinates
    10551054        writeCFFEncodedNumber(m_cffData, width);
    10561055        writeCFFEncodedNumber(m_cffData, origin.x());
Note: See TracChangeset for help on using the changeset viewer.