I figured-out the workaround for the problem with hiding text based on
OpenType font with Acrobat 8+,
the exact non-unicode encoding - this solved problem and Acrobat Reader 8 on
Windows/Linux and 9 on Windows are all displaying the text normally:

BaseFont bf = BaseFont.createFont("GFSDidot.otf", "Cp1251", true);

Hope this will help.

WBR,
Dmitri



Ulrich Telle wrote:
> 
> I created a PDF file using a non-CID CFF OpenType font (namely 
> GFSDidot.otf) with font subsetting enabled. The PDF is created without 
> errors and it is displayed correctly when using Adobe Reader 7.x. But 
> when using Adobe Reader 8.1 text based on the OpenType subset font is 
> not displayed anymore, although Adobe Reader does not show an error 
> message. Interestingly the characters seem to be there somehow since it 
> is possible to mark the blank area where the text should be displayed 
> and to copy the text to an editor. But the text is not rendered neither 
> on screen nor when printed.
> 
> If subsetting is turned off for the OpenType font and the complete font 
> is embedded, then Adobe Reader 8.1 renders the text correctly on screen.
> 
> Has someone an idea what's causing this behaviour? What has to be done 
> that OpenType font subsets are handled correctly by Adobe Reader 8.1? Is 
> information missing in the generated CFF font subset? Or is additional 
> information needed in any PDF dictionary?
> 
> Regards,
> 
> Ulrich
> 
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Do you like iText?
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Or leave a tip: https://tipit.to/itexttipjar
> 
> 

-- 
View this message in context: 
http://www.nabble.com/OpenType-font-subsets-not-displayed-in-Adobe-Reader-8-tp17988911p18608783.html
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to