Quoting Michael Puetz <[EMAIL PROTECTED]>:

> Hi!
> 
> 
> >What happens if you change HtmlTagMap and set another default font
> >like is done in this code snippet:
> >peer = new HtmlPeer(ElementTags.PHRASE, HtmlTags.CODE);
> >peer.addValue(MarkupTags.CSS_FONT, FontFactory.COURIER);
> >put(peer.getAlias(), peer);
> 
> the problem ist:
> this would override the values i set in the html document.

I wasn't sure about that. That's why I asked.
Maybe the constructors of Phrase, Paragraph,... should be changed;
overriding a default should be possible.

Bruno


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to