Skip to content

Commit

Permalink
add some extra description to the no-script and no-language warnings
Browse files Browse the repository at this point in the history
see #507
  • Loading branch information
wspr committed Apr 16, 2024
1 parent 68925f5 commit edde403
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion fontspec-code-msg.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@
Language '#1' not available
for font '\l_fontspec_fontname_tl'
with script '\l_@@_script_name_tl'.
Check the typeset output, and if it is okay the 'Language'
does not need to be explicitly declared.
Otherwise a different font should be chosen.
}
\@@_msg_new:nn {only-xetex-feature}
{
Expand Down Expand Up @@ -203,7 +206,7 @@
The~"#1"~package~option~is~obsolete.~TU~is~the~default~encoding.
}
%</options>
%<*fontspec>
%<*fontspec>
\@@_msg_new:nn {font-index-needs-ttc}
{
The "FontIndex" feature is only supported by TTC (TrueType Collection) fonts.\\
Expand Down Expand Up @@ -241,6 +244,9 @@
\@@_msg_new:nn {no-script}
{
Font "#1" does not contain requested Script "#2".
Check the typeset output, and if it is okay the 'Script'
does not need to be explicitly declared.
Otherwise a different font should be chosen.
}
\@@_msg_new:nn {opa-twice}
{
Expand Down

0 comments on commit edde403

Please sign in to comment.