diff --git a/test/browser_tests.py b/test/browser_tests.py index e7102c9..08931c5 100644 --- a/test/browser_tests.py +++ b/test/browser_tests.py @@ -102,3 +102,6 @@ class BrowserTests(Common): def test_svg_background_with_page_rotation_issue402(self): self.run_test_case('svg_background_with_page_rotation_issue402.pdf', ['--bg-format', 'svg']) + + def test_fontfile3_opentype(self): + self.run_test_case('fontfile3_opentype.pdf', ['-l', 1]) diff --git a/test/browser_tests/fontfile3_opentype.pdf b/test/browser_tests/fontfile3_opentype.pdf new file mode 100644 index 0000000..8e66228 Binary files /dev/null and b/test/browser_tests/fontfile3_opentype.pdf differ diff --git a/test/browser_tests/fontfile3_opentype/bg1.png b/test/browser_tests/fontfile3_opentype/bg1.png new file mode 100644 index 0000000..7649240 Binary files /dev/null and b/test/browser_tests/fontfile3_opentype/bg1.png differ diff --git a/test/browser_tests/fontfile3_opentype/f1.woff b/test/browser_tests/fontfile3_opentype/f1.woff new file mode 100644 index 0000000..4f98c86 Binary files /dev/null and b/test/browser_tests/fontfile3_opentype/f1.woff differ diff --git a/test/browser_tests/fontfile3_opentype/f2.woff b/test/browser_tests/fontfile3_opentype/f2.woff new file mode 100644 index 0000000..b1a8ba2 Binary files /dev/null and b/test/browser_tests/fontfile3_opentype/f2.woff differ diff --git a/test/browser_tests/fontfile3_opentype/f3.woff b/test/browser_tests/fontfile3_opentype/f3.woff new file mode 100644 index 0000000..b9eda88 Binary files /dev/null and b/test/browser_tests/fontfile3_opentype/f3.woff differ diff --git a/test/browser_tests/fontfile3_opentype/fontfile3_opentype.html b/test/browser_tests/fontfile3_opentype/fontfile3_opentype.html new file mode 100644 index 0000000..fda94e2 --- /dev/null +++ b/test/browser_tests/fontfile3_opentype/fontfile3_opentype.html @@ -0,0 +1,156 @@ + + + + + + + + + + + + + +
+
PDFClown
Generated by PDF Clown on Sat Mar 05 20:06:01 CET 2011
For more info, visit http://www.pdfclown.org
Welcome
This is a sample document
that merely demonstrates
some basic graphics
features supported by
PDF Clown.
Enjoy!
PS: As promised, since version 0.0.3 PDF Clown has supported embedded latin
OpenFont/TrueType and non-embedded Type 1 fonts along with paragraph construction facilities
through the BlockComposer class.
Since version 0.0.4 the content stream stack has been completed, providing fully object-oriented
access to the graphics objects that describe the contents on a page. It's a great step towards
a whole bunch of possibilities, such as text extraction/replacement, that next releases will
progressively exploit.
Since version 0.0.6 it has supported Unicode for OpenFont/TrueType fonts.
This page was crafted with the nice
LazyDog font
(by Paul Neave, www.neave.com)
Source: http://www.wikipedia.org/
+
+ +