Update font for Persian language (Vazir 30.1 -> Vazirmatn 32.1) (#1763)

This commit is contained in:
Alexander Zinchuk 2022-03-19 21:18:46 +01:00
parent 07ffad4425
commit 513444ec94
10 changed files with 10 additions and 10 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -125,21 +125,21 @@
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Persian, v30.1.0, https://github.com/rastikerdar/vazir-font */
/* Persian, v32.0.0, https://github.com/rastikerdar/vazirmatn */
@font-face {
font-family: Vazir;
src: url('Vazir-Regular-WOL.woff2') format('woff2'),
url('Vazir-Regular-WOL.woff') format('woff');
font-family: Vazirmatn;
src: url('Vazirmatn-NL-Regular.woff2') format('woff2'),
url('Vazirmatn-NL-Regular.woff') format('woff');
font-weight: normal;
font-display:swap;
unicode-range:U+0627-06FF;
}
/* Persian, v30.1.0, https://github.com/rastikerdar/vazir-font */
/* Persian, v32.0.0, https://github.com/rastikerdar/vazirmatn */
@font-face {
font-family: Vazir;
src: url('Vazir-Medium-WOL.woff2') format('woff2'),
url('Vazir-Medium-WOL.woff') format('woff');
font-family: Vazirmatn;
src: url('Vazirmatn-NL-Medium.woff2') format('woff2'),
url('Vazirmatn-NL-Medium.woff') format('woff');
font-weight: 500;
font-display:swap;
unicode-range: U+0600-06FF;

View File

@ -38,12 +38,12 @@ body.is-macos {
html[lang="fa"],
html[lang="fa"] body {
font-family: "Vazir", "Roboto", -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI", Oxygen, Ubuntu,
font-family: "Vazirmatn", "Roboto", -apple-system, BlinkMacSystemFont, "Apple Color Emoji", "Segoe UI", Oxygen, Ubuntu,
Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
&.is-ios,
&.is-macos {
font-family: "Vazir", -apple-system, BlinkMacSystemFont, "Roboto", "Apple Color Emoji", "Segoe UI", Oxygen, Ubuntu,
font-family: "Vazirmatn", -apple-system, BlinkMacSystemFont, "Roboto", "Apple Color Emoji", "Segoe UI", Oxygen, Ubuntu,
Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}
}