/[Apache-SVN]
ViewVC logotype

Revision 629093


Jump to revision: Previous Next
Author: jeremias
Date: Tue Feb 19 13:08:39 2008 UTC (16 years, 4 months ago)
Changed paths: 7
Log Message:
Bugzilla #44451:
The patch fixes two problems:
- If distinct fonts declare the same font family name, the resulting font mapping is currently arbitrary; now, a name-similarity heuristic is used to prioritize the font mappings.
- "Medium" and "demi" fonts are now recognized as "bold", solving several real-world problems (although this solution may be an oversimplification).
Submitted by: Justus Piater <justus-bulk.at.piater.name>

Patch modified by jeremias:
- Style fixes (tab chars)
- Refined font weight identification: medium -> 500, semi/demi -> 600

Changed paths

Path Details
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontInfo.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontResolver.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontTriplet.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontUtil.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/autodetect/FontInfoFinder.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/render/PrintRenderer.java modified , text changed
Directoryxmlgraphics/fop/trunk/status.xml modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26