-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Description
Description
fontspec warns that David CLM does not support the Script Hebrew, even though it does. The warning is produced only for XeTeX - luaTeX doesn't complain - and does not seem to affect the output.
Possibly this is because the font is opentype, but I'm not certain. I could not reproduce the warning with the truetype font I tried.
Or perhaps it is because David CLM supports two sub-types of the Hebrew script, though fontspec's Script key doesn't support these.
Check/indicate
- [ x] Relevant for XeTeX
- Relevant for LuaTeX
- [ x] Issue tracker has been searched for similar issues?
- [ x] Links to <tex.stackexchange.com> discussion if appropriate
Minimal example demonstrating the issue
\documentclass[12pt]{article}
\usepackage{polyglossia}
\usepackage{amsfonts}
\setmainlanguage{hebrew}
\setotherlanguage{english}
\newfontfamily{\hebrewfont}[Script=Hebrew]{David CLM}
% \newfontfamily{\hebrewfont}[Script=Hebrew]{DejaVu Sans}
\newfontfamily{\englishfont}{Latin Modern Roman}
\begin{document}
\title{שם ומספר הקורס}
\author{השם שלי}
\maketitle
\end{document}Produces
Package fontspec Warning: Font "David CLM" does not contain requested Script
(fontspec) "Hebrew".Further details
https://tex.stackexchange.com/q/717421/ [but not really about this issue]
otfinfo -s fonts/opentype/public/culmus/DavidCLM-Medium.otf
hebr Hebrew
hebr.JII Hebrew/Yiddish
hebr.JUD Hebrew/Ladino
For comparison with the truetype font I tried:
otfinfo -s fonts/truetype/public/dejavu/DejaVuSans.ttf
DFLT Default
arab Arabic
arab.KUR Arabic/Kurdish
arab.SND Arabic/Sindhi
arab.URD Arabic/Urdu
armn Armenian
brai Braille
cans Canadian Syllabics
cher Cherokee
cyrl Cyrillic
cyrl.MKD Cyrillic/Macedonian
cyrl.SRB Cyrillic/Serbian
geor Georgian
grek Greek
hani CJK Ideographic
hebr Hebrew
kana Hiragana/Katakana
lao Lao
latn Latin
latn.ISM Latin/Inari Sami
latn.KSM Latin/Kildin Sami
latn.LSM Latin/Lule Sami
latn.MOL Latin/Moldavian
latn.NSM Latin/Northern Sami
latn.ROM Latin/Romanian
latn.SKS Latin/Skolt Sami
latn.SSM Latin/Southern Sami
math Mathematical Alphanumeric Symbols
nko N'Ko
ogam Ogham
runr Runic
tfng Tifinagh
thai Thai
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels