[XeTeX] [tex-live] `BoldFont' feature for XeTeX?
Bruno Voisin
bvoisin at mac.com
Fri Mar 7 19:24:37 CET 2008
Le 7 mars 08 à 12:17, Jonathan Kew a écrit :
> I hope a few people will try this out, and let me know of any
> problems before this is merged into the 2008 TeX Live release.
Just tried with the newly compiled xetex, xdv2pdf and xdvipdfmx, using
the test files
%!TEX TS-program = xetex-xdv2pdf
%!TEX encoding = UTF-8 Unicode
\font\A = "Cambria" at 24pt
\A Some text\par
\font\B = "Cambria:embolden=5" at 24pt
\B Some synthetic bold text\par
\font\C = "Cambria Bold" at 24pt
\C Some natural bold text\par
\end
for xdv2pdf and
%!TEX TS-program = xetex-xdvipdfmx
%!TEX encoding = UTF-8 Unicode
\font\A = "Cambria" at 24pt
\A Some text\par
\font\B = "Cambria:embolden=5" at 24pt
\B Some synthetic bold text\par
\font\C = "Cambria Bold" at 24pt
\C Some natural bold text\par
\end
for xdvipdfmx (the %!TEX flags are Mac-specific, as is xdv2pdf).
The xdv2pdf run was after noticing xdvipdfmx is now the default XDVI-
to-PDF driver on the Mac as well, and hence creating for TeXShop a new
engine XeTeX-xdv2pdf.engine containing
#!/bin/tcsh
set path= ($path/usr/texbin /usr/local/bin)
xetex -output-driver="xdv2pdf" "$1"
so as to specify use of xdv2pdf.
Output appended. Natural bold looks definitely nicer that synthetic
bold!
Bruno Voisin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-xdv2pdf.pdf
Type: application/pdf
Size: 25341 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20080307/ac3aa7dd/attachment-0002.pdf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-xdvipdfmx.pdf
Type: application/pdf
Size: 34853 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20080307/ac3aa7dd/attachment-0003.pdf
More information about the XeTeX
mailing list