[Bug 1728077] Re: Evince uses wrong encoding when filling out a PDF form

2018-08-28 Thread Thomas Dreibholz
The problem is also reproducible under the latest development version of
Ubuntu 18.10 (Cosmic) (version of August 28, 2018). It also uses
libpoppler-0.62.0.

** Also affects: okular
   Importance: Undecided
   Status: New

** Also affects: evince
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to poppler in Ubuntu.
https://bugs.launchpad.net/bugs/1728077

Title:
  Evince uses wrong encoding when filling out a PDF form

To manage notifications about this bug go to:
https://bugs.launchpad.net/evince/+bug/1728077/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1728077] Re: Evince uses wrong encoding when filling out a PDF form

2018-08-28 Thread Thomas Dreibholz
The problem still exists under Ubuntu 18.04 (Bionic Beaver). Tested with
Evince and Okular.

$ apt-show-versions | grep poppler | grep -v "not installed"
libpoppler-dev:amd64/bionic-security 0.62.0-2ubuntu2.1 uptodate
libpoppler-glib8:amd64/bionic-security 0.62.0-2ubuntu2.1 uptodate
libpoppler-private-dev:amd64/bionic-security 0.62.0-2ubuntu2.1 uptodate
libpoppler-qt5-1:amd64/bionic-security 0.62.0-2ubuntu2.1 uptodate
libpoppler73:amd64/bionic-security 0.62.0-2ubuntu2.1 uptodate
poppler-data:all/bionic 0.4.8-2 uptodate
poppler-utils:amd64/bionic-security 0.62.0-2ubuntu2.1 uptodate

$ apt-show-versions | grep evince | grep -v "not installed"
evince:amd64/bionic 3.28.2-1 uptodate
evince-common:all/bionic 3.28.2-1 uptodate

$ apt-show-versions | grep okular | grep -v "not installed"
libokular5core8:amd64/bionic 4:17.12.3-0ubuntu1 uptodate
okular:amd64/bionic 4:17.12.3-0ubuntu1 uptodate
okular-extra-backends:amd64/bionic 4:17.12.3-0ubuntu1 uptodate

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to poppler in Ubuntu.
https://bugs.launchpad.net/bugs/1728077

Title:
  Evince uses wrong encoding when filling out a PDF form

To manage notifications about this bug go to:
https://bugs.launchpad.net/poppler/+bug/1728077/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1728077] Re: Evince uses wrong encoding when filling out a PDF form

2018-08-24 Thread Bug Watch Updater
Launchpad has imported 6 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=103492.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2017-10-27T19:09:19+00:00 Thomas Dreibholz wrote:

Evince and Okular (based on poppler) uses the wrong encoding when
filling out a PDF form.

How to reproduce:
- Get the official Chinese Visa Application Form from 
http://www.china-embassy.org/eng/visas/fd/W020130830801798289342.pdf
- Open it in Evince
- Fill in a name (e.g. "Smith"). The entered text is displayed correctly.
- Click into another filed
- The previously entered name is displayed in wrong characters (wrong encoding 
used?). E.g. "Smith" becomes "4NJUI".
- Saving and loading the PDF (with the entered text) also results in displaying 
wrong characters
- Clicking into the name filed results in displaying the correct name ("Smith")

=> It seems that somewhere in Evince (or libpoppler?) the wrong encoding
is used for displaying non-active input fields.

Tested Ubuntu versions:
- Ubuntu 16.04
- Ubuntu 17.10

Reply at:
https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/1728077/comments/3


On 2017-10-27T19:29:36+00:00 Thomas Dreibholz wrote:

Created attachment 135133
Screenshot: filling in text into a field of the form

Reply at:
https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/1728077/comments/5


On 2017-10-27T19:31:43+00:00 Thomas Dreibholz wrote:

Created attachment 135134
Screenshot: filling in text into a field of the form

Reply at:
https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/1728077/comments/6


On 2017-10-27T19:32:31+00:00 Thomas Dreibholz wrote:

Created attachment 135135
Screenshot: result after activating another field of the form

Reply at:
https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/1728077/comments/7


On 2017-10-27T19:43:32+00:00 Thomas Dreibholz wrote:

The PDF form contains a couple of fonts -- some are embedded, some are
not -- with a couple of different encodings. May be something in
libpoppler goes wrong with the font encoding handling for the form's
fields?


$ pdffonts W020130830801798289342.pdf 
name type  encoding emb sub 
uni object ID
 -  --- --- 
--- -
ZJWNJQ+SimSunCID TrueType  Identity-H   yes yes 
yes   1780  0
AASELS+TimesNewRoman,BoldCID TrueType  Identity-H   yes yes 
yes   1785  0
JEIVZQ+SimSunCID TrueType  Identity-H   yes yes 
yes   1787  0
HRUUFF+SimSunCID TrueType  Identity-H   yes yes 
yes   1789  0
TimesNewRomanPS-BoldItalicMT TrueType  WinAnsi  no  no  
no1791  0
TimesNewRomanPSMTTrueType  WinAnsi  no  no  
no1793  0
Times-Roman  Type 1Custom   no  no  
no1689  0
AdobeSongStd-Light   CID Type 0UniGB-UTF16-Hno  no  
no1692  0
SimHei   CID TrueType  UniGB-UTF16-Hno  no  
no1693  0
SimSun   CID TrueType  UniGB-UTF16-Hno  no  
no1694  0
TimesNewRomanTrueType  WinAnsi  no  no  
no1695  0
MicrosoftYaHei   CID TrueType  UniGB-UTF16-Hno  no  
no1717  0
MicrosoftYaHei,Bold  CID TrueType  UniGB-UTF16-Hno  no  
no1718  0
NSimSun  CID TrueType  UniGB-UTF16-Hno  no  
no1719  0
AdobeSongStd-Light   CID Type 0UniGB-UTF16-Hno  no  
no1772  0
ZJWNJQ+SimSunCID TrueType  Identity-H   yes yes 
yes285  0
TimesNewRomanPSMTTrueType  WinAnsi  no  no  
no 289  0
ZJWNJQ+SimSunCID TrueType  Identity-H   yes yes 
yes372  0
QGJLNI+CambriaMath   CID TrueType  Identity-H   yes yes 
yes377  0
TimesNewRomanPSMTTrueType  WinAnsi  no  no  
no 379  0
AdobeSongStd-Light   CID Type 0UniGB-UTF16-Hno  no  
no 361  0
TimesNewRomanPS-BoldItalicMT TrueType  WinAnsi  no  no  
no 398  0
KozMinPr6N-Regular   CID Type 0UniJIS-UTF16-H   no  no 

[Bug 1728077] Re: Evince uses wrong encoding when filling out a PDF form

2018-01-29 Thread madbiologist
** Tags added: artful xenial

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to poppler in Ubuntu.
https://bugs.launchpad.net/bugs/1728077

Title:
  Evince uses wrong encoding when filling out a PDF form

To manage notifications about this bug go to:
https://bugs.launchpad.net/poppler/+bug/1728077/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1728077] Re: Evince uses wrong encoding when filling out a PDF form

2017-10-27 Thread Bug Watch Updater
** Changed in: poppler
   Status: Unknown => Confirmed

** Changed in: poppler
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to poppler in Ubuntu.
https://bugs.launchpad.net/bugs/1728077

Title:
  Evince uses wrong encoding when filling out a PDF form

To manage notifications about this bug go to:
https://bugs.launchpad.net/poppler/+bug/1728077/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1728077] Re: Evince uses wrong encoding when filling out a PDF form

2017-10-27 Thread Thomas Dreibholz
The upstream bug is at
https://bugs.freedesktop.org/show_bug.cgi?id=103492 .

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to poppler in Ubuntu.
https://bugs.launchpad.net/bugs/1728077

Title:
  Evince uses wrong encoding when filling out a PDF form

To manage notifications about this bug go to:
https://bugs.launchpad.net/poppler/+bug/1728077/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1728077] Re: Evince uses wrong encoding when filling out a PDF form

2017-10-27 Thread Thomas Dreibholz
** Bug watch added: freedesktop.org Bugzilla #103492
   https://bugs.freedesktop.org/show_bug.cgi?id=103492

** Also affects: poppler via
   https://bugs.freedesktop.org/show_bug.cgi?id=103492
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to poppler in Ubuntu.
https://bugs.launchpad.net/bugs/1728077

Title:
  Evince uses wrong encoding when filling out a PDF form

To manage notifications about this bug go to:
https://bugs.launchpad.net/poppler/+bug/1728077/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1728077] Re: Evince uses wrong encoding when filling out a PDF form

2017-10-27 Thread Sebastien Bacher
Thank you for taking the time to report this bug and helping to make
Ubuntu better. The issue you are reporting is an upstream one and it
would be nice if somebody having it could send the bug to the developers
of the software by following the instructions at
https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please
tell us the number of the upstream bug (or the link), so we can add a
bugwatch that will inform us about its status. Thanks in advance.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to poppler in Ubuntu.
https://bugs.launchpad.net/bugs/1728077

Title:
  Evince uses wrong encoding when filling out a PDF form

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/1728077/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1728077] Re: Evince uses wrong encoding when filling out a PDF form

2017-10-27 Thread Thomas Dreibholz
The same problem also appears when using Okular instead of Evince. So,
it is likely a problem with libpoppler.

** Package changed: evince (Ubuntu) => poppler (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/1728077

Title:
  Evince uses wrong encoding when filling out a PDF form

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/1728077/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs