aboutsummaryrefslogtreecommitdiffstats
path: root/Main.java
diff options
context:
space:
mode:
Diffstat (limited to 'Main.java')
-rw-r--r--Main.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/Main.java b/Main.java
index 701119f..b69dcd3 100644
--- a/Main.java
+++ b/Main.java
@@ -31,12 +31,12 @@ public class Main {
// FontProgram courier_program = FontProgramFactory.createFont("CourierNewPSMT");
// FontProgram courier_program = FontProgramFactory
// .createFont("/System/Library/Fonts/Supplemental/Courier New.ttf");
- // FontProgram courier_program = FontProgramFactory
- // .createRegisteredFont("CourierNewPSMT");
+ FontProgram courier_program = FontProgramFactory
+ .createRegisteredFont("CourierNewPSMT");
// FontProgram courier_program = FontProgramFactory
// .createFont("Courier New.ttf");
- FontProgram courier_program = FontProgramFactory
- .createFont("/System/Library/Fonts/Supplemental/Copperplate.ttc", 0, false);
+ // FontProgram courier_program = FontProgramFactory
+ // .createFont("/System/Library/Fonts/Supplemental/Copperplate.ttc", 0, false);
PdfFont courier = PdfFontFactory
.createFont(courier_program, PdfEncodings.UTF8, PdfFontFactory.EmbeddingStrategy.FORCE_NOT_EMBEDDED);