mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-24 09:27:31 +09:00
Issue #1101 - Support gzip-compressed SVGs in OpenType+SVG fonts
This commit is contained in:
parent
28fbea676a
commit
838eb9a504
5 changed files with 69 additions and 0 deletions
15
layout/reftests/text-svgglyphs/svg-glyph-compressed-ref.html
Normal file
15
layout/reftests/text-svgglyphs/svg-glyph-compressed-ref.html
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8"><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>
|
||||
</head><body><div>abcdefg</div>
|
||||
<div>LMNOPQR</div>
|
||||
</body></html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue