This closed question prompts me to propose a more general question and a solution I don't think has been demonstrated here.
When compiling with LuaLaTeX and using Unicode input, how do you set up a fallback font for specific Unicode characters that are absent from the main font?
I would welcome other approaches or critiques of the one I demonstrate.
Best Answer
We can define a command to switch to a fallback font using
fontspec
.Then we can use
newunicodechar
to map the missing Unicode characters to a command that switched to the fallback font for those characters.Output of
pdffonts
showing that both fonts are used:EDIT:
We could also define a general command for setting up missing characters. It takes an optional argument which defaults to
\textfallback
, but a different font could be inserted in case an additional fallback font was needed.