Hello,
MS-Word uses "Font Fallback" mechanism to show "missing glyphs" of your
selected font. more info: http://msdn.microsoft.com/en-us/goglobal/bb688134
iText/Sharp has the same capability which is defined in FontSelector class.
Here you can define your "Font Substitution" strategy and then call
fontSelector.Process method.
________________________________
From: Peter van Raamsdonk <peet...@hotmail.com>
To: Post all your questions about iText here
<itext-questions@lists.sourceforge.net>
Sent: Saturday, February 11, 2012 11:53 AM
Subject: [iText-questions] Font subsets document
Morning all,
I have a pdf created from a Word document (template). From the pdf I
get all the document base fonts used, I choose a basefont and create a
font from this to include some extra text.
When I add the text with contentByte from the stamper and setText with
hard coded text like "Uw" the text is shown with square before the w
(like the glyph can't be drawn).
If I use BaseFont.createFont() the text is shown normally but I want
the style/ font family properties of the font used originally.
Regards,
Peter van Raamsdonk
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php