From 0a51199e9224ab7c9796b2342b27672cfa5b30e2 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Fri, 3 Nov 2023 12:13:31 -0700 Subject: [PATCH] CLDR-16595 Use Noto Nastaliq Urdu in surveytool for Kashmiri and Urdu --- tools/cldr-apps/src/main/webapp/surveytool.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tools/cldr-apps/src/main/webapp/surveytool.css b/tools/cldr-apps/src/main/webapp/surveytool.css index e128ce4f139..84c82fa3a96 100644 --- a/tools/cldr-apps/src/main/webapp/surveytool.css +++ b/tools/cldr-apps/src/main/webapp/surveytool.css @@ -5,6 +5,7 @@ /* TODO: should load this locally via webpack, see https://unicode-org.atlassian.net/browse/CLDR-9195 */ @import url("//fonts.googleapis.com/css?family=Noto+Sans:400italic,700italic,400,700"); @import url("//fonts.googleapis.com/css?family=Noto+Sans+Symbols:400italic,700italic,400,700"); +@import url("//fonts.googleapis.com/css?family=Noto+Nastaliq+Urdu"); span.age { font-weight: bold; @@ -1683,7 +1684,7 @@ table#voteinfo thead th:first-child { */ .cldrValue { white-space: pre-wrap; - /* See the top of this file for language specific CSS, including specific + /* See the the section below this one for language specific CSS, including specific font overrides. */ font-family: "Noto Sans", "Noto Sans Symbols", @@ -1702,6 +1703,13 @@ The the following can work here: */ +/* Kashmiri and Urdu are typically in Nastaliq. Kashmiri in particular uses a letter that is + not rendered correctly in Noto Naskh (see CLDR-16595) */ + +:lang(ks), :lang(ur) { + font-family: "Noto Nastaliq Urdu"; +} + /* The following is directly includeable as per https://github.com/saturngod/mmwebfonts/issues/4 */ @font-face { font-family:'MON3 Anonta 1';