You can extend HTMLWorker and change the attribute size when the font tag 
appears.

Paulo

----- Original Message ----- 
From: "Ian Michell" <[EMAIL PROTECTED]>
To: "Post all your questions about iText here" 
<[email protected]>
Sent: Saturday, January 06, 2007 11:14 AM
Subject: Re: [iText-questions] Introduction and first question!


Yes I did think as much, because I can set the points using a css style.
However what I wanted to find out was whether or not I could default the
numerical value of font size to points within the htmlworker/stylesheet.
The problem is we have a flex application as a front end and the guy who
wrote it wants to give me <font size="10">...

If there isn't any way around that I will give something else a try.

Paulo Soares wrote:
> <font size="10"> is html, not pdf. What you want is <font size="10px">.
>
> Paulo
>
>
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On
>> Behalf Of Ian Michell
>> Sent: Friday, January 05, 2007 10:51 AM
>> To: [email protected]
>> Subject: [iText-questions] Introduction and first question!
>>
>> Hi all!
>>
>> I'm new to this list and new to iText. I've been developing
>> quite a bit
>> on it in the last few weeks but have hit a slight snag/hole in the
>> documentation (and references on google).
>>
>> When using HTML worker iText treats <font size="10">
>> differently to it's
>> internal font units... Is there a way to set the units used for font
>> sizes in HTMLWorker?
>>
>> Ian
>>
>> --------------------------------------------------------------
>> -----------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the
>> chance to share your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge
>> &CID=DEVDEV
>> _______________________________________________
>> 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/
>>
>>
>
>
> 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.
>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share 
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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/
>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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/ 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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