Skip to content

Commit

Permalink
update all expected .ttx files containing SVG table to match current …
Browse files Browse the repository at this point in the history
…fonttools

... which no longer adds that ugly empty line at the beginning of the SVG table
  • Loading branch information
anthrotype committed Nov 8, 2021
1 parent 5ff8cfa commit 74007d3
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion tests/clocks_picosvg.ttx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
</glyf>

<SVG>

<svgDoc endGlyphID="3" startGlyphID="2">
<![CDATA[<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<defs>
Expand Down
1 change: 0 additions & 1 deletion tests/clocks_rects_picosvg.ttx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
</glyf>

<SVG>

<svgDoc endGlyphID="3" startGlyphID="2">
<![CDATA[<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<defs>
Expand Down
1 change: 0 additions & 1 deletion tests/clocks_rects_untouchedsvg.ttx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
</glyf>

<SVG>

<svgDoc endGlyphID="2" startGlyphID="2">
<![CDATA[<svg xmlns="http://www.w3.org/2000/svg"><g id="glyph2" transform="matrix(0.781 0 0 0.781 0 -100)"><linearGradient id="a" x1="64" x2="64" y1="19.751" y2="111.99" gradientUnits="userSpaceOnUse"><stop stop-color="#ECEFF1" offset=".3212"/><stop stop-color="#B0BEC5" offset="1"/></linearGradient><circle cx="64" cy="64" r="60" fill="url(#a)"/><path d="m63.8 63.98h0.4c2.1 0 3.8-1.7 3.8-3.8v-32.4c0-2.1-1.7-3.8-3.8-3.8h-0.4c-2.1 0-3.8 1.7-3.8 3.8v32.4c0 2.1 1.7 3.8 3.8 3.8z" fill="blue"/><path d="m63.7 63.88 0.34 0.21c1.79 1.1 4.13 0.55 5.23-1.24l11.34-18.37c1.1-1.79 0.55-4.13-1.24-5.23l-0.34-0.21c-1.79-1.1-4.13-0.55-5.23 1.24l-11.33 18.37c-1.1 1.79-0.55 4.13 1.23 5.23z" fill="green"/><circle cx="64" cy="64" r="7" fill="#424242"/><circle cx="64" cy="64" r="3" fill="#fff"/><g fill="#757575"><circle cx="15.89" cy="64.13" r="4"/><circle cx="63.89" cy="16.13" r="4"/><circle cx="63.89" cy="112.13" r="4"/><circle cx="111.89" cy="64.13" r="4"/></g><g opacity=".2"><path d="M64,8c30.88,0,56,25.12,56,56s-25.12,56-56,56S8,94.88,8,64S33.12,8,64,8 M64,4 C30.86,4,4,30.86,4,64s26.86,60,60,60s60-26.86,60-60S97.14,4,64,4L64,4z" fill="#424242"/></g></g></svg>]]>
</svgDoc>
Expand Down
1 change: 0 additions & 1 deletion tests/group_opacity_picosvg.ttx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
</glyf>

<SVG>

<svgDoc endGlyphID="2" startGlyphID="2">
<![CDATA[<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<g id="glyph2" transform="matrix(0.781 0 0 0.781 0 -100)">
Expand Down
1 change: 0 additions & 1 deletion tests/group_opacity_reuse_picosvg.ttx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
</glyf>

<SVG>

<svgDoc endGlyphID="2" startGlyphID="2">
<![CDATA[<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<g id="glyph2" transform="matrix(0.781 0 0 0.781 0 -100)">
Expand Down
1 change: 0 additions & 1 deletion tests/involutory_matrix_picosvg.ttx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
</glyf>

<SVG>

<svgDoc endGlyphID="2" startGlyphID="2">
<![CDATA[<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<defs>
Expand Down
1 change: 0 additions & 1 deletion tests/parentless_reused_el.ttx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
</GlyphOrder>

<SVG>

<svgDoc endGlyphID="6" startGlyphID="4">
<![CDATA[<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<defs>
Expand Down
1 change: 0 additions & 1 deletion tests/rect_glyf_colr_1_and_picosvgz.ttx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@
</CPAL>

<SVG>

<svgDoc endGlyphID="3" startGlyphID="3">
<![CDATA[<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<defs>
Expand Down
1 change: 0 additions & 1 deletion tests/rect_picosvg.ttx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
</glyf>

<SVG>

<svgDoc endGlyphID="2" startGlyphID="2">
<![CDATA[<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<defs>
Expand Down
1 change: 0 additions & 1 deletion tests/rect_untouchedsvg.ttx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
</glyf>

<SVG>

<svgDoc endGlyphID="2" startGlyphID="2">
<![CDATA[<svg xmlns="http://www.w3.org/2000/svg"><g id="glyph2" transform="matrix(10 0 0 10 0 -100)"><rect x="2" y="2" width="6" height="2" fill="blue"/><rect x="4" y="4" width="6" height="2" fill="blue" opacity="0.8"/></g></svg>]]>
</svgDoc>
Expand Down
1 change: 0 additions & 1 deletion tests/reuse_shape_varying_fill.ttx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
</glyf>

<SVG>

<svgDoc endGlyphID="2" startGlyphID="2">
<![CDATA[<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<defs>
Expand Down
1 change: 0 additions & 1 deletion tests/reused_shape_2_picosvg.ttx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
</glyf>

<SVG>

<svgDoc endGlyphID="2" startGlyphID="2">
<![CDATA[<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<defs>
Expand Down

0 comments on commit 74007d3

Please sign in to comment.