提交 cf94cb9b 编写于 作者: N Nigel Tao

freetype/truetype: update the golden tests for Ubuntu 14.04's version

of standard fonts like Deja Vu Sans Oblique.

LGTM=bsiegert
R=bsiegert
CC=golang-codereviews
https://codereview.appspot.com/164660043
上级 c3ec3302
...@@ -104,6 +104,10 @@ func TestIndex(t *testing.T) { ...@@ -104,6 +104,10 @@ func TestIndex(t *testing.T) {
'\u22c5': 385, '\u22c5': 385,
'中': 0, '中': 0,
}, },
// The x-etc test cases use those versions of the .ttf files provided
// by Ubuntu 14.04. See testdata/make-other-hinting-txts.sh for details.
"x-arial-bold": { "x-arial-bold": {
' ': 3, ' ': 3,
'+': 14, '+': 14,
...@@ -126,10 +130,10 @@ func TestIndex(t *testing.T) { ...@@ -126,10 +130,10 @@ func TestIndex(t *testing.T) {
'Œ': 276, 'Œ': 276,
'ω': 861, 'ω': 861,
'‡': 2571, '‡': 2571,
'⊕': 3109, '⊕': 3110,
'fl': 4560, 'fl': 4728,
'\ufb03': 4561, '\ufb03': 4729,
'\ufffd': 4645, '\ufffd': 4813,
// TODO: '\U0001f640': ???, // TODO: '\U0001f640': ???,
'中': 0, '中': 0,
}, },
......
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<ttFont sfntVersion="\x00\x01\x00\x00" ttLibVersion="2.1"> <ttFont sfntVersion="\x00\x01\x00\x00" ttLibVersion="2.4">
<GlyphOrder> <GlyphOrder>
<!-- The 'id' attribute is only for humans; it is ignored when parsed. --> <!-- The 'id' attribute is only for humans; it is ignored when parsed. -->
......
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<ttFont sfntVersion="\x00\x01\x00\x00" ttLibVersion="2.1"> <ttFont sfntVersion="\x00\x01\x00\x00" ttLibVersion="2.4">
<GlyphOrder> <GlyphOrder>
<!-- The 'id' attribute is only for humans; it is ignored when parsed. --> <!-- The 'id' attribute is only for humans; it is ignored when parsed. -->
......
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<ttFont sfntVersion="\x00\x01\x00\x00" ttLibVersion="2.1"> <ttFont sfntVersion="\x00\x01\x00\x00" ttLibVersion="2.4">
<GlyphOrder> <GlyphOrder>
<!-- The 'id' attribute is only for humans; it is ignored when parsed. --> <!-- The 'id' attribute is only for humans; it is ignored when parsed. -->
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
# #
# Run it from this directory (testdata). # Run it from this directory (testdata).
# #
# It has only been tested on an Ubuntu 12.04 system. # It has only been tested on an Ubuntu 14.04 system.
set -e set -e
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册