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
This commit is contained in:
Nigel Tao 2014-11-07 09:38:15 +11:00
parent c3ec330230
commit cf94cb9b43
5 changed files with 12 additions and 8 deletions

View File

@ -104,6 +104,10 @@ func TestIndex(t *testing.T) {
'\u22c5': 385,
'中': 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": {
' ': 3,
'+': 14,
@ -126,10 +130,10 @@ func TestIndex(t *testing.T) {
'Œ': 276,
'ω': 861,
'‡': 2571,
'⊕': 3109,
'fl': 4560,
'\ufb03': 4561,
'\ufffd': 4645,
'⊕': 3110,
'fl': 4728,
'\ufb03': 4729,
'\ufffd': 4813,
// TODO: '\U0001f640': ???,
'中': 0,
},

2
testdata/luximr.ttx vendored
View File

@ -1,5 +1,5 @@
<?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>
<!-- The 'id' attribute is only for humans; it is ignored when parsed. -->

2
testdata/luxirr.ttx vendored
View File

@ -1,5 +1,5 @@
<?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>
<!-- The 'id' attribute is only for humans; it is ignored when parsed. -->

2
testdata/luxisr.ttx vendored
View File

@ -1,5 +1,5 @@
<?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>
<!-- The 'id' attribute is only for humans; it is ignored when parsed. -->

View File

@ -5,7 +5,7 @@
#
# 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