Pedro Andres Aranda Gutierrez <paag...@gmail.com> writes:

> Would you be more comfortable with fallbacks for the individual families in
> the font-mappings-alist?
> I could try to go for something like:
>
> (defvar org-latex-font-fallback-alist
>   '(("main . '(("emoji" . "Noto Color Emoji:mode-harf")
>                ("han"   . "Noto CJK JP:")
>                ("kana"  . "Noto CJK JP:")))
>     ("sans". '(("emoji" . "Noto Color Emoji:mode-harf")
>                ("han"   . "Noto Sans CJK JP:")
>                ("kana"  . "Noto Sans CJK JP:")))
>     etc...
>
> And having FallbackMainFonts, FallbackSansFonts, ... (or the other way
> round meaning char-family mapped for "main", "mono", etc,

Fine with me. Or we can use 3 separate variables for main, sans, and
mono. Either way, the exact semantics of the variable is not that
important - we can decide it later. I mostly wanted to highlight that
mono vs. main may require very different fallback fonts. Even for noto -
it does provide mono and sans variants.

> But anyhow, give me some time to check what can be done and then discuss
> the possible solutions.

Sure.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to