Hello everybody,
While importing an existing rtf into a new one using this code :
RtfWriter2 p = RtfWriter2.getInstance(document, new
FileOutputStream("CopyOfTheFormula.rtf"));
//document.open();
p.open();
p.importRtfDocument(new FileReader("rtfs\\Formula.rtf"));
p.close();
I lose my custom fonts ! eg:
A custom Style named :
"OJV-Normal_11"
Becomes:
"Normal + Arial, 11 pt, Justified"
how can I preserve my custom fonts while importing an rtf into a new one ?
Thanks friends,
Nawfel BERAĆCH
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail -------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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/