How do I detect which font contains a character? The Next CEO of Stack OverflowWhen would one...
Is it ever safe to open a suspicious html file (e.g. email attachment)?
"and that skill is always a class skill for you" - does "always" have any meaning in Pathfinder?
Giving the same color to different shapefiles in QGIS
Is it possible to search for a directory/file combination?
On model categories where every object is bifibrant
How should I support this large drywall patch?
How to avoid supervisors with prejudiced views?
What connection does MS Office have to Netscape Navigator?
Is HostGator storing my password in plaintext?
At which OSI layer a user-generated data resides?
What benefits would be gained by using human laborers instead of drones in deep sea mining?
Return the Closest Prime Number
What happens if you roll doubles 3 times then land on "Go to jail?"
How to transpose the 1st and -1th levels of arbitrarily nested array?
What is ( CFMCC ) on ILS approach chart?
Why does standard notation not preserve intervals (visually)
Indicator light circuit
Received an invoice from my ex-employer billing me for training; how to handle?
Sending manuscript to multiple publishers
Help understanding this unsettling image of Titan, Epimetheus, and Saturn's rings?
Complex fractions
Non-deterministic sum of floats
Why has the US not been more assertive in confronting Russia in recent years?
Are there any unintended negative consequences to allowing PCs to gain multiple levels at once in a short milestone-XP game?
How do I detect which font contains a character?
The Next CEO of Stack OverflowWhen would one use XeTeXcharglyph rather than iffontcharXITS font not foundFont not found by XeLaTeXUsing a handwriting font from myscriptfont.comFontAwesome font not found?XeLaTeX replaces characters present in font with missing character placeholdersXetex - Font not found!fontspec error: “font-not-found”Fontspec BoldFeatures font not foundUnicode characters with XeLaTeX without changing the fontWho changed my Chinese character?
I use TeXWorks with XeLaTex. I want to load multiple fonts in my document. When a character doesn't exist in the main font, XeTeX should search the other fonts.
Non-working example:
```
documentclass[a4paper,10pt]{article}
usepackage{fontspec}
setmainfont{Arial}
newfontfamilykoreanfont{korean.ttf}
newfontfamilytradchinesefont{trad-chinese.ttf}
newfontfamilysimpchinesefont{simp-chinese.ttf}
newfontfamilyoldchinesefont{old-chinese.ttf}
newfontfamilygreekfont{greek.ttf}
newfontfamilyarabfont{arab.ttf}
begin{document}
Holá hello 们 們 안녕 𦮙
end{document}
```
That should produce something like this mock-up from MS Word:
Currently I get:
I can't mark up each part of the text because this needs to be dynamic. So as in Word, I nee LaTeX to recognize which font contains the character.
fonts xetex unicode languages
New contributor
add a comment |
I use TeXWorks with XeLaTex. I want to load multiple fonts in my document. When a character doesn't exist in the main font, XeTeX should search the other fonts.
Non-working example:
```
documentclass[a4paper,10pt]{article}
usepackage{fontspec}
setmainfont{Arial}
newfontfamilykoreanfont{korean.ttf}
newfontfamilytradchinesefont{trad-chinese.ttf}
newfontfamilysimpchinesefont{simp-chinese.ttf}
newfontfamilyoldchinesefont{old-chinese.ttf}
newfontfamilygreekfont{greek.ttf}
newfontfamilyarabfont{arab.ttf}
begin{document}
Holá hello 们 們 안녕 𦮙
end{document}
```
That should produce something like this mock-up from MS Word:
Currently I get:
I can't mark up each part of the text because this needs to be dynamic. So as in Word, I nee LaTeX to recognize which font contains the character.
fonts xetex unicode languages
New contributor
1
Welcome to TeX.SE!
– Kurt
5 hours ago
1
You might look at theucharclasses
package for an alternative approach.
– Davislor
4 hours ago
The literal answer is,iffontchar
, but this would not work well if you have many different fonts to check. tex.stackexchange.com/questions/350896/…
– Davislor
4 hours ago
1
Another alternative:babelfont
frombabel
. Thepolyglossia
package has a very similar interface to the one you want, but does not support all the languages in your example.
– Davislor
4 hours ago
add a comment |
I use TeXWorks with XeLaTex. I want to load multiple fonts in my document. When a character doesn't exist in the main font, XeTeX should search the other fonts.
Non-working example:
```
documentclass[a4paper,10pt]{article}
usepackage{fontspec}
setmainfont{Arial}
newfontfamilykoreanfont{korean.ttf}
newfontfamilytradchinesefont{trad-chinese.ttf}
newfontfamilysimpchinesefont{simp-chinese.ttf}
newfontfamilyoldchinesefont{old-chinese.ttf}
newfontfamilygreekfont{greek.ttf}
newfontfamilyarabfont{arab.ttf}
begin{document}
Holá hello 们 們 안녕 𦮙
end{document}
```
That should produce something like this mock-up from MS Word:
Currently I get:
I can't mark up each part of the text because this needs to be dynamic. So as in Word, I nee LaTeX to recognize which font contains the character.
fonts xetex unicode languages
New contributor
I use TeXWorks with XeLaTex. I want to load multiple fonts in my document. When a character doesn't exist in the main font, XeTeX should search the other fonts.
Non-working example:
```
documentclass[a4paper,10pt]{article}
usepackage{fontspec}
setmainfont{Arial}
newfontfamilykoreanfont{korean.ttf}
newfontfamilytradchinesefont{trad-chinese.ttf}
newfontfamilysimpchinesefont{simp-chinese.ttf}
newfontfamilyoldchinesefont{old-chinese.ttf}
newfontfamilygreekfont{greek.ttf}
newfontfamilyarabfont{arab.ttf}
begin{document}
Holá hello 们 們 안녕 𦮙
end{document}
```
That should produce something like this mock-up from MS Word:
Currently I get:
I can't mark up each part of the text because this needs to be dynamic. So as in Word, I nee LaTeX to recognize which font contains the character.
fonts xetex unicode languages
fonts xetex unicode languages
New contributor
New contributor
edited 47 secs ago
Davislor
6,9841431
6,9841431
New contributor
asked 5 hours ago
jtwaltersjtwalters
11
11
New contributor
New contributor
1
Welcome to TeX.SE!
– Kurt
5 hours ago
1
You might look at theucharclasses
package for an alternative approach.
– Davislor
4 hours ago
The literal answer is,iffontchar
, but this would not work well if you have many different fonts to check. tex.stackexchange.com/questions/350896/…
– Davislor
4 hours ago
1
Another alternative:babelfont
frombabel
. Thepolyglossia
package has a very similar interface to the one you want, but does not support all the languages in your example.
– Davislor
4 hours ago
add a comment |
1
Welcome to TeX.SE!
– Kurt
5 hours ago
1
You might look at theucharclasses
package for an alternative approach.
– Davislor
4 hours ago
The literal answer is,iffontchar
, but this would not work well if you have many different fonts to check. tex.stackexchange.com/questions/350896/…
– Davislor
4 hours ago
1
Another alternative:babelfont
frombabel
. Thepolyglossia
package has a very similar interface to the one you want, but does not support all the languages in your example.
– Davislor
4 hours ago
1
1
Welcome to TeX.SE!
– Kurt
5 hours ago
Welcome to TeX.SE!
– Kurt
5 hours ago
1
1
You might look at the
ucharclasses
package for an alternative approach.– Davislor
4 hours ago
You might look at the
ucharclasses
package for an alternative approach.– Davislor
4 hours ago
The literal answer is,
iffontchar
, but this would not work well if you have many different fonts to check. tex.stackexchange.com/questions/350896/…– Davislor
4 hours ago
The literal answer is,
iffontchar
, but this would not work well if you have many different fonts to check. tex.stackexchange.com/questions/350896/…– Davislor
4 hours ago
1
1
Another alternative:
babelfont
from babel
. The polyglossia
package has a very similar interface to the one you want, but does not support all the languages in your example.– Davislor
4 hours ago
Another alternative:
babelfont
from babel
. The polyglossia
package has a very similar interface to the one you want, but does not support all the languages in your example.– Davislor
4 hours ago
add a comment |
1 Answer
1
active
oldest
votes
The literal answer to the question you asked is that iffontchar
checks whether a font contains the specified glyph, and can be used to implement a fallback. However, I think that is an XY problem.
You can almost do this with ucharclasses
. For this MCVE, I used the Noto Sans font family, except for one rare ideograph that I took from Babelstone Han.
usepackage{fontspec}
usepackage[Latin, Arabic, CJK, Greek, Korean,
CJKUnifiedIdeographsExtensionB
]{ucharclasses}
defaultfontfeatures{Scale = MatchLowercase, Ligatures = TeX}
setmainfont{Noto Sans}[Scale = 1.0]
setsansfont{Noto Sans}
newfontfamilykoreanfont{Noto Sans CJK KR}[
Language=Korean, Script=CJK]
newfontfamilytradchinesefont{Noto Sans CJK TC}[
% CJKShape = Traditional,
Language=Chinese Traditional, Script = CJK]
newfontfamilysimpchinesefont{Noto Sans CJK SC}[
% CJKShape = Simplified,
Language=Chinese Simplified, Script = CJK]
newfontfamilyoldchinesefont{BabelStone Han}[
Script=CJK]
newfontfamilygreekfont{Noto Sans}[
% Language = Greek,
Script = Greek]
% WARNING: RTL scripts require polyglossia or babel to work correctly!
newfontfamilyarabfont{Noto Sans Arabic}[
Script = Arabic]
setTransitionsForArabics{arabfont}{}
setTransitionsForChinese{simpchinesefont}{}
setTransitionsForKorean{koreanfont}{}
setTransitionsForGreek{greekfont}{}
setTransitionTo{CJKUnifiedIdeographsExtensionB}{oldchinesefont} % For U+26B99
begin{document}
Holá hello 们 們 안녕 𦮙
end{document}
It doesn’t quite work out of the box for all those languages you requested. First, Simplified Chinese, Traditional Chinese and Korean share many of the same Unicode codepoints, so without further markup, you cannot tell how to render them. Second, it has some problems with right-to-left scripts such as Arabic.
If you wanted to write non-trivial amounts of all those languages in the same document, you would use a package such as Babel and write things like foreignlanguage{korean}{韓國語}
and DeclareRobustCommandoldchinese[1]{{oldchinesefont #1}}
.
You could declare individual glyphs with newunicodechar
, as in:
usepackage{fontspec, newunicodechar}
newfontfamilyoldchinesefont{BabelStone Han}[
Scale = MatchLowercase,
Script=CJK]
newunicodechar{𦮙}{{oldchinesefont 𦮙}}
This does not play well with ucharclasses
, however.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
jtwalters is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482157%2fhow-do-i-detect-which-font-contains-a-character%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The literal answer to the question you asked is that iffontchar
checks whether a font contains the specified glyph, and can be used to implement a fallback. However, I think that is an XY problem.
You can almost do this with ucharclasses
. For this MCVE, I used the Noto Sans font family, except for one rare ideograph that I took from Babelstone Han.
usepackage{fontspec}
usepackage[Latin, Arabic, CJK, Greek, Korean,
CJKUnifiedIdeographsExtensionB
]{ucharclasses}
defaultfontfeatures{Scale = MatchLowercase, Ligatures = TeX}
setmainfont{Noto Sans}[Scale = 1.0]
setsansfont{Noto Sans}
newfontfamilykoreanfont{Noto Sans CJK KR}[
Language=Korean, Script=CJK]
newfontfamilytradchinesefont{Noto Sans CJK TC}[
% CJKShape = Traditional,
Language=Chinese Traditional, Script = CJK]
newfontfamilysimpchinesefont{Noto Sans CJK SC}[
% CJKShape = Simplified,
Language=Chinese Simplified, Script = CJK]
newfontfamilyoldchinesefont{BabelStone Han}[
Script=CJK]
newfontfamilygreekfont{Noto Sans}[
% Language = Greek,
Script = Greek]
% WARNING: RTL scripts require polyglossia or babel to work correctly!
newfontfamilyarabfont{Noto Sans Arabic}[
Script = Arabic]
setTransitionsForArabics{arabfont}{}
setTransitionsForChinese{simpchinesefont}{}
setTransitionsForKorean{koreanfont}{}
setTransitionsForGreek{greekfont}{}
setTransitionTo{CJKUnifiedIdeographsExtensionB}{oldchinesefont} % For U+26B99
begin{document}
Holá hello 们 們 안녕 𦮙
end{document}
It doesn’t quite work out of the box for all those languages you requested. First, Simplified Chinese, Traditional Chinese and Korean share many of the same Unicode codepoints, so without further markup, you cannot tell how to render them. Second, it has some problems with right-to-left scripts such as Arabic.
If you wanted to write non-trivial amounts of all those languages in the same document, you would use a package such as Babel and write things like foreignlanguage{korean}{韓國語}
and DeclareRobustCommandoldchinese[1]{{oldchinesefont #1}}
.
You could declare individual glyphs with newunicodechar
, as in:
usepackage{fontspec, newunicodechar}
newfontfamilyoldchinesefont{BabelStone Han}[
Scale = MatchLowercase,
Script=CJK]
newunicodechar{𦮙}{{oldchinesefont 𦮙}}
This does not play well with ucharclasses
, however.
add a comment |
The literal answer to the question you asked is that iffontchar
checks whether a font contains the specified glyph, and can be used to implement a fallback. However, I think that is an XY problem.
You can almost do this with ucharclasses
. For this MCVE, I used the Noto Sans font family, except for one rare ideograph that I took from Babelstone Han.
usepackage{fontspec}
usepackage[Latin, Arabic, CJK, Greek, Korean,
CJKUnifiedIdeographsExtensionB
]{ucharclasses}
defaultfontfeatures{Scale = MatchLowercase, Ligatures = TeX}
setmainfont{Noto Sans}[Scale = 1.0]
setsansfont{Noto Sans}
newfontfamilykoreanfont{Noto Sans CJK KR}[
Language=Korean, Script=CJK]
newfontfamilytradchinesefont{Noto Sans CJK TC}[
% CJKShape = Traditional,
Language=Chinese Traditional, Script = CJK]
newfontfamilysimpchinesefont{Noto Sans CJK SC}[
% CJKShape = Simplified,
Language=Chinese Simplified, Script = CJK]
newfontfamilyoldchinesefont{BabelStone Han}[
Script=CJK]
newfontfamilygreekfont{Noto Sans}[
% Language = Greek,
Script = Greek]
% WARNING: RTL scripts require polyglossia or babel to work correctly!
newfontfamilyarabfont{Noto Sans Arabic}[
Script = Arabic]
setTransitionsForArabics{arabfont}{}
setTransitionsForChinese{simpchinesefont}{}
setTransitionsForKorean{koreanfont}{}
setTransitionsForGreek{greekfont}{}
setTransitionTo{CJKUnifiedIdeographsExtensionB}{oldchinesefont} % For U+26B99
begin{document}
Holá hello 们 們 안녕 𦮙
end{document}
It doesn’t quite work out of the box for all those languages you requested. First, Simplified Chinese, Traditional Chinese and Korean share many of the same Unicode codepoints, so without further markup, you cannot tell how to render them. Second, it has some problems with right-to-left scripts such as Arabic.
If you wanted to write non-trivial amounts of all those languages in the same document, you would use a package such as Babel and write things like foreignlanguage{korean}{韓國語}
and DeclareRobustCommandoldchinese[1]{{oldchinesefont #1}}
.
You could declare individual glyphs with newunicodechar
, as in:
usepackage{fontspec, newunicodechar}
newfontfamilyoldchinesefont{BabelStone Han}[
Scale = MatchLowercase,
Script=CJK]
newunicodechar{𦮙}{{oldchinesefont 𦮙}}
This does not play well with ucharclasses
, however.
add a comment |
The literal answer to the question you asked is that iffontchar
checks whether a font contains the specified glyph, and can be used to implement a fallback. However, I think that is an XY problem.
You can almost do this with ucharclasses
. For this MCVE, I used the Noto Sans font family, except for one rare ideograph that I took from Babelstone Han.
usepackage{fontspec}
usepackage[Latin, Arabic, CJK, Greek, Korean,
CJKUnifiedIdeographsExtensionB
]{ucharclasses}
defaultfontfeatures{Scale = MatchLowercase, Ligatures = TeX}
setmainfont{Noto Sans}[Scale = 1.0]
setsansfont{Noto Sans}
newfontfamilykoreanfont{Noto Sans CJK KR}[
Language=Korean, Script=CJK]
newfontfamilytradchinesefont{Noto Sans CJK TC}[
% CJKShape = Traditional,
Language=Chinese Traditional, Script = CJK]
newfontfamilysimpchinesefont{Noto Sans CJK SC}[
% CJKShape = Simplified,
Language=Chinese Simplified, Script = CJK]
newfontfamilyoldchinesefont{BabelStone Han}[
Script=CJK]
newfontfamilygreekfont{Noto Sans}[
% Language = Greek,
Script = Greek]
% WARNING: RTL scripts require polyglossia or babel to work correctly!
newfontfamilyarabfont{Noto Sans Arabic}[
Script = Arabic]
setTransitionsForArabics{arabfont}{}
setTransitionsForChinese{simpchinesefont}{}
setTransitionsForKorean{koreanfont}{}
setTransitionsForGreek{greekfont}{}
setTransitionTo{CJKUnifiedIdeographsExtensionB}{oldchinesefont} % For U+26B99
begin{document}
Holá hello 们 們 안녕 𦮙
end{document}
It doesn’t quite work out of the box for all those languages you requested. First, Simplified Chinese, Traditional Chinese and Korean share many of the same Unicode codepoints, so without further markup, you cannot tell how to render them. Second, it has some problems with right-to-left scripts such as Arabic.
If you wanted to write non-trivial amounts of all those languages in the same document, you would use a package such as Babel and write things like foreignlanguage{korean}{韓國語}
and DeclareRobustCommandoldchinese[1]{{oldchinesefont #1}}
.
You could declare individual glyphs with newunicodechar
, as in:
usepackage{fontspec, newunicodechar}
newfontfamilyoldchinesefont{BabelStone Han}[
Scale = MatchLowercase,
Script=CJK]
newunicodechar{𦮙}{{oldchinesefont 𦮙}}
This does not play well with ucharclasses
, however.
The literal answer to the question you asked is that iffontchar
checks whether a font contains the specified glyph, and can be used to implement a fallback. However, I think that is an XY problem.
You can almost do this with ucharclasses
. For this MCVE, I used the Noto Sans font family, except for one rare ideograph that I took from Babelstone Han.
usepackage{fontspec}
usepackage[Latin, Arabic, CJK, Greek, Korean,
CJKUnifiedIdeographsExtensionB
]{ucharclasses}
defaultfontfeatures{Scale = MatchLowercase, Ligatures = TeX}
setmainfont{Noto Sans}[Scale = 1.0]
setsansfont{Noto Sans}
newfontfamilykoreanfont{Noto Sans CJK KR}[
Language=Korean, Script=CJK]
newfontfamilytradchinesefont{Noto Sans CJK TC}[
% CJKShape = Traditional,
Language=Chinese Traditional, Script = CJK]
newfontfamilysimpchinesefont{Noto Sans CJK SC}[
% CJKShape = Simplified,
Language=Chinese Simplified, Script = CJK]
newfontfamilyoldchinesefont{BabelStone Han}[
Script=CJK]
newfontfamilygreekfont{Noto Sans}[
% Language = Greek,
Script = Greek]
% WARNING: RTL scripts require polyglossia or babel to work correctly!
newfontfamilyarabfont{Noto Sans Arabic}[
Script = Arabic]
setTransitionsForArabics{arabfont}{}
setTransitionsForChinese{simpchinesefont}{}
setTransitionsForKorean{koreanfont}{}
setTransitionsForGreek{greekfont}{}
setTransitionTo{CJKUnifiedIdeographsExtensionB}{oldchinesefont} % For U+26B99
begin{document}
Holá hello 们 們 안녕 𦮙
end{document}
It doesn’t quite work out of the box for all those languages you requested. First, Simplified Chinese, Traditional Chinese and Korean share many of the same Unicode codepoints, so without further markup, you cannot tell how to render them. Second, it has some problems with right-to-left scripts such as Arabic.
If you wanted to write non-trivial amounts of all those languages in the same document, you would use a package such as Babel and write things like foreignlanguage{korean}{韓國語}
and DeclareRobustCommandoldchinese[1]{{oldchinesefont #1}}
.
You could declare individual glyphs with newunicodechar
, as in:
usepackage{fontspec, newunicodechar}
newfontfamilyoldchinesefont{BabelStone Han}[
Scale = MatchLowercase,
Script=CJK]
newunicodechar{𦮙}{{oldchinesefont 𦮙}}
This does not play well with ucharclasses
, however.
edited 39 mins ago
answered 1 hour ago
DavislorDavislor
6,9841431
6,9841431
add a comment |
add a comment |
jtwalters is a new contributor. Be nice, and check out our Code of Conduct.
jtwalters is a new contributor. Be nice, and check out our Code of Conduct.
jtwalters is a new contributor. Be nice, and check out our Code of Conduct.
jtwalters is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482157%2fhow-do-i-detect-which-font-contains-a-character%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Welcome to TeX.SE!
– Kurt
5 hours ago
1
You might look at the
ucharclasses
package for an alternative approach.– Davislor
4 hours ago
The literal answer is,
iffontchar
, but this would not work well if you have many different fonts to check. tex.stackexchange.com/questions/350896/…– Davislor
4 hours ago
1
Another alternative:
babelfont
frombabel
. Thepolyglossia
package has a very similar interface to the one you want, but does not support all the languages in your example.– Davislor
4 hours ago