Closed Bug 956679 Opened 11 years ago Closed 11 years ago

DroidSansThai.ttf is not found in gonk-kk

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED
1.3 C2/1.4 S2(17jan)

People

(Reporter: seinlin, Assigned: seinlin)

References

Details

Attachments

(1 file)

DroidSansThai.ttf is not found in gonk-kk, without this Thai language can't be displayed correctly. I think we can make a local copy from jb.
Attachment #8356059 - Flags: review?(mwu)
Blocks: gonk-kk
FWIW - Droid Sans Thai was removed in kitkat since Android decided to use Noto Sans. See https://android.googlesource.com/platform/frameworks/base/+/531dfc45735eb0f1c5a452747b9261a0a6d2f182 .

This PR will make us continue to use Droid Sans Thai, but I wonder if Noto Sans might be better for this purpose. At any rate, we should merge this to support kitkat.
Attachment #8356059 - Flags: review?(mwu) → review+
Keywords: checkin-needed
Looks to me like the Thai glyphs in Noto are simply copied from the older Droid Sans font. However, the Noto repository also has a Bold weight, whereas AFAIK there was only a Regular weight of Droid Sans Thai.

I suppose going forward, it may be more likely Google will maintain/enhance the Noto version, as that's where they're focusing efforts these days. So adopting this in Gonk as well may be preferable. All that should require is replacing the font itself, and changing the default names in gfx/thebes/gfxAndroidPlatform.cpp and modules/libpref/src/init/all.js.

In particular, if we're [going to be] shipping in the Thai market it'd be nice to switch to the Noto version of the font with its real Bold face.
Master: https://github.com/mozilla-b2g/moztt/commit/96d2d00165f4561fbde62d1062706eab74b3a01f
Status: NEW → RESOLVED
Closed: 11 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Assignee: nobody → kli
Target Milestone: --- → 1.3 C2/1.4 S2(17jan)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: