[poppler] [PATCH] Fixup LaTeX composed characters

Albert Astals Cid aacid at kde.org
Mon Mar 28 15:30:28 PDT 2011


A Dilluns, 28 de març de 2011, Tim Brody va escriure:
> On Fri, 2011-03-25 at 20:43 +0000, Albert Astals Cid wrote:
> > A Divendres, 25 de març de 2011, vàreu escriure:
> > > On Fri, 25 Mar 2011 19:02:46 +0000, Albert Astals Cid <aacid at kde.org>
> > > 
> > > wrote:
> > > > A Divendres, 25 de març de 2011, Tim Brody va escriure:
> > > >> Hi All,
> > > >> 
> > > >> Attached is a patch to address the previous problem I wrote about
> > > >> with pdflatex-produced PDFs that contain
> > > >> overlapping-diacritics/accents.
> > > > 
> > > > Hmmm, is it supposed to just kill the diacritic mark?
> > > > 
> > > > R. L¨wen and B. Polster
> > > > o
> > > > gets converted to
> > > > R. Lowen and B. Polster
> > > > shouldn't it be
> > > > R. Löwen and B. Polster
> > > > ?
> > > 
> > > It should do - can you send me this PDF?
> > 
> > http://www.maths.mq.edu.au/~ross/5019-e-cmap.pdf
> 
> This PDF has [combining character][character to combine with].
> 
> I've added combining-chars to the equiv-mapping table which appears to
> work for this PDF:
> 
> "R. Löwen and B. Polster"
> "Institut für Analysis und Algebra ..."

I still get 

-R. L¨wen and B. Polster
-o
+R. Lowen and B. Polster

Maybe you sent a old version of the patch? Can anyone confirm if it 
works/fails for them?

Albert

> 
> > > I get this from TeX:
> > > R. L\"owen and B. Polster => R. Löwen and B. Polster
> > > 
> > > NB I just tried extracting from a Word-generated PDF and TextOutputDev
> > > didn't see the line with the diacritic at all.
> > 
> > And are you sure it's not a Word fault?
> 
> Oh I expect it is but I thought I'd mention it. I'll try to investigate
> further.
> 
> /Tim.


More information about the poppler mailing list