Closed misho104 closed 5 months ago
Cannot reproduce; here the following code:
% !TeX TS-program = lualatex
\documentclass{article}
\usepackage{polyglossia}
\newfontfamily{\englishfont}{Roboto Mono}
\setdefaultlanguage{english}
\begin{document}
/////
\end{document}
produces:
What happens if you select another luatexrenderer
for polyglossia (or Renderer
for the font itself), e.g.
\newfontfamily\englishfont{Roboto Mono}[Renderer=Base]
Thanks for the clarification! Renderer=Base
and Node
produce slash (U+2F), while HarfBuzz
produces U+2215. (The glyphs are exactly the same, so it requires a copy-and-paste to somewhere else to check its unicode.)
It seems an issue of my HarfBuzz (I have HarfBuzz 8.3.0
via Homebrew, but LuaLaTeX may be using another installation).
OK, so we can close this ticket.
Hi. Using Roboto Mono with Polyglossia causes an issue: the code
compiled by LuaLaTeX generates a PDF file with Division Slash U+2215, not the ASCII slashes.
This is likely caused because Roboto Mono does not have a glyph for U+002F but its U+002F is redirected to U+2215.
Interestingly, the issue does not occur in the following code: