-
Notifications
You must be signed in to change notification settings - Fork 23
Font fallback should allow selection of a Nastaliq font #276
Copy link
Copy link
Open
Labels
doc:arab_ksdoc:arab_urdoc:arfagapThe first comment in this issue is read by the gap-analysis document.The first comment in this issue is read by the gap-analysis document.i:fontsFonts & font stylesFonts & font stylesl:arbArabicArabicl:ksKashmiriKashmiril:pesPersianPersianl:urUrduUrdup:basicThe gap-analysis priority is Basic.The gap-analysis priority is Basic.s:arabArabic script (Used for arb + pes)Arabic script (Used for arb + pes)s:aranArabic nastaliq script styleArabic nastaliq script stylex:alreqx:arab-ksx:arab-ugx:blinkx:css-fontsx:geckox:webkit
Metadata
Metadata
Assignees
Labels
doc:arab_ksdoc:arab_urdoc:arfagapThe first comment in this issue is read by the gap-analysis document.The first comment in this issue is read by the gap-analysis document.i:fontsFonts & font stylesFonts & font stylesl:arbArabicArabicl:ksKashmiriKashmiril:pesPersianPersianl:urUrduUrdup:basicThe gap-analysis priority is Basic.The gap-analysis priority is Basic.s:arabArabic script (Used for arb + pes)Arabic script (Used for arb + pes)s:aranArabic nastaliq script styleArabic nastaliq script stylex:alreqx:arab-ksx:arab-ugx:blinkx:css-fontsx:geckox:webkit
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Browser bug raised
This issue is applicable to Urdu, Kashmiri, and other Arabic script orthographies.
Languages such as Urdu and Kashmiri are written in a nastaliq style of Arabic, and authors will typically want any font fallback to select another nastaliq font, rather than a naskh or other font.
More:
The GAP
Currently there is no way to tell the browser to fall back to a nastaliq font, rather than a naskh or other font.
Neither Gecko, Blink, nor Webkit support this. Before they can, CSS needs to provide a way for authors to indicate that a nastaliq generic font should be used.
Priority
This is a high priority for languages such as Urdu and Kashmiri, where nastaliq fonts are the norm, and incorrect substitutions may cause readability and cultural issues. It is also a useful feature for other languages, such as Persian or Kurdish, where nastaliq styles may be used for certain types of text.
Tests & results
Interactive test, font-family:generic(nastaliq) will apply a nastaliq font in Urdu
Action taken
Discussion document: Generic font families
CSS discussion threads:
Bug reports:
Gecko • Blink • Webkit
Outcomes
The CSS Fonts 4 spec now defines a generic(ident) syntax which will be used for newly-introduced, and especially for script-specific, generics.
generic(nastaliq) has been added as one of the generic family names.
Browsers are not yet supporting that.