Add Vazir Font #787
レビューアなし
ラベル
ラベルなし
A: API
A: Backend
A: Federation
A: Front-End
A: I18N
A: Meta
A: Security
Build
C: Bug
C: Discussion
C: Enhancement
C: Feature
Compatibility
Dependency
Design
Documentation
Good first issue
Help welcome
Mobile
Rendering
S: Blocked
S: Duplicate
S: Incomplete
S: Instance specific
S: Invalid
S: Needs Voting/Discussion
S: Ready for review
Suggestion
S: Voted on Loomio
S: Wontfix
マイルストーンなし
プロジェクトなし
担当者なし
1 人の参加者
通知
期日
期日は未設定です。
依存関係
依存関係が設定されていません。
リファレンス: Plume/Plume#787
読み込み中…
Add table
新しいイシューから参照
説明はありません。
ブランチ "theMasix" の削除
ブランチの削除は恒久的です。 実際に削除されるまでの短い期間、ブランチが存在したままになることもありますが、たいていは元に戻すことはできません。 続行しますか?
I added the Vazir Font based on a request from #783
👀
as long as the lines don't get excessively long, why not keep this inline?
@ -4,3 +3,1 @@
@import url('./fonts/Route159/Route159.css');
@import url('./fonts/Lora/Lora.css');
@import url('./fonts/Playfair_Display/PlayfairDisplay.css');
@import url("./feather.css");
what's the license are these files?
Codecov Report
VSCode Prettier extension did this.
@ -4,3 +3,1 @@
@import url('./fonts/Route159/Route159.css');
@import url('./fonts/Lora/Lora.css');
@import url('./fonts/Playfair_Display/PlayfairDisplay.css');
@import url("./feather.css");
License added.
since i'm not sure it's that much "prettier", or more readable for that matter, could we put this back into one line each?
after that it should be good to merge
fixed.
Thank you for your PR! 😊 I still have a small change request, and then we should be good to merge!
This font is for the interface. Maybe you could also import the Shabnam font as suggested in #783 instead of Vizir for this one? This can be done in another PR, but if you don't want to do it in this one, could you at least restore Route159? It looks like there are some margin issues with this font on some buttons (but not in other places strangely).
(it is quite subtle, but the text is not perfectly centered vertically)
could we do what was suggested and only enable this for certain Unicode ranges?
🙋♀️
@ -0,0 +6,4 @@
url('Vazir-WOL.woff') format('woff'),
url('Vazir-WOL.ttf') format('truetype');
font-weight: normal;
font-style: normal;
we could add
unicode-range
hereunfortunately, those being the same as Arabic, might break Arabic texts.
@DearRude, what do you think?
@ -0,0 +6,4 @@
url('Vazir-WOL.woff') format('woff'),
url('Vazir-WOL.ttf') format('truetype');
font-weight: normal;
font-style: normal;
Just like English and German, Persian and Arabic have common characters. We would not be able to cut down Arabic by
unicode-range
.However, I suggest using Vazir and Shamim fonts for Arabic too. Since those fonts fully support Arabic and have been used in other projects in Arabic, I won't be a bad idea if we support both.
I can provide range of unicode in Persian and Arabic together if needed.
I believe using non-Latin one would have the same effect. If we prioritize it, only Persian and Arabic chars will be effected.
@ -0,0 +6,4 @@
url('Vazir-WOL.woff') format('woff'),
url('Vazir-WOL.ttf') format('truetype');
font-weight: normal;
font-style: normal;
the ranges are well documented, https://en.m.wikipedia.org/wiki/Arabic_script_in_Unicode but excessive
so i think we should use the non-Latin variants of the scripts.
@ -0,0 +6,4 @@
url('Vazir-WOL.woff') format('woff'),
url('Vazir-WOL.ttf') format('truetype');
font-weight: normal;
font-style: normal;
This
Vazir-WOL
is a non-latin package. But as @dearrude said, Persian and Arabic has some common characters.@ -0,0 +6,4 @@
url('Vazir-WOL.woff') format('woff'),
url('Vazir-WOL.ttf') format('truetype');
font-weight: normal;
font-style: normal;
WOL ➡️ Without Latin
so how come @elegaanz noticed those issues with the centering of the text? what's going on?
@ -0,0 +6,4 @@
url('Vazir-WOL.woff') format('woff'),
url('Vazir-WOL.ttf') format('truetype');
font-weight: normal;
font-style: normal;
As @elegaanz said, It's an strange issue and I don't know if
Shabnam
could fix it or not!@ -0,0 +6,4 @@
url('Vazir-WOL.woff') format('woff'),
url('Vazir-WOL.ttf') format('truetype');
font-weight: normal;
font-style: normal;
let's try!
@ -0,0 +6,4 @@
url('Vazir-WOL.woff') format('woff'),
url('Vazir-WOL.ttf') format('truetype');
font-weight: normal;
font-style: normal;
Shabnam-WOL
Added. @igalic @elegaanzPerfect! Thank you!