diff options
author | Thomas <> | 2021-12-17 18:30:15 +0100 |
---|---|---|
committer | Thomas <> | 2021-12-17 18:30:15 +0100 |
commit | e483939da7a6c1cc4bcf6f477dd0e7b972ab771f (patch) | |
tree | 941cff70e4c698b338490783f9237fc341fae300 /simpleSigning/src/main/java/at | |
parent | 45f1112cbde2c17b2dba8ec9adf50e304126e49c (diff) | |
download | einfach-signieren-e483939da7a6c1cc4bcf6f477dd0e7b972ab771f.tar.gz einfach-signieren-e483939da7a6c1cc4bcf6f477dd0e7b972ab771f.tar.bz2 einfach-signieren-e483939da7a6c1cc4bcf6f477dd0e7b972ab771f.zip |
change default font for generated pdf files
Diffstat (limited to 'simpleSigning/src/main/java/at')
-rw-r--r-- | simpleSigning/src/main/java/at/gv/egiz/simpleSigning/helper/PDFHelper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simpleSigning/src/main/java/at/gv/egiz/simpleSigning/helper/PDFHelper.java b/simpleSigning/src/main/java/at/gv/egiz/simpleSigning/helper/PDFHelper.java index 85d64e7..fb9a7ba 100644 --- a/simpleSigning/src/main/java/at/gv/egiz/simpleSigning/helper/PDFHelper.java +++ b/simpleSigning/src/main/java/at/gv/egiz/simpleSigning/helper/PDFHelper.java @@ -48,7 +48,7 @@ public class PDFHelper { document.addPage( page ); // Create a new font object selecting one of the PDF base fonts - PDFont font = PDType1Font.HELVETICA_BOLD; + PDFont font = PDType1Font.TIMES_BOLD; // Start a new content stream which will "hold" the to be created content PDPageContentStream contentStream = new PDPageContentStream(document, page); |