[NTG-pdftex] Possible Bug: Ligatures and special Character in included pdf disappear in typetted document

Thanh Han The hanthethanh at gmail.com
Thu Sep 18 12:56:59 CEST 2008


Hello Michael,

thanks for the bug report. Can you please also submit it to
the pdftex bug tracker
http://sarovar.org/tracker/?atid=493&group_id=106&func=browse

thanks,
Thanh

On Thu, Sep 18, 2008 at 12:51:18PM +0200, Jan Michael wrote:
> Dear Readers,
>
> as the subject already states, my documents created with pdflatex are
> loosing their ligatures and other special characters from included pdf
> documents which were typesetted by other applications (Word, Excel,
> Omnigraffle ...).
>
>
> (a) Situation
> -------------
>
> This is how the behaviour can be reproduced and how it happens in my
> case:
>
> (1) Import Latin Modern fonts as otf into system wide font location
> (2) Create a document with Latin Modern Roman font and use ff, fi, fl
> ligatures
> (3) Save Document as PDF (in OS X it's just "Save as PDF ...") - the
> pdf still shows the ligatures
> (4) Include the created pdf into a *.tex document with \includegraphics
> (5) Typeset the document with pdflatex
> (6) Ligatures from included pdf document disappear while inline
> ligature are typeset as usual.
>
> (b) Minimal Example
> -------------------
> \documentclass[ngerman]{scrreprt}
> \usepackage{graphicx}
> \begin{document}
>         \begin{figure}[htbp!]
>                 \centering\includegraphics[width=1.1\textwidth]
> {ligaturen.pdf}
>         \end{figure}
> \end{document}
>
> ligaturen.pdf can be downloaded from <https://dl.getdropbox.com/u/73200/ligaturen.pdf
>  >
>
> (c) Problem Analysis
> --------------------
> This is what the the German tex usenet group de.comp.text.tex has
> already figured out:
>
> - problem can be reproduced with MiKTeX 2.6 and TexLive 2008 (Windows)
> - names of ligature glyphs in included pdf (f_i, f_l, f_f) differ from
> names used by pdftex (fi, fl, ff)
> - font from included pdf is replaced by pdftex -> glyphs f_i, ...
> won't be found anymore
> - behaviour can be suppressed by using \pdfmapfile{}
> - behaviour can be suppressed by removing or renaming related fonts in
> pdftex.map
> - behaviour can be suppressed by typesetting the pdf with xe(la)tex
> before including it in pdf(la)tex document. XeTeX redeclares the font
> in ligaturen.pdf from JTSEMF+LMRoman10-Regular to ASKXQL+LMRoman10-
> Regular-Identity-H.
>
> The related thread, in German language, can be found here:
> 	
> 	<http://groups.google.de/group/de.comp.text.tex/browse_frm/thread/4c0245d37cd84273?
>  >
>
> Right now I use the workaround with XeTeX to get my documents right.
> What do you think?
>
> Cheers,
>
> 	Jan
>
> ------------------------------------------------------------
>
> p.s. Please see pdf(la)tex version information below:
> (from TexLive 2007 shipped with MacTeX 2007 package on MacBook
> C2D running OS X 10.5.5)
>
> $ pdflatex -v
> pdfTeX 3.141592-1.40.3-2.2 (Web2C 7.5.6)
> kpathsea version 3.5.6
> Copyright 2007 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
> Kpathsea is copyright 2007 Karl Berry and Olaf Weber.
> There is NO warranty.  Redistribution of this software is
> covered by the terms of both the pdfTeX copyright and
> the Lesser GNU General Public License.
> For more information about these matters, see the file
> named COPYING and the pdfTeX source.
> Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh
> (pdfTeX).
> Kpathsea written by Karl Berry, Olaf Weber, and others.
>
> Compiled with libpng 1.2.15; using libpng 1.2.15
> Compiled with zlib 1.2.3; using zlib 1.2.3
> Compiled with xpdf version 3.01
> _______________________________________________
> ntg-pdftex mailing list
> ntg-pdftex at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-pdftex


More information about the ntg-pdftex mailing list