bugPyPDFLib - Bugs: bug #32903, Unicode characters cannot be...

 
 

bug #32903: Unicode characters cannot be copied properly from generated pdf

Submitted by:  शंतनू <shantanoo>
Submitted on:  Fri 25 Mar 2011 08:19:13 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 25 Mar 2011 08:19:13 AM UTC, original submission:

Modified the rst.txt available in samples/rst2pdf directory.

$ git diff
diff --git a/samples/rest2pdf/rst.txt b/samples/rest2pdf/rst.txt
index 8ffe74d..cae3175 100644
--- a/samples/rest2pdf/rst.txt
+++ b/samples/rest2pdf/rst.txt
@@ -4,7 +4,7 @@ ReStructuredText (rst): plain text markup

.. sectnum::

-.. contents:: The tiny table of contents
+.. contents:: The tiny table of contents (प्रयत्न)

What is reStructuredText?
~~~~~~~~~~~~~~~~~~~~~~~~~

Generated pdf using rest2pdf.py. Data is properly displayed in generated pdf (using acrocread, xpdf, preview.app). But on selecting the text from .pdf and copying it, get following

===

शंतनू <shantanoo>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by shantanoo (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1