Bug#742767: TeX Gyre OpenType and wrongly(?) named glyphs
as far as I understand it seems that at least Karl Berry agrees in
that regard)
I hadn't realized that the ligatures only failed with non-fully-embedded
PDF's. Such PDF's are inherently defective; it's been a long time since
Adobe recommended anything but full embedding (not that I think we must
kowtow to everything Adobe says, but anyway). So maybe it would
actually be a good thing for ligatures to lose :), so that people fix
the PDF's where the problem originates
Just FWIW, I use the script below to embed PDF's that I receive
unembedded (generally graphics destined for TUGboat).
karl
#!/bin/sh
# ps2pdf (or pdf2pdf), but
# always embedding fonts,
# avoiding bitmap tampering,
# and allowing just one filename arg, meaning overwrite.
# Some parameters from Jacko's zdistill.rip.
: ${gs=gs}
if test $# -eq 1; then
set - "$1" "$1.tmppdf"
fi
$gs \
-q -dNOPAUSE -dBATCH \
-sDEVICE=pdfwrite \
-sOutputFile="$2" \
-dCompatibilityLevel=4 \
-dAutoRotatePages=/None \
-dEmbedAllFonts -dPDFX=true \
-dUseFlateCompression=true \
-dCompressPages=true \
-dASCII85EncodePages=false \
-dEncodeColorImages=true -dDownsampleColorImages=false \
-dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode \
-dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode \
-dEncodeGrayImages=true -dDownsampleGrayImages=false \
-c .setpdfwrite \
-f "$1" quit.ps
if test x"$2" = "x$1.tmppdf"; then
mv "$2" "$1"
fi
exit $?
# ps2pdf is a front-end to gs. For a complete list of options, see
# http://ghostscript.com/doc/current/Ps2pdf.htm
#
# By default, gs encodes all images contained in a PS file using
# the lossy DCT (i.e., JPEG) filter. This often leads to inferior
# result (see the discussion at http://electron.mit.edu/~gsteele/pdf/).
# The "-dAutoFilterXXXImages" and "-dXXXImageFilter" options used
# below force all images to be encoded with the lossless Flate (zlib,
# same as PNG) filter. Note that if the PS file already contains DCT
# encoded images (which is possible in PS level 2), then these images
# will also be re-encoded using Flate. To turn the conversion off,
# simply remove the options mentioned above.
Reply to: