mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 10:15:41 +00:00
Bug 1359240 - Reftest for SVG-in-OT font using gzip-compressed SVG glyph documents. r=jrmuizel
Depends on D31107 Differential Revision: https://phabricator.services.mozilla.com/D31108 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
e82acf4503
commit
0ac415c764
@ -21,3 +21,4 @@ pref(gfx.font_rendering.opentype_svg.enabled,true) fuzzy-if(skiaContent,0-15,
|
||||
pref(gfx.font_rendering.opentype_svg.enabled,true) == svg-glyph-paint-server.svg svg-glyph-paint-server-ref.svg
|
||||
pref(gfx.font_rendering.opentype_svg.enabled,true) == svg-glyph-transform.svg svg-glyph-transform-ref.svg
|
||||
pref(gfx.font_rendering.opentype_svg.enabled,true) == svg-glyph-extents.html svg-glyph-extents-ref.html
|
||||
pref(gfx.font_rendering.opentype_svg.enabled,true) == svg-glyph-compressed.html svg-glyph-compressed-ref.html
|
||||
|
0
layout/reftests/text-svgglyphs/resources/svg-gz.ttf
Normal file
0
layout/reftests/text-svgglyphs/resources/svg-gz.ttf
Normal file
13
layout/reftests/text-svgglyphs/svg-glyph-compressed-ref.html
Normal file
13
layout/reftests/text-svgglyphs/svg-glyph-compressed-ref.html
Normal file
@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<title>Test for compressed SVG glyphs</title>
|
||||
<style>
|
||||
@font-face {
|
||||
font-family: test;
|
||||
src: url(resources/svg.woff); /* uses uncompressed SVG documents */
|
||||
}
|
||||
html { width: 400px; height: 400px; background-color: white; }
|
||||
body { margin: 0; }
|
||||
div { font: 200px test; color: fuchsia; line-height: 1; stroke: none; }
|
||||
</style>
|
||||
<div>abcdefg</div>
|
||||
<div>LMNOPQR</div>
|
13
layout/reftests/text-svgglyphs/svg-glyph-compressed.html
Normal file
13
layout/reftests/text-svgglyphs/svg-glyph-compressed.html
Normal file
@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<title>Test for compressed SVG glyphs</title>
|
||||
<style>
|
||||
@font-face {
|
||||
font-family: test;
|
||||
src: url(resources/svg-gz.ttf); /* copy of svg.woff using gzip-compressed SVG documents */
|
||||
}
|
||||
html { width: 400px; height: 400px; background-color: white; }
|
||||
body { margin: 0; }
|
||||
div { font: 200px test; color: fuchsia; line-height: 1; stroke: none; }
|
||||
</style>
|
||||
<div>abcdefg</div>
|
||||
<div>LMNOPQR</div>
|
Loading…
Reference in New Issue
Block a user