]> git.lyx.org Git - lyx.git/commitdiff
Fix font def
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 16 Sep 2024 06:48:28 +0000 (08:48 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 16 Sep 2024 06:48:28 +0000 (08:48 +0200)
autotests/export/latex/languages/supported-languages_polyglossia-XeTeX.lyx
autotests/export/latex/languages/supported-languages_polyglossia.lyx

index 719d8a6396954dc269203f1c97a6871fc4221ad1..83b40e64db671b3df154395ad0c0d4613f9b3430 100644 (file)
@@ -23,8 +23,8 @@
 \newfontfamily\thaanafont{FreeSerif} % prevent "missing script tag" error
 %\newfontfamily\thaanafont{Noto Sans Thaana} % works, too
 \newfontfamily\tibetanfont{Noto Serif Tibetan}
-\newfontfamily\CJKfont{IPAexMincho}
-\newfontfamily\CJKfontsf{IPAexGothic}
+\newfontfamily\chinesefont[script=CJK]{IPAexMincho}
+\newfontfamily\chinesefontsf[script=CJK]{IPAexGothic}
 \newfontfamily\japanesefont[script=CJK]{IPAexMincho}
 \end_preamble
 \use_default_options false
index f0448581b881d9156a43f5f76f8055bb7e39d7bf..917263a6a0b6668139c2780d2f483b49539cc53d 100644 (file)
@@ -24,8 +24,8 @@
 \newfontfamily\thaanafont{FreeSerif}  % missing script tag in FreeSerif
 %\newfontfamily\thaanafont{Noto Sans Thaana} % works, too
 \newfontfamily\tibetanfont{Noto Sans Tibetan}
-\newfontfamily\CJKfont{IPAexMincho}
-\newfontfamily\CJKfontsf{IPAexGothic}
+\newfontfamily\chinesefont[script=CJK]{IPAexMincho}
+\newfontfamily\chinesefontsf[script=CJK]{IPAexGothic}
 \newfontfamily\japanesefont[script=CJK]{IPAexMincho}
 
 % Needed for churchslavonic which is an extra package