Thanks Paulo,

but why is it possible to use Helvecita in Rtf???

I just changed the following in RtfWriter.java (method writeFontList()):

case Font.HEVETICA:
    os.write(fontSwiss);
    os.write(escape);
    os.write(fontCharset);
    os.write(os, 0);
    os.write(delimiter);
    //os.write(fontArial);
    os.write(fnt.getFamilyname().getBytes());

This works fine for rtf. Is something like that also possible in pdf?

best regards,

Marcus
Germany


----- Original Message ----- 
From: "Paulo Soares" <[EMAIL PROTECTED]>
To: "Post all your questions about iText here" 
<[email protected]>
Sent: Tuesday, December 11, 2007 3:35 PM
Subject: Re: [iText-questions] Helvetica in PDF becomes Arial


Buy the font and embedd it.

Paulo

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of [EMAIL PROTECTED]
> Sent: Tuesday, December 11, 2007 2:28 PM
> To: [email protected]
> Subject: [iText-questions] Helvetica in PDF becomes Arial
>
> Hello,
>
> when I generate a pdf with text in Helvetica, it is not
> Helvetica but Arial.
> What is the solution? I really need Helvetica ...
>
> Thanks a lot
>
> best regards
> Marcus
> Germany


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.





--------------------------------------------------------------------------------


> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php


--------------------------------------------------------------------------------


> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/
> 


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to