By Date: <-- -->
By Thread: <-- -->

BaseFont getWidths()



You may solve it with Chunk.setHorizontalScaling() although it will also
shrink/expand the font and not only the spacing between characters. With
getWidths() you can't cache the font and you must embedd it and change
the font name.

Paulo 

> -----Original Message-----
> From: itext-questions-admin (at) lists.sourceforge.net 
> [mailto:itext-questions-admin (at) lists.sourceforge.net] On 
> Behalf Of Thorben
> Sent: Friday, May 19, 2006 7:37 AM
> To: itext-questions (at) lists.sourceforge.net
> Subject: [iText-questions] Re: BaseFont getWidths()
> 
> As it is a server-job and I want to set a new font width for 
> example 80 per cent
> or 110 ...
> The problem thereby is that PDF1 and PDF2 both use the same 
> font coincidentally,
> both have the same font width, but PDF1 wants 80 per cent and 
> PDF2 wants 110 per
> cent. PDF1 is working with a font width of 80 per cent but 
> PDF2 is overwriting
> the font width that PDF1 uses for the moment but not with 110 
> per cent but also
> 88 per cent because 80/100*110 = 88 per cent of the original 
> font width. How can
> I solve the problem when I cache the font?
> 
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web 
> services, security?
> Get stuff done quickly with pre-integrated technology to make 
> your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on 
> Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&;
> dat=121642
> _______________________________________________
> iText-questions mailing list
> iText-questions (at) lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


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.



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
iText-questions mailing list
iText-questions (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions