Closed
Bug 1059213
Opened 10 years ago
Closed 10 years ago
[woodduck] [clock] stopwatch digits jerky
Categories
(Firefox OS Graveyard :: Gaia::Clock, defect)
Tracking
(blocking-b2g:2.0M+, b2g-v2.0M verified)
People
(Reporter: hlu, Assigned: mwu)
References
Details
(Whiteboard: [2.0-woodduck-test-run-1])
Attachments
(6 files)
Description: stopwatch digits jerky Repro Steps: 1. Launch Clock 2. Switch to Stopwatch tab 3. Click Start Actual: stopwatch digits jerky Expected: Stopewatch digits without jerky Environment: Gaia d72f8ad53448aed577c01ff6e11d958463f261e7 Gecko 0c4e7a915f4bd9a27f3935384a8a676b46d67432 BuildID 20140827115744 Version 32.0 ro.build.version.incremental=1409111118 ro.build.date=Wed Aug 27 11:45:43 CST 2014
Updated•10 years ago
|
Flags: needinfo?(ehung)
Comment 1•10 years ago
|
||
Hi Evelyn, Could you please check it first? Thanks Sincerely, Wayne
Comment 2•10 years ago
|
||
It's a font problem. The number '1' is obviously thinner than other digits. Do we have correct system font files in /system/fonts? I assume we should at least have the following files, and the font we used here is Sans-serif which is in files named Fira*. DroidSerif-Bold.ttf DroidSerif-BoldItalic.ttf DroidSerif-Italic.ttf DroidSerif-Regular.ttf FiraMonoOT-Bold.otf FiraMonoOT-Regular.otf FiraSansOT-Bold.otf FiraSansOT-BoldItalic.otf FiraSansOT-Light.otf FiraSansOT-LightItalic.otf FiraSansOT-Medium.otf FiraSansOT-MediumItalic.otf FiraSansOT-Regular.otf FiraSansOT-RegularItalic.otf
Flags: needinfo?(ehung)
Comment 3•10 years ago
|
||
I searched all relative font in /system/fonts, the fonts you list are all in system. DroidSerif-Bold.ttf DroidSerif-BoldItalic.ttf DroidSerif-Italic.ttf DroidSerif-Regular.ttf FiraMonoOT-Bold.otf FiraMonoOT-Regular.otf FiraSansOT-Bold.otf FiraSansOT-BoldItalic.otf FiraSansOT-Light.otf FiraSansOT-LightItalic.otf FiraSansOT-Medium.otf FiraSansOT-MediumItalic.otf FiraSansOT-Regular.otf FiraSansOT-RegularItalic.otf
Flags: needinfo?(ehung)
Comment 4•10 years ago
|
||
Thanks for checking, then my another guess is: maybe there is another font file overwrites the correct one (i.e., it's in the prior order while registering into gecko). Let's try this: remove all font files except those listed above and reboot, see what will happen...
Flags: needinfo?(ehung)
Comment 5•10 years ago
|
||
I remove all fonts except above list. But it's still have same problem. I check out folder, and the fonts is the same as flame's. Is there other thing I can check?
Flags: needinfo?(ehung)
Comment 6•10 years ago
|
||
Wayne, thanks for checking again, then I think we need chens's help to get a device and digs into it. @Chens, could you help here? Thanks.
Flags: needinfo?(ehung) → needinfo?(shchen)
Comment 7•10 years ago
|
||
Hi all, I found that external/moztt v2.0 branch has this problem, but external/moztt master branch doesn't.
Flags: needinfo?(ehung)
Comment 8•10 years ago
|
||
This is a common issue, it can also be reproduced on flame v2.0. http://goo.gl/fnrTcy
Updated•10 years ago
|
Flags: needinfo?(shchen)
Flags: needinfo?(mwu)
Flags: needinfo?(ehung)
Comment 9•10 years ago
|
||
Hi Michael, I found there is a new set of font in master branch, does it need to uplift to 2.0? commit 96cdde4b5b5d8d3785b36c3c68cd746aff3005cc Merge: c510bab 1b18f4d Author: Michael Wu <mwu@mozilla.com> Date: Tue Jul 1 12:16:22 2014 +0800 Merge pull request #50 from jfkthame/fira-3.109-hacked Fira 3.109 hacked to fix negative advances, line height metrics Sincerely, Wayne
Assignee | ||
Comment 10•10 years ago
|
||
That was introduced as part of bug 987872 , but that was not uplifted to 2.0. There is no approval at the moment to uplift to 2.0. There's two components to that patch - a set of moztt commits and a commit to gecko, so you'll need both if you want to try the new fonts.
Flags: needinfo?(mwu)
Comment 11•10 years ago
|
||
(In reply to Michael Wu [:mwu] from comment #10) > That was introduced as part of bug 987872 , but that was not uplifted to > 2.0. There is no approval at the moment to uplift to 2.0. There's two > components to that patch - a set of moztt commits and a commit to gecko, so > you'll need both if you want to try the new fonts. I verified on gecko 2.0 with fonts from moztt master branch, the problem is fixed. This issue is reproduced on Flame. So I think we should request the approval for v2.0.
Assignee | ||
Comment 12•10 years ago
|
||
Hmm, I would prefer not uplifting the fonts to v2.0.. how about v2.0m instead? The reason is that this may confuse people who are testing with shallow flashing on 2.0 without the new fonts installed. Either way, feel free to request blocking on bug 987872 for whatever branch you'd like.
Comment 13•10 years ago
|
||
Yes, I think using v2.0m is also reasonable. I'll finish v2.0m branch and update the manifest accordingly.
Updated•10 years ago
|
blocking-b2g: --- → 2.0M?
Comment 14•10 years ago
|
||
Michael, I merged master branch to v2.0m, could you have a look to this PR? Thanks!
Attachment #8489831 -
Flags: review?(mwu)
Comment 15•10 years ago
|
||
Hi Kai, After applying 2.0m into our P4 and using external/moztt to replace android's fonts, I see the same bug on soul35. Please quickly push the patch onto 2.0m, thanks a lot
Comment 16•10 years ago
|
||
Piazza, PR is sent on comment 14, once it get r+ I'll merge it.
Assignee | ||
Comment 17•10 years ago
|
||
Two issues: 1. *All* font changes are being merged. We only need the font changes that update Fira. 2. I don't see an uplift to update the font name in Gecko, which is required to use the new font. I recommend doing the necessary work in bug 987872 as that's the actual bug you'll want to uplift.
Assignee | ||
Comment 18•10 years ago
|
||
I've cherry picked the necessary changes to update Fira only on bug 987872. That bug just needs v2.0m+ and we can land the update.
Assignee | ||
Comment 19•10 years ago
|
||
Kai-Zhen, let me know if the PR on bug 987872 and the gecko patch works for you. I've cherry picked the necessary commits but I haven't had a chance to test yet.
Flags: needinfo?(kli)
Assignee | ||
Updated•10 years ago
|
Attachment #8489831 -
Flags: review?(mwu)
Comment 20•10 years ago
|
||
This bug is to be solved in bug 987872
Status: NEW → RESOLVED
blocking-b2g: 2.0M? → ---
Closed: 10 years ago
Resolution: --- → DUPLICATE
Comment 21•10 years ago
|
||
Michael, sorry for late reply you. 1. Only patch moztt with pull/53 or pull/54, stopwatch digits jerky issue will be fixed. 2. When PR/53 on bug 987872 and the gecko patch are applied, stopwatch digits jerky issue is still reproduced.
Flags: needinfo?(kli)
Assignee | ||
Comment 22•10 years ago
|
||
This likely means that the fonts aren't installed properly - make sure you flash everything and check the /system/fonts directory. You might also want to check the actual font being used with the developer tools.
Flags: needinfo?(kli)
Comment 23•10 years ago
|
||
I checked the fonts are installed properly. This is the font disaplayed in case 2 of comment 21.
Assignee | ||
Comment 25•10 years ago
|
||
Ok. So it turns out the real problem is the clock app tries to use a CSS feature that isn't supported on Gecko 32 - font-variant-numeric. I think the clock app was tested incorrectly with the new fonts which is why it looked like updating the fonts fixed things. There's an alternate css property that will do the job though. Patch coming up.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Assignee | ||
Comment 26•10 years ago
|
||
v2.0 / Gecko 32 doesn't support font-feature-variant, so here's an alternative that it does support.
Assignee: nobody → mwu
Assignee | ||
Updated•10 years ago
|
Attachment #8494147 -
Flags: review?(m)
Comment 27•10 years ago
|
||
Michael, with your patch this issue can be fixed without uplift bug 987872.
Assignee | ||
Comment 28•10 years ago
|
||
(In reply to Kai-Zhen Li [:seinlin] from comment #27) > Michael, with your patch this issue can be fixed without uplift bug 987872. We'll need to either back out the uplift of bug 987872 or also uplift bug 1032659.
Comment 29•10 years ago
|
||
(In reply to Michael Wu [:mwu] from comment #28) > > We'll need to either back out the uplift of bug 987872 or also uplift bug > 1032659. Michael, Thanks! To keep the minimum difference between 2.0 and 2.0m, I did back out the uplift of bug 987872.
Updated•10 years ago
|
Attachment #8494147 -
Flags: review?(m) → review+
Updated•10 years ago
|
blocking-b2g: --- → 2.0M+
Assignee | ||
Comment 30•10 years ago
|
||
PR created: https://github.com/mozilla-b2g/gaia/pull/24435 and merged: https://github.com/mozilla-b2g/gaia/commit/0b71822a608ebd1b2876fe5d18aae2e7172eb31e
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
Comment 32•10 years ago
|
||
[Blocking Requested - why for this release]: This can fix bug 1008009
Group: woodduck-confidential
blocking-b2g: 2.0M+ → 1.4?
Comment 34•10 years ago
|
||
Wayne, This can solve bug 1008009, can you help to block 1.4? Thanks!
Flags: needinfo?(wchang)
Comment 35•10 years ago
|
||
Thanks Kai-Zhen, but we're trimming down the stuff that goes into 1.4 now and I don't think this is necessarily a blocker for 1.4 I am flipping the flag back and ni'ing Vance here, in case 1.4 does need it we can have the OEM pick it.
blocking-b2g: 1.4? → 2.0M+
Flags: needinfo?(wchang) → needinfo?(vchen)
Comment 36•10 years ago
|
||
OK. The request is coming from bug 1008009.
Flags: needinfo?(vchen)
Comment 37•10 years ago
|
||
Verify passed, this issue can't be repro on Woodduck 2.0. Attached: Verify_Woodduck_Clock.mp4 Reproducing rate: 0/5 Woodduck 2.0 Build: Gaia-Rev 60146ec47cd38a8be8ed22e0116902eceb9ac067 Gecko-Rev cdfbe9866cf0b71b33454926638ce0cd8bb1fb00 Build-ID 20141117050313 Version 32.0
Status: RESOLVED → VERIFIED
Comment 38•10 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•