Closed Bug 993709 Opened 10 years ago Closed 10 years ago

Improve font selection for Simplified Chinese (zh-CN)

Categories

(www.mozilla.org :: Pages & Content, defect)

Production
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kohei, Assigned: kohei)

References

()

Details

(Whiteboard: [kb=1389928] )

Attachments

(1 file)

44 bytes, text/x-github-pull-request
Details | Review
+++ This bug was initially created as a clone of Bug #993701 +++

As part of 973396, I'm preparing the locale-specific CSS for Simplified Chinese (zh-CN) locale. It would be nice if Hebrew localizers could complete the CSS:

@font-face {
  font-family: X-LocaleSpecific;
  font-weight: normal;
  src: /* All */
       /* OS X */
       local(FZLTXHK--GBK1-0), /* = Lantinghei SC Extralight */
       local(HiraginoSansGB-W3),
       /* Windows */
       local('Microsoft YaHei Light'),
       /* Linux */
       local(DroidSansFallbackFull)
       /* Android */
       ;
}

@font-face {
  font-family: X-LocaleSpecific;
  font-weight: bold;
  src: /* All */
       /* OS X */
       local(FZLTZHK--GBK1-0), /* = Lantinghei SC Demibold */
       local(HiraginoSansGB-W6),
       /* Windows */
       local('Microsoft YaHei Bold'),
       /* Linux */
       local(DroidSansFallbackFull)
       /* Android */
       ;
}

@font-face {
  font-family: X-LocaleSpecific-Extrabold;
  font-weight: 800;
  src: /* All */
       /* OS X */
       local(FZLTTHK--GBK1-0), /* = Lantinghei SC Heavy */
       local(HiraginoSansGB-W6),
       /* Windows */
       local('Microsoft YaHei Bold'),
       /* Linux */
       local(DroidSansFallbackFull)
       /* Android */
       ;
}

/* Bug 973171 */

* {
  font-style: normal !important;
}
Hao, can you take a look at the locale-specific CSS in my comment 0? I have chosen some as the best-looking Simplified Chinese fonts but your corrections and additions are welcome :) Thanks!
Flags: needinfo?(steekid)
Note that we are choosing locale-specific fonts that go great with the default Open Sans font. There might be some sans serif fonts depending on your platform so please find the best-looking one.
It looks very well. I endorse this selection.
Flags: needinfo?(steekid)
Thanks Hao for your confirmation!
Assignee: nobody → kohei.yoshino
Status: NEW → ASSIGNED
Whiteboard: [kb=1389928]
Attached file pull request
Sent a pull request as Bug 973396 has been resolved.
Commits pushed to master at https://github.com/mozilla/bedrock

https://github.com/mozilla/bedrock/commit/0bff32531fd33b97808c9034b9e52431f4ee85d5
Fix Bug 993709 - Improve font selection for Simplified Chinese (zh-CN)

And removed unnecessary comments in zh-TW.

https://github.com/mozilla/bedrock/commit/c58dba473f269ffd7e4be41d3508df5ecc143614
Merge pull request #2126 from kyoshino/bug-993709-zhcn-locale-font

Fix Bug 993709 - Improve font selection for Simplified Chinese (zh-CN)
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: