Closed
Bug 843592
Opened 11 years ago
Closed 11 years ago
Indic fonts are not available in B2G
Categories
(Firefox OS Graveyard :: General, defect)
Firefox OS Graveyard
General
Tracking
(blocking-b2g:koi+, b2g-v1.2 fixed)
Tracking | Status | |
---|---|---|
b2g-v1.2 | --- | fixed |
People
(Reporter: tuxboy, Assigned: jfkthame)
References
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.70 Safari/537.17 Steps to reproduce: Tried to display text written in UTF-8 Bangla (Indic language). Actual results: UTF-8 Indic text did not render properly. Expected results: UTF-8 text should have rendered properly.
Comment 1•11 years ago
|
||
The repo where we store our fonts is at https://github.com/mozilla-b2g/moztt, fyi.
Blocks: 842592
Reporter | ||
Comment 2•11 years ago
|
||
Sent the first ever pull request to the moztt repo! (:D) https://github.com/mozilla-b2g/moztt/pull/1
Assignee | ||
Comment 3•11 years ago
|
||
Excellent, that's just what I was going to suggest we should do. :) BTW, the Lohit fonts are distributed under the Open Font License. Do we need to go through some kind of license review/approval process in order to include these? See also https://fedorahosted.org/lohit/.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter | ||
Comment 4•11 years ago
|
||
No, it is Okay to continue according to Wikipedia.
Comment 5•11 years ago
|
||
Patryk, what do you think?
Updated•11 years ago
|
Flags: needinfo?(padamczyk)
Assignee | ||
Comment 6•11 years ago
|
||
(In reply to Aniruddha Adhikary from comment #4) > No, it is Okay to continue according to Wikipedia. I don't think Wikipedia is the final authority on Mozilla licensing policy. :) http://www.mozilla.org/MPL/license-policy.html "If you are planning to import new Third Party Code into a Mozilla repository or a Mozilla product, always consult licensing@mozilla.org first."
Reporter | ||
Comment 7•11 years ago
|
||
Should I send a mail there? I think you guys should check it!
Comment 8•11 years ago
|
||
OFL is OK - we have some OFLed fonts already. We need to make sure this code gets covered by the scan which generates the licensing page, so a copy of its OFL gets in. (The OFL text is font-specific <sigh>). Gerv
Assignee | ||
Comment 9•11 years ago
|
||
Thanks, Gerv - yes, I didn't expect OFL to be a problem as such, but wasn't sure what mechanisms might be involved to make sure any needed documentation is handled properly.
Reporter | ||
Comment 10•11 years ago
|
||
I have included the license text in OFL.txt in my latest commit to the pull request. (Also included the COPYRIGHT file attached with the tar archive)
Reporter | ||
Comment 11•11 years ago
|
||
Comment 12•11 years ago
|
||
(In reply to Michael Wu [:mwu] from comment #5) > Patryk, what do you think? Sorry for the late reply. But yes at this point since we're not release to these markets please us open fonts as substitutes.
Flags: needinfo?(padamczyk)
Reporter | ||
Comment 13•11 years ago
|
||
Guys, according to TechChrunch (http://techcrunch.com/2013/02/24/firefox-os-smartphones-marketplace/) , B2G phones are coming to Bangladesh pretty soon via Telenor (known as GrameenPhone locally), shouldn't we add such support soon?
Reporter | ||
Comment 14•11 years ago
|
||
I am still alive! Since these are all open fonts, I think they can be used in B2G. Waiting for the bug to progress.
Comment 15•11 years ago
|
||
FWIW we actually have Indic fonts enabled for a number of devices coming up, but it's Android's set of Indic fonts, which isn't the full set being proposed here. See https://android.googlesource.com/platform/external/lohit-fonts/+/ics-plus-aosp for that set.
Comment 16•11 years ago
|
||
I recall coming across a bug that asked to rip out the fonts we picked up from android, but I had no idea how to find that right now. Do you know if that's still a topic? Also, does "number of devices coming up" tie to a version number of fx os, or is that some independent switch that partners may flip in one direction or the other?
Comment 17•11 years ago
|
||
(In reply to Axel Hecht [:Pike] from comment #16) > I recall coming across a bug that asked to rip out the fonts we picked up > from android, but I had no idea how to find that right now. Do you know if > that's still a topic? > https://bugzilla.mozilla.org/show_bug.cgi?id=834244 Not all Android fonts were removed. The work for that is complete, though more fonts will be up for being removed once more things are supported in Feura Sans. > Also, does "number of devices coming up" tie to a version number of fx os, > or is that some independent switch that partners may flip in one direction > or the other? It related to whether our partners include the lohit font repo in their manifest. All 1.0 and 1.1 devices I know of will have them turned on.
Comment 18•11 years ago
|
||
Any update on this? I can't see bangla on keon with latest update
Comment 19•11 years ago
|
||
(In reply to Patryk Adamczyk [:patryk] UX from comment #12) > ... But yes at this point since we're not release to > these markets please us open fonts as substitutes. I can vaguely understand the statement, and then find it wrong. Any particular blocker for this patch to be committed? Practical, theoritical, philosophical?
Comment 20•11 years ago
|
||
I cannot see most of the characters when using Unagi (m-c) http://en.wikipedia.org/wiki/Hindi#Sample_text It that is the case, Michael, can you help on this? -- I was using the build from (this is for Mozilla internal only) https://pvtbuilds.mozilla.org/pub/mozilla.org/b2g/nightly/mozilla-central-unagi-eng/
Flags: needinfo?(mwu)
Comment 21•11 years ago
|
||
(In reply to Rudy Lu [:rudyl] from comment #20) > I cannot see most of the characters when using Unagi (m-c) > http://en.wikipedia.org/wiki/Hindi#Sample_text > > It that is the case, Michael, can you help on this? > > -- > I was using the build from (this is for Mozilla internal only) > https://pvtbuilds.mozilla.org/pub/mozilla.org/b2g/nightly/mozilla-central- > unagi-eng/ Download the noto hinted fonts and compress them: https://code.google.com/p/noto/downloads/detail?name=NotoFonts-hinted-2013-04-11.zip&can=2&q= Connect your b2g device to the PC. Mount the partition adb shell mount -o remount,rw /system Copy the font files adb push ../hinted/ /system/fonts/ Reboot!
Comment 22•11 years ago
|
||
Sorry, Typo in my last comment. I mean to say un-compress/unzip the fonts
Comment 23•11 years ago
|
||
Hindi Sample text on Peak with noto hinted fonts https://twitter.com/playingwithsid/status/377239544443047936/photo/1
Comment 24•11 years ago
|
||
(In reply to Rudy Lu [:rudyl] from comment #20) > I cannot see most of the characters when using Unagi (m-c) > http://en.wikipedia.org/wiki/Hindi#Sample_text > > It that is the case, Michael, can you help on this? > Unagi doesn't count. You'll have to check a commercial build.
Flags: needinfo?(mwu)
Comment 25•11 years ago
|
||
This enables noto fonts on our jb gonk builds. Commercial builds will likely use this regardless of whether we enable it in our builds or not, unless we explicitly decide to do something different and ask our partners to change the defaults.
Assignee: nobody → mwu
Attachment #808956 -
Flags: review?(jfkthame)
Comment 26•11 years ago
|
||
Here is the noto fonts repo for reference - https://android.googlesource.com/platform/external/noto-fonts/+/master
Assignee | ||
Comment 27•11 years ago
|
||
(In reply to Michael Wu [:mwu] from comment #26) > Here is the noto fonts repo for reference - > https://android.googlesource.com/platform/external/noto-fonts/+/master This Noto collection seems very incomplete; it only appears to include support for Bengali, Kannada, Malayalam and Telugu at this point, even though the Noto font list at https://code.google.com/p/noto/wiki/FontList also has Hindi and Tamil (as well as various non-Indic scripts...) What's up with this? If it means many of the scripts in Noto aren't really ready for prime time, maybe we should be bundling the more mature Lohit collection instead. These would also cover other (very major) Indic scripts such as Gujarati, Gurmukhi (Punjabi) and Oriya.
Comment 28•11 years ago
|
||
I think Android has always limited its Indic script support to about three - see their Lohit font repo: https://android.googlesource.com/platform/external/lohit-fonts/+/master . This is the default set of Indic fonts that gets shipped - we'll have to work with our partners if we want to add or switch fonts.
Comment 29•11 years ago
|
||
@jfkthame Noto[1] is supposed to provide high quality fonts. It doesn't offer extensive Indic language coverage as Lohit family. I believe that Noto is supposed to super-cede Lohit in Android. Suggest we use a noto font when available and otherwise fall back to Lohit. @mwu Thanks for the patch :) [1] http://code.google.com/p/noto/wiki/FontList
Comment 30•11 years ago
|
||
I just love to link-drop http://www.thehindubusinessline.com/industry-and-economy/info-tech/samsung-phones-to-support-9-indian-languages/article5018907.ece. There are actually extensive changes on top of Android to make India work, it seems.
Blocks: 919988
Assignee | ||
Comment 31•11 years ago
|
||
Comment on attachment 808956 [details] [diff] [review] Add noto-fonts to base-jb.xml manifest Review of attachment 808956 [details] [diff] [review]: ----------------------------------------------------------------- Looking again at the external/noto-fonts directory referenced here, I really don't think we should be using it as the basis for what we include in b2g. Instead, we should pull fonts from the canonical repository on code.google.com (e.g. https://code.google.com/p/noto/source/browse/#svn%2Ftrunk%2Fpackages), and then choose which ones to include in the b2g platform. Maybe the best way to do this is to copy the latest font files into the moztt repo, if we can't directly reference the Google Code sources here.
Attachment #808956 -
Flags: review?(jfkthame) → review-
Comment 32•11 years ago
|
||
Yeah, if you want the latest noto fonts, we'll have to do it ourselves in moztt, and make sure people aren't using the noto repo.
Comment 33•11 years ago
|
||
MAK says to ask Jamil about the noto fonts.
Assignee | ||
Comment 34•11 years ago
|
||
Axel tells me a number of Indian users have spoken in favor of using the Lohit fonts. I think we should go ahead and get these into the build, so that people can begin to try them out; we may also want to add Noto fonts, and make some test builds for comparison and review purposes, but at this point the Lohit set provides more complete coverage for the major Indian languages.
Attachment #814015 -
Flags: review?(mwu)
Comment 35•11 years ago
|
||
This looks ok, but now we'll have to ask people to drop Android's Lohit and Noto font sets. m1, are you ok with dropping lohit-fonts from ICS manifests and noto-fonts from JB manifests?
Flags: needinfo?(mvines)
Comment 36•11 years ago
|
||
Alternately, the product makefiles can be modified to not pull in those particular fonts, but dropping repos from the manifest seems simpler to me if it's a valid option.
Comment 37•11 years ago
|
||
Comment on attachment 814015 [details] [review] Lohit fonts pull request This looks fine to me, but we'll need to coordinate this with m1 before landing.
Attachment #814015 -
Flags: review?(mwu) → review+
Comment 38•11 years ago
|
||
Weird, I swear I commented on this bug days ago.
> m1, are you ok with dropping lohit-fonts from ICS manifests and noto-fonts from JB manifests?
Yep.
Flags: needinfo?(mvines)
Comment 39•11 years ago
|
||
Requesting koi as this blocks Bangla, which is on our list for 1.2. Also, it looks like this patch is ready to land?
blocking-b2g: --- → koi?
Updated•11 years ago
|
Assignee: mwu → jfkthame
Keywords: checkin-needed
Comment 40•11 years ago
|
||
Master: https://github.com/mozilla-b2g/moztt/commit/3cb006b0299e456865d70312549eb5b3c885c509
Status: NEW → RESOLVED
Closed: 11 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 1.3 Sprint 3 - 10/25
Updated•11 years ago
|
Attachment mime type: text/plain → text/x-github-pull-request
Updated•11 years ago
|
Attachment mime type: text/plain → text/x-github-pull-request
Comment 41•11 years ago
|
||
Just to confirm, this bug is not needed in 1.2. Please confirm.
Flags: needinfo?(l10n)
Comment 42•11 years ago
|
||
(In reply to Axel Hecht [:Pike] from comment #39) > Requesting koi as this blocks Bangla, which is on our list for 1.2. > > Also, it looks like this patch is ready to land? Why do you ask again, preeti?
Flags: needinfo?(l10n)
Updated•11 years ago
|
blocking-b2g: koi? → koi+
Updated•11 years ago
|
status-b2g-v1.2:
--- → affected
You need to log in
before you can comment on or make changes to this bug.
Description
•