[XeTeX] Guaranteed Unicode replacement glyph in every TeX installation?

Ulrike Fischer news3 at nililand.de
Sat Aug 21 10:48:33 CEST 2021


Am Fri, 20 Aug 2021 19:45:37 -0600 (MDT) schrieb Doug McKenna:

> Using XeTeX, I want to typeset a LaTeX document into a PDF file. The LaTeX source code in UTF-8 expressly includes the Unicode Replacement character (� = U+FFFD)

> So ... What fixed-width and variable-width OpenType (or other)
> fonts, if any, are always distributed with TeX or TeXLive or
> whatever that one can rely upon to be available for placing this
> particular glyph in a final PDF file? What would be the correct
> incantation to doing so? 

With a current texlive you can use albatross to find out which fonts
on your system support this

   albatross -d 0xFFFD

It will also show the pathes so identifying the fonts which are in
texlive is quite easy. 

\documentclass{article}
\usepackage{fontspec}
\setmainfont{DejaVu Serif}

\begin{document}

^^^^fffd 

\end{document}


-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/



More information about the XeTeX mailing list.