diff options
author | Andreas L. Delmelle <adelmelle@apache.org> | 2006-02-12 21:07:19 +0000 |
---|---|---|
committer | Andreas L. Delmelle <adelmelle@apache.org> | 2006-02-12 21:07:19 +0000 |
commit | 045fc2577c841e6cc1bdd3e60031c9bcba38ff0e (patch) | |
tree | 0ece2d24cb27ecff0f5e6238f337470d45d11d34 /test/fotree/testcases | |
parent | 26acc4f9a2f86cb0c634add792b122ec547168e9 (diff) | |
download | xmlgraphics-fop-045fc2577c841e6cc1bdd3e60031c9bcba38ff0e.tar.gz xmlgraphics-fop-045fc2577c841e6cc1bdd3e60031c9bcba38ff0e.zip |
Slight correction: single quoted font-family names not properly handled
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377242 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/fotree/testcases')
-rw-r--r-- | test/fotree/testcases/font-shorthand-test.fo | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/fotree/testcases/font-shorthand-test.fo b/test/fotree/testcases/font-shorthand-test.fo index 345161cf8..e940e08d7 100644 --- a/test/fotree/testcases/font-shorthand-test.fo +++ b/test/fotree/testcases/font-shorthand-test.fo @@ -23,10 +23,10 @@ </fo:layout-master-set>
<fo:page-sequence master-reference="simpleA4">
<fo:flow flow-name="xsl-region-body">
- <fo:block font="10pt sans-serif">
- <test:assert property="font-family" expected="[sans-serif]"/>
+ <fo:block font="bold 10pt 'Times New Roman'">
+ <test:assert property="font-family" expected="[Times New Roman]"/>
<test:assert property="font-size" expected="10000mpt"/>
- <test:assert property="font-weight" expected="400" />
+ <test:assert property="font-weight" expected="700" />
<test:assert property="font-style" expected="NORMAL" />
<test:assert property="line-height.optimum" expected="120.0%" />
<test:assert property="font-variant" expected="NORMAL" />
|