You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2005/08/04 00:20:57 UTC
[jira] Updated: (MPPDF-22) Allow copy and paste from pdf to text editor
[ http://jira.codehaus.org/browse/MPPDF-22?page=all ]
Lukas Theussl updated MPPDF-22:
-------------------------------
Attachment: ttf-garabd.xml
ttf-garait.xml
ttf-gara.xml
I attach three font metrics files that solve this issue for me. I recreated these files from the .ttf files included in the current pdf plugin, using fop's TTFReader with the '-enc ansi' option. From the fop documentation (http://xml.apache.org/fop/fonts.html#truetype-metrics), the WinAnsi encoding is necessary for cut-and-paste and other operations.
> Allow copy and paste from pdf to text editor
> --------------------------------------------
>
> Key: MPPDF-22
> URL: http://jira.codehaus.org/browse/MPPDF-22
> Project: maven-pdf-plugin
> Type: Bug
> Versions: 2.3
> Environment: Maven xdoc 1.9
> Reporter: Vincent Siveton
> Assignee: Arnaud Heritier
> Attachments: ttf-gara.xml, ttf-garabd.xml, ttf-garait.xml
>
>
> Actually, we cant copy text from a PDF section and paste it in a text editor.
> But we can do it for title section or table of contents...
> Example:
> copy this title from the generated PDF: "Table of Contents"
> paste in a text editor: Table of Contents
> Correct
> copy this section from the generated PDF: "No current items"
> paste in a text editor: ".... .............. ............"
> In hexa it should be:
> 00000000h: 2E 2E 2E 2E 20 2E 2E 2E 2E 2E 2E 2E 2E 2E 2E 2E ; .... ...........
> 00000010h: 2E 2E 2E 20 2E 2E 2E 2E 2E 2E 2E 2E 2E 2E 2E 2E ; ... ............
> Thus incorrect
> Maybe a font problem...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org