[tex-live] making XeTeX not embed fonts
Werner LEMBERG
wl at gnu.org
Tue Nov 27 15:34:35 CET 2018
>> FWIW, here is a post describing how to unembed fonts (I haven't tried
>> it myself):
>> https://tex.stackexchange.com/questions/89864
>
> The method works fine.
Well...
> An attached removefonts.zip contains
> xtst.pdf:
> Created by xelatex xtst.tex
> xtst.ps:
> Created by extractpdfmark xtst.pdf >xtst.ps
> noembed.txt:
> Created by pdffonts xtst.pdf >noembed.txt
> noembed.ps:
> Created by editing noembed.txt
> final.pdf:
> Created by a script mk.sh:
>
> #!/bin/sh
> gs -q -dBATCH -dNOPAUSE -sDEVICE=pdfwrite \
> -sOutputFile=final.pdf -c -f noembed.ps xtst.pdf xtst.ps
>
> In final.pdf all embedded fonts in xtst.pdf are removed.
... this is very nice! Alas, it doesn't work properly if you mix
XeTeX with LilyPond.
Werner
More information about the tex-live
mailing list