From 41ebb55d75a949f7d4e466e3876c8ae3db964cd4 Mon Sep 17 00:00:00 2001
From: Vivien Nicolas <21@vingtetun.org>
Date: Thu, 22 Sep 2011 01:22:34 +0200
Subject: [PATCH] Fix tests failures
---
fonts.js | 4 ++--
test/test_slave.html | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/fonts.js b/fonts.js
index 7cd27f8b0..60ad67a52 100644
--- a/fonts.js
+++ b/fonts.js
@@ -2571,9 +2571,9 @@ var Type2CFF = (function() {
if (pos == 0) {
return ISOAdobeCharset;
} else if (pos == 1) {
- return CFFExpertCharset;
+ return ExpertCharset;
} else if (pos == 2) {
- return CFFExpertSubsetCharset;
+ return ExpertSubsetCharset;
}
var bytes = this.bytes;
diff --git a/test/test_slave.html b/test/test_slave.html
index 91b8a6850..b46e29d6b 100644
--- a/test/test_slave.html
+++ b/test/test_slave.html
@@ -7,6 +7,7 @@
+