[Poppler-bugs] [Bug 41104] New: Xpdf(pdfedit/poppler) renders specidic pdfs differently than e.g., Acrobat/Sumatra

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 21 23:00:32 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=41104

           Summary: Xpdf(pdfedit/poppler) renders specidic pdfs
                    differently than e.g., Acrobat/Sumatra
           Product: poppler
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: medium
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: misutkajunior at hotmail.com


Created an attachment (id=51504)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=51504)
test file

Copy of 
http://pdfedit.petricek.net/bt/view.php?id=372

GfxFont.cc

int GfxCIDFont::getNextChar(
...

  *code = (CharCode)(cid = cMap->getCID(s, len, &n));
  if (ctu) {
    ...
  } else {
    *uLen = 0;
  }

if i am not mistaken, if ctu == NULL it means identity, so it should be 
  } else {
    u[0] = *code;
    *uLen = 1;
  }

at least this is the acrobat/sumatra behaviour.

Steps to reproduce:
open attached file in pdfedit/xpdf/okular/kpdf vs sumatra/acrobat
compare the first letter

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list