]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
adds support for type 1 fonts by Jeremias Maerki <jeremias.maerki@outline.ch>
authorfotis <fotis@unknown>
Thu, 2 Nov 2000 13:02:45 +0000 (13:02 +0000)
committerfotis <fotis@unknown>
Thu, 2 Nov 2000 13:02:45 +0000 (13:02 +0000)
based on work by Alain Fagot (comments out font entries)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193741 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/render/pdf/FontSetup.java

index 368a67af8c603607b3a082bbc4d57139d621203c..c2209a921eedb91b1646c291425f4ed902b08b50 100644 (file)
@@ -95,7 +95,8 @@ public class FontSetup {
     fontInfo.addMetrics("F12", new CourierBoldOblique());
     fontInfo.addMetrics("F13", new Symbol());
     fontInfo.addMetrics("F14", new ZapfDingbats());
-    fontInfo.addMetrics("F15", new URWPalladioLRoma());
+
+    //Custom type 1 fonts step 1/2
 //    fontInfo.addMetrics("F15", new OMEP());
 //    fontInfo.addMetrics("F16", new GaramondLightCondensed());
 //    fontInfo.addMetrics("F17", new BauerBodoniBoldItalic());
@@ -176,8 +177,7 @@ public class FontSetup {
     fontInfo.addFontProperties("F14", "ZapfDingbats", "normal",
                    "normal");
 
-    fontInfo.addFontProperties("F15", "URWPalladioLRoma", "normal", "normal");
-    //Custom type 1 fonts
+    //Custom type 1 fonts step 2/2
 //    fontInfo.addFontProperties("F15", "OMEP", "normal", "normal");
 //    fontInfo.addFontProperties("F16", "Garamond-LightCondensed", "normal", "normal");
 //    fontInfo.addFontProperties("F17", "BauerBodoni", "italic", "bold");