Add Vazir Font #787
No reviewers
Labels
No labels
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
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Plume/Plume#787
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "theMasix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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-rangehereunfortunately, 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-WOLis 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
Shabnamcould 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-WOLAdded. @igalic @elegaanzPerfect! Thank you!