If you register all the fonts in font mapper it should work.
Paulo
> -----Original Message-----
> From: MilanSaDlakavaMuda [mailto:[email protected]]
> Sent: Monday, April 20, 2009 12:57 PM
> To: [email protected]
> Subject: [iText-questions] CreateItext Font from Jlabel.getFont()?
>
>
> Hi,
>
> i'm exporting some data from a matrix of JLabels. It is
> mandatory that the
> exported font is the same as the one in the app.
>
> I need to get the same font(family, type, size etc..) as i get from
> JLabel.getFont() to export to PDF.
>
> The Paragraph(String, Font) does only accepts itext.font.
>
> What is the fastest and most reliable way to do this?
>
> Thanks in advance,
>
> Milan
Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
informação confidencial ou legalmente protegida. A incorrecta transmissão desta
mensagem não significa a perca de confidencialidade. Se esta mensagem for
recebida por engano, por favor envie-a de volta para o remetente e apague-a do
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de
usar, revelar ou distribuir qualquer parte desta mensagem.
Disclaimer:
This message is destined exclusively to the intended receiver. It may contain
confidential or legally protected information. The incorrect transmission of
this message does not mean the loss of its confidentiality. If this message is
received by mistake, please send it back to the sender and delete it from your
system immediately. It is forbidden to any person who is not the intended
receiver to use, distribute or copy any part of this message.
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php