-
Notifications
You must be signed in to change notification settings - Fork 35
Description
Referring to How can I specify a chain of fallback fonts in XeLaTeX? and several similar questions on tex.sx (and in other places), there seem to be a need (or at least desire) for a way of providing fallback fonts for missing characters.
Of course there are workarounds, the most common being manually switching fonts for these characters, possibly via wrapping the characters using \newunicodechar
, but this is quite cumbersome, and doesn't help when you don't know in advance when you will need to switch fonts. Such a case would be e.g. a bibliography entry in Latin characters, but with a location in another script (e.g. Αθήνα, Ελλάδα).
A nicer workaround is to assign different fonts to different character ranges, using either ad-hoc packages, such as xeCJK
, or ucharmap
but those are only available for XeLaTeX and even so, it would feel more natural to have it included in fontspec, as e.g. unicode-math
does with the range
option.