[tex-live] making XeTeX not embed fonts

Akira Kakuto kakuto at fuk.kindai.ac.jp
Tue Nov 27 06:07:07 CET 2018


Dear Werner, Karl,

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

Best,
Akira
-------------- next part --------------
A non-text attachment was scrubbed...
Name: removefonts.zip
Type: application/x-zip-compressed
Size: 592323 bytes
Desc: not available
URL: <https://tug.org/pipermail/tex-live/attachments/20181127/39d48853/attachment-0001.bin>


More information about the tex-live mailing list