From 3bfc695826837192879f704d37051d5842fcb8de Mon Sep 17 00:00:00 2001 From: P Santos Date: Wed, 14 Apr 2004 15:47:21 +0000 Subject: [PATCH] no message git-svn-id: https://svn.coded.pt/svn/SIPRP@54 bb69d46d-e84e-40c8-a05a-06db0d633741 --- trunk/siprp/ficha/ExamePDF.java | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/trunk/siprp/ficha/ExamePDF.java b/trunk/siprp/ficha/ExamePDF.java index 61e724d7..88c53097 100644 --- a/trunk/siprp/ficha/ExamePDF.java +++ b/trunk/siprp/ficha/ExamePDF.java @@ -8,8 +8,10 @@ import com.lowagie.text.*; import com.lowagie.text.pdf.PdfWriter; public class ExamePDF { - private static final Font FONT_BOLD = new Font( Font.TIMES_ROMAN, 9, Font.BOLD, new Color( 0, 0, 0 ) ); - private static final Font FONT_NORMAL = new Font( Font.TIMES_ROMAN, 9, Font.NORMAL, new Color( 0, 0, 0 ) ); +// private static final Font FONT_BOLD = new Font( Font.TIMES_ROMAN, 9, Font.BOLD, new Color( 0, 0, 0 ) ); +// private static final Font FONT_NORMAL = new Font( Font.TIMES_ROMAN, 9, Font.NORMAL, new Color( 0, 0, 0 ) ); + private static final Font FONT_BOLD = FontFactory.getFont( "Arial", 9, Font.BOLD ); + private static final Font FONT_NORMAL = FontFactory.getFont( "Arial", 9, Font.NORMAL ); public ExamePDF() { @@ -119,9 +121,11 @@ public class ExamePDF { Paragraph conteudo = new Paragraph(); conteudo.add( new Chunk( "FICHA DE APTID\u00c3O\n", - new Font( Font.TIMES_ROMAN, 10, Font.BOLD, new Color( 0, 0, 0 ) ) ) ); +// new Font( Font.TIMES_ROMAN, 10, Font.BOLD, new Color( 0, 0, 0 ) ) ) ); + FontFactory.getFont( "Arial", 10, Font.BOLD ) ) ); conteudo.add( new Chunk( "(Portaria n\u00ba1031/2002, de 10 de Agosto)", - new Font( Font.TIMES_ROMAN, 7, Font.NORMAL, new Color( 0, 0, 0 ) ) ) ); +// new Font( Font.TIMES_ROMAN, 7, Font.NORMAL, new Color( 0, 0, 0 ) ) ) ); + FontFactory.getFont( "Arial", 7, Font.BOLD ) ) ); conteudo.setAlignment( Element.ALIGN_CENTER ); document.add( conteudo );