[ http://jira.codehaus.org/browse/MPPDF-22?page=comments#action_41220 ] 

Lukas Theussl commented on MPPDF-22:
------------------------------------

Seems to be a font problem indeed.

If I comment out the line

<ant:setProperty name="userconfig" 
value="${internal_pdf_workingDir}/userconfig.xml" />

from the pdf:pdf goal in plugin.jelly (userconfig.xml just defines some fonts), 
then I can do copy and paste from everywhere.
With this line included, I have the following error message when trying to do a 
copy/paste:

(acroread:5874): Gdk-WARNING **: Error converting from UTF-8 to STRING: Invalid 
byte sequence in conversion input

So it must be a problem with one of the fonts in plugin-resources/fonts/. Are 
those necessary?

> 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

>
>
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to