You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by David 'Dox' Shevitz <ds...@singlestep.com> on 2005/03/31 17:39:15 UTC

Cannot Copy Text from PDF

Greetings,

I just came acrosss something, and I'm trying to find out if there is a 
way around it:

When I create a PDF with FOP, everything looks fine. However, I am 
unable to copy selections of text from the PDF and paste it into a 
Notepad or any other text editor. When I create a PDF from Word (without 
using FOP), I do not have this problem.

Can anyone offer me advice?

Thanks,

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


RE: Cannot Copy Text from PDF

Posted by Victor Mote <vi...@outfitr.com>.
David 'Dox' Shevitz wrote:

> When I create a PDF with FOP, everything looks fine. However, 
> I am unable to copy selections of text from the PDF and paste 
> it into a Notepad or any other text editor. When I create a 
> PDF from Word (without using FOP), I do not have this problem.

This is a known problem with TrueType fonts, documented here:
http://xml.apache.org/fop/fonts.html#truetype-metrics
under the "-enc ansi" option. There is no workaround other than using "-enc
ansi", which limits the characters available in the font.

Victor Mote


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org