xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerem...@apache.org
Subject svn commit: r591579 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontSetup.java
Date Sat, 03 Nov 2007 10:47:22 GMT
Author: jeremias
Date: Sat Nov  3 03:47:22 2007
New Revision: 591579

URL: http://svn.apache.org/viewvc?rev=591579&view=rev
Log:
Mapping "SansSerif" and "Monospaced" (widely used in SVG land) to our Base 14 fonts.

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontSetup.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontSetup.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontSetup.java?rev=591579&r1=591578&r2=591579&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontSetup.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontSetup.java Sat Nov  3 03:47:22
2007
@@ -121,6 +121,12 @@
         fontInfo.addFontProperties("F3", "sans-serif", "normal", Font.WEIGHT_BOLD);
         fontInfo.addFontProperties("F4", "sans-serif", "oblique", Font.WEIGHT_BOLD);
         fontInfo.addFontProperties("F4", "sans-serif", "italic", Font.WEIGHT_BOLD);
+        fontInfo.addFontProperties("F1", "SansSerif", "normal", Font.WEIGHT_NORMAL);
+        fontInfo.addFontProperties("F2", "SansSerif", "oblique", Font.WEIGHT_NORMAL);
+        fontInfo.addFontProperties("F2", "SansSerif", "italic", Font.WEIGHT_NORMAL);
+        fontInfo.addFontProperties("F3", "SansSerif", "normal", Font.WEIGHT_BOLD);
+        fontInfo.addFontProperties("F4", "SansSerif", "oblique", Font.WEIGHT_BOLD);
+        fontInfo.addFontProperties("F4", "SansSerif", "italic", Font.WEIGHT_BOLD);
         fontInfo.addFontProperties("F5", "serif", "normal", Font.WEIGHT_NORMAL);
         fontInfo.addFontProperties("F6", "serif", "oblique", Font.WEIGHT_NORMAL);
         fontInfo.addFontProperties("F6", "serif", "italic", Font.WEIGHT_NORMAL);
@@ -133,6 +139,12 @@
         fontInfo.addFontProperties("F11", "monospace", "normal", Font.WEIGHT_BOLD);
         fontInfo.addFontProperties("F12", "monospace", "oblique", Font.WEIGHT_BOLD);
         fontInfo.addFontProperties("F12", "monospace", "italic", Font.WEIGHT_BOLD);
+        fontInfo.addFontProperties("F9", "Monospaced", "normal", Font.WEIGHT_NORMAL);
+        fontInfo.addFontProperties("F10", "Monospaced", "oblique", Font.WEIGHT_NORMAL);
+        fontInfo.addFontProperties("F10", "Monospaced", "italic", Font.WEIGHT_NORMAL);
+        fontInfo.addFontProperties("F11", "Monospaced", "normal", Font.WEIGHT_BOLD);
+        fontInfo.addFontProperties("F12", "Monospaced", "oblique", Font.WEIGHT_BOLD);
+        fontInfo.addFontProperties("F12", "Monospaced", "italic", Font.WEIGHT_BOLD);
 
         fontInfo.addFontProperties("F1", "Helvetica", "normal", Font.WEIGHT_NORMAL);
         fontInfo.addFontProperties("F2", "Helvetica", "oblique", Font.WEIGHT_NORMAL);



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org


Mime
View raw message