We use as main font Liberation Sans
which misses many of the unicode characters. As far as I understand DejaVu Sans
has many of them. Is there a way to automagical (!) switch the font in case lualatex
complains about a missing character?
{/usr/share/texmf/fonts/map/pdftex/updmap/pdftex.map}
Missing character: There is no ☎ (U+260E) in font LiberationSans:mode=node;scr
ipt=latn;language=dflt;+tlig;!
MWE
\documentclass[a4paper,11pt,english]{article}
\usepackage{fontspec}
\usepackage[shorthands=off,bidi=basic]{babel}
\setmainfont{Liberation Sans}
%\setmainfont{DejaVu Sans}
\begin{document}
Kontakt: ☎️
\end{document}
So the main idea is to define a fallback when the default misses the character. If the fallback doesn't have the character than that's fine. But at least one level would be great.
Using: LuaHBTeX, Version 1.12.0
script=grek
. Could you add a hint in the answer (as well as in the docu)? Thx.fallback
)