Skip to content

Commit

Permalink
\familytype -> \l_xpg_familytype_tl
Browse files Browse the repository at this point in the history
  • Loading branch information
Udi-Fogiel committed May 31, 2024
1 parent 4d225fa commit 2d1cd78
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tex/polyglossia.sty
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@
{ \prop_item:Ne \l_xpg_langsetup_prop { \languagename / langtag } }
{ \prop_item:Ne \l_xpg_langsetup_prop { \languagename / language } }
}
\tl_set:Nn \familytype { #1 }
\tl_set:Nn \l_xpg_familytype_tl { #1 }
}
}
Expand Down Expand Up @@ -1455,7 +1455,7 @@
\cs_new:Nn \xpg_set_familydefault:
{
\tl_set:Ne \familytype
\tl_set:Ne \l_xpg_familytype_tl
{
\str_case_e:nnF { \familydefault }
{
Expand All @@ -1467,7 +1467,7 @@
\cs_set_nopar:Npn \xpg_select_fontfamily:
{
\str_case:Vn \familytype
\str_case:Vn \l_xpg_familytype_tl
{
{ rm } { \rmfamily }
{ sf } { \sffamily }
Expand All @@ -1480,7 +1480,7 @@
\cs_set_protected_nopar:Npn \normalfont
{
\xpg_set_familydefault:
\use:c { \familytype family }
\use:c { \l_xpg_familytype_tl family }
\fontseries \seriesdefault
\fontshape \shapedefault
\hook_use:n { normalfont }
Expand Down

0 comments on commit 2d1cd78

Please sign in to comment.