From 250a5e5363af3462693c80227e0666d0b5b75a8f Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Thu, 22 Dec 2005 20:10:54 +0000 Subject: As announced, I brought FontTriplet to more life by making it Serializable and using it to transport the information about the font in use through the area tree. This has small effects on the test cases as the values in the generated XML are slightly different. While refactoring I saw that there's some room for optimization. Too many objects are still created. It should be quite easy now with the FontTriplet to create a small cache. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358613 13f79535-47bb-0310-9956-ffa450edef68 --- test/layoutengine/standard-testcases/block_font-family.xml | 14 +++++++------- test/layoutengine/standard-testcases/block_font-style.xml | 14 ++++++++++---- 2 files changed, 17 insertions(+), 11 deletions(-) (limited to 'test') diff --git a/test/layoutengine/standard-testcases/block_font-family.xml b/test/layoutengine/standard-testcases/block_font-family.xml index 9729b7d42..9cb9eee23 100644 --- a/test/layoutengine/standard-testcases/block_font-family.xml +++ b/test/layoutengine/standard-testcases/block_font-family.xml @@ -44,14 +44,14 @@ - - - - - - + + + + + + - + diff --git a/test/layoutengine/standard-testcases/block_font-style.xml b/test/layoutengine/standard-testcases/block_font-style.xml index 326664717..20eebf5c1 100644 --- a/test/layoutengine/standard-testcases/block_font-style.xml +++ b/test/layoutengine/standard-testcases/block_font-style.xml @@ -42,7 +42,7 @@ font-family="sans-serif" font-style="italic" font-family="sans-serif" font-style="oblique" font-family="sans-serif" font-style="backslant" - font-family="serif" font-style="obscure" + font-family="sans-serif" font-style="obscure" font-family="monospace" font-style not given font-family="monospace" font-style="normal" @@ -58,22 +58,28 @@ - + + + - + + + - + + + -- cgit v1.2.3