Update font for Persian language (Vazir 30.1 -> Vazirmatn 32.1) (#1763)
This commit is contained in:
parent
07ffad4425
commit
513444ec94
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
src/assets/fonts/Vazirmatn-NL-Medium.woff
Normal file
BIN
src/assets/fonts/Vazirmatn-NL-Medium.woff
Normal file
Binary file not shown.
BIN
src/assets/fonts/Vazirmatn-NL-Medium.woff2
Normal file
BIN
src/assets/fonts/Vazirmatn-NL-Medium.woff2
Normal file
Binary file not shown.
BIN
src/assets/fonts/Vazirmatn-NL-Regular.woff
Normal file
BIN
src/assets/fonts/Vazirmatn-NL-Regular.woff
Normal file
Binary file not shown.
BIN
src/assets/fonts/Vazirmatn-NL-Regular.woff2
Normal file
BIN
src/assets/fonts/Vazirmatn-NL-Regular.woff2
Normal file
Binary file not shown.
@ -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;
|
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-face {
|
||||||
font-family: Vazir;
|
font-family: Vazirmatn;
|
||||||
src: url('Vazir-Regular-WOL.woff2') format('woff2'),
|
src: url('Vazirmatn-NL-Regular.woff2') format('woff2'),
|
||||||
url('Vazir-Regular-WOL.woff') format('woff');
|
url('Vazirmatn-NL-Regular.woff') format('woff');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-display:swap;
|
font-display:swap;
|
||||||
unicode-range:U+0627-06FF;
|
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-face {
|
||||||
font-family: Vazir;
|
font-family: Vazirmatn;
|
||||||
src: url('Vazir-Medium-WOL.woff2') format('woff2'),
|
src: url('Vazirmatn-NL-Medium.woff2') format('woff2'),
|
||||||
url('Vazir-Medium-WOL.woff') format('woff');
|
url('Vazirmatn-NL-Medium.woff') format('woff');
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-display:swap;
|
font-display:swap;
|
||||||
unicode-range: U+0600-06FF;
|
unicode-range: U+0600-06FF;
|
||||||
|
|||||||
@ -38,12 +38,12 @@ body.is-macos {
|
|||||||
|
|
||||||
html[lang="fa"],
|
html[lang="fa"],
|
||||||
html[lang="fa"] body {
|
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;
|
Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||||
|
|
||||||
&.is-ios,
|
&.is-ios,
|
||||||
&.is-macos {
|
&.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;
|
Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user