[Poppler-bugs] [Bug 40553] New: Unnecessary conversion upper case letters to lower case

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 1 08:16:11 PDT 2011


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

           Summary: Unnecessary conversion upper case letters to lower
                    case
           Product: poppler
           Version: unspecified
          Platform: Other
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: pdftohtml
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: pb at glon.org


The upper case letters are sometimes converted to lower
case. The bug occurs both in the case of conversion to
html as well as to xml.

The conversion to txt using pdftotext produces proper
results.

The attached example pdf file.

The first paragragph of convertion results to xml (wrong) and to
text (right by pdftotext) is shown below:

=============================================================================
XML:
=============================================================================
<text top="67" left="85" width="333" height="21" font="1">wybrałem się więc z
całą rodziną do jednego z tych </text>
<text top="85" left="68" width="350" height="21" font="1">sklepów z
prezentami-duperelami, gdzie zapach różnych </text>
<text top="103" left="68" width="347" height="21" font="1">suszonych
pachnidełek jest tak intensywny, że przypra-</text>
<text top="122" left="68" width="350" height="21" font="1">wia o zeza. nie
bacząc na to, że dzieci leżały na podłodze </text>
<text top="140" left="68" width="347" height="21" font="1">dusząc się,
spędzałem w sklepie kolejne godziny wybie-</text>
<text top="159" left="68" width="350" height="21" font="1">rając sobie stołek
za mały lub w złym kolorze, tak, żebym </text>
<text top="177" left="68" width="350" height="21" font="1">mógł  stracić 
jeszcze  trochę  czasu  na  jego  zwrot  do  </text>
<text top="196" left="68" width="43" height="21" font="1">sklepu.</text>

=============================================================================
TEXT:
=============================================================================
   Wybrałem się więc z całą rodziną do jednego z tych
sklepów z prezentami-duperelami, gdzie zapach różnych
suszonych pachnidełek jest tak intensywny, że przypra-
wia o zeza. Nie bacząc na to, że dzieci leżały na podłodze
dusząc się, spędzałem w sklepie kolejne godziny wybie-
rając sobie stołek za mały lub w złym kolorze, tak, żebym
mógł stracić jeszcze trochę czasu na jego zwrot do
sklepu.

-- 
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