aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/test/java/net/java/dev/typecast/ot/TTFontTest.java5
-rw-r--r--src/test/resources/Gilbert-Color Bold Preview5-license.pdfbin0 -> 291289 bytes
-rw-r--r--src/test/resources/Gilbert-Color Bold Preview5.otfbin0 -> 626352 bytes
3 files changed, 5 insertions, 0 deletions
diff --git a/src/test/java/net/java/dev/typecast/ot/TTFontTest.java b/src/test/java/net/java/dev/typecast/ot/TTFontTest.java
index 75aa6a0..f878690 100644
--- a/src/test/java/net/java/dev/typecast/ot/TTFontTest.java
+++ b/src/test/java/net/java/dev/typecast/ot/TTFontTest.java
@@ -63,6 +63,11 @@ public class TTFontTest extends TestCase {
dumpFont("NotoColorEmoji.txt", font);
}
+ public void testLoadColorFont2() throws URISyntaxException, IOException {
+ TTFont font = loadFontResource("Gilbert-Color Bold Preview5.otf");
+ dumpFont("Gilbert-Color Bold Preview5.txt", font);
+ }
+
private void dumpFont(String name, TTFont font)
throws IOException, FileNotFoundException {
new File("target/tmp").mkdirs();
diff --git a/src/test/resources/Gilbert-Color Bold Preview5-license.pdf b/src/test/resources/Gilbert-Color Bold Preview5-license.pdf
new file mode 100644
index 0000000..c2a7f00
--- /dev/null
+++ b/src/test/resources/Gilbert-Color Bold Preview5-license.pdf
Binary files differ
diff --git a/src/test/resources/Gilbert-Color Bold Preview5.otf b/src/test/resources/Gilbert-Color Bold Preview5.otf
new file mode 100644
index 0000000..f21f9a1
--- /dev/null
+++ b/src/test/resources/Gilbert-Color Bold Preview5.otf
Binary files differ