Embed complete fonts (not subsetted) in XeLaTeX PDF

I have an application that requires the use of PDFs with fonts completely embedded. The source is a simple TeX file:

% !TEX encoding = UTF-8 Unicode % !TEX TS-program = XeLaTeX  \documentclass[border=3pt]{standalone}  \usepackage{fontspec}  \setmainfont{Warnock Pro}  \begin{document}  \centering  \hbox to 7in{%     \$[Jobname]%     \hfill     \$[Sig]%     \hfill     \$[SL]%     \hfill     \$[Color]%     \hfill     \$[OutputComment]%     \hfill     \$[Date]% }  \end{document} 

The fonts in the resulting PDF are have been subsetted. Based on a question (Embedding a complete rather than a partial font) which received no answer, I tried fiddling with dvipdfmx.cfg to no effect by using:

D  "rungs -q -dNOPAUSE -dBATCH -dEPSCrop -sPAPERSIZE=a0      -sDEVICE=pdfwrite -dCompatibilityLevel=%v      -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode      -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode          -dSubsetFonts=true -dEmbedAllFonts=true -dMaxSubsetPct=100     -dAutoRotatePages=/None -sOutputFile='%o' '%i' -c quit" 

I made sure that I was editing the correct file with:

kpsewhich -progname=dvipdfmx -format='other text files' dvipdfmx.cfg 

Can this be done?


Category: fonts Time: 2016-07-28 Views: 0

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.111 (s). 12 q(s)