Closed
Bug 688584
Opened 13 years ago
Closed 3 years ago
re-enable hinting on mobile
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: gal, Unassigned)
References
Details
Attachments
(1 file)
8.56 KB,
patch
|
pavlov
:
review-
|
Details | Diff | Splinter Review |
I can't see a performance win from disabling hinting on mobile. Re-enabling it.
Reporter | ||
Comment 1•13 years ago
|
||
Assignee: nobody → gal
Reporter | ||
Comment 2•13 years ago
|
||
Comment on attachment 561856 [details] [diff] [review]
patch
Stuart disabled this supposedly, so asking him for review.
Attachment #561856 -
Flags: review?(pavlov)
(In reply to Andreas Gal :gal from comment #0)
> I can't see a performance win from disabling hinting on mobile. Re-enabling
> it.
How did you test this? On which device(s)?
Comment 4•13 years ago
|
||
I thought the issue with hinting on mobile was not so much a concern about performance, as that Fennec wants to be able to zoom the text without affecting layout, but hinting can modify glyph metrics and therefore potentially disturbs layout.
Quite.
dbaron, how does this fit into your text-reflow work? Should we block hinting on that?
Reporter | ||
Updated•13 years ago
|
Attachment #561856 -
Flags: review?(pavlov) → review?(jdaggett)
Reporter | ||
Comment 6•13 years ago
|
||
jkew, as far as I can tell we are already reflowing. are we concerned that words switch lines as you zoom in?
Comment 7•13 years ago
|
||
This will break text rendering on mobile.
Comment 8•13 years ago
|
||
Right now, mobile measures text at one size but potentially renders it at a different size. We do that without re-measuring the text for performance reasons. Because of this, and because we did not want text to move as you zoom, we must either disable hinting, or figure out how to leave text hinting on but account for it when we render text (we'd need to probably do line-level limiting to ensure that a line can fit inside a given box? -- not totally clear what the right thing to do visually would be).
Anyways, if you turn hinting back on, text will start to render on top of itself or with weird spacing artifacts and will generally be bad.
If you *always* remeasure text (because we do a full reflow on zoom, or something similar) then you could enable hinting. Even when we reflow sometimes, it isn't clear that we would want to always. Probably safer to leave this off.
Updated•13 years ago
|
Attachment #561856 -
Flags: review?(jdaggett) → review-
Comment 9•3 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months.
:bhood, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee: gal → nobody
Flags: needinfo?(bhood)
Comment 10•3 years ago
|
||
Jamie, I know this is QUITE a stretch, but any chance you can verify that this is (or isn't) still valid? If it's no longer valid, please feel free to close it.
Flags: needinfo?(bhood) → needinfo?(jnicol)
Comment 11•3 years ago
|
||
Seems like we don't want to do this for correctness reasons with non-reflowing zoom
Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(jnicol)
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•