#29122: A better font for Persian/Farsi
-------------------------------------+-------------------------------------
Reporter: Mohammad | Owner: nobody
Hossein Mojtahedi |
Type: New | Status: new
feature |
Component: | Version: 2.0
contrib.admin | Keywords: Persian, font,
Severity: Normal | Farsi
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 1 |
-------------------------------------+-------------------------------------
Hi,
By every definition of design, Tahoma, Arial, Times New Roman and other
default fonts are horrible in Persian (Farsi) script and can't be read
properly.
There is this fantastic font called [https://github.com/rastikerdar/vazir-
font Vazir] which has become the industry standard in open-source fonts.
Should we fix this in Django admin? How?
Should it be like this:
{{{#!css
html[lang='fa-IR']{
font-family: 'Vazir', tahoma, Arial !important;
}
html[lang='fa-IR'] code,
html[lang='fa-IR'] pre,
html[lang='fa-IR'] kbd{
font-family: 'Vazir-code', "Bitstream Vera Sans Mono", Monaco,
"Courier New", Courier, monospace; // Vazir-Code is a monospace font based
on Vazir
}
}}}
And have a @font-face block before it or a {{{<link>}}} in HTML?
I'm looking for an approach that considers performance, font load time,
multilingual.
Or even more options for the future. Maybe even a SETTING variable which
people could easily load a font for their admin, regardless of language.
--
Ticket URL: <https://code.djangoproject.com/ticket/29122>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/050.512c7b03656ed2c493b17d806930a022%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.