Closed
Bug 1090159
Opened 10 years ago
Closed 10 years ago
baseline irregularities in vertical text
Categories
(Core :: Graphics: Text, defect)
Core
Graphics: Text
Tracking
()
RESOLVED
FIXED
mozilla36
People
(Reporter: jfkthame, Assigned: jfkthame)
References
(Blocks 1 open bug)
Details
Attachments
(3 files, 1 obsolete file)
(deleted),
text/html
|
Details | |
(deleted),
patch
|
smontagu
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
smontagu
:
review+
|
Details | Diff | Splinter Review |
It's time to look more closely at how we're dealing with baselines in vertical text. Cases with mixed upright and sideways text are liable to end up with irregular baselines in vertical-rl mode. (The same example in vertical-lr are less likely to look bad, but selecting the text shows similar irregularities in the extent of the highlighted area.)
The attached testcase shows an example of baseline irregularity when vertical-rl writing mode is selected, at least on OS X (it's possible the exact results may depend on system fonts).
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8513606 -
Flags: review?(smontagu)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•10 years ago
|
||
And here's a reftest to go with it.
Attachment #8514180 -
Flags: review?(smontagu)
Comment 3•10 years ago
|
||
(In reply to Jonathan Kew (:jfkthame) from comment #0)
> (The same example in
> vertical-lr are less likely to look bad, but selecting the text shows
> similar irregularities in the extent of the highlighted area.)
The patch doesn't address the vertical-lr case, correct? I'm not necessarily saying that this is a bad thing - selecting the text in horizontal-tb seems to show similar irregularities - but I'm still not completely clear how we define "baseline" in vertical-lr and rl.
Assignee | ||
Comment 4•10 years ago
|
||
(In reply to Simon Montagu :smontagu from comment #3)
> (In reply to Jonathan Kew (:jfkthame) from comment #0)
> > (The same example in
> > vertical-lr are less likely to look bad, but selecting the text shows
> > similar irregularities in the extent of the highlighted area.)
>
> The patch doesn't address the vertical-lr case, correct? I'm not necessarily
> saying that this is a bad thing - selecting the text in horizontal-tb seems
> to show similar irregularities - but I'm still not completely clear how we
> define "baseline" in vertical-lr and rl.
Right, this doesn't address that; and since I wrote that original comment, I realized the same thing applies horizontally, and we probably shouldn't be worrying about it.
As for what "baseline" means in vertical mode, it's not entirely clear to me, but the new patch in bug 1084370 (on top of this fix) should make things substantially better.
Assignee | ||
Comment 5•10 years ago
|
||
Minor fix to make the reftest more reliable across platforms.
Attachment #8520593 -
Flags: review?(smontagu)
Assignee | ||
Updated•10 years ago
|
Attachment #8514180 -
Attachment is obsolete: true
Attachment #8514180 -
Flags: review?(smontagu)
Updated•10 years ago
|
Attachment #8513606 -
Flags: review?(smontagu) → review+
Updated•10 years ago
|
Attachment #8520593 -
Flags: review?(smontagu) → review+
Assignee | ||
Comment 6•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/9f4207643d30
https://hg.mozilla.org/integration/mozilla-inbound/rev/72894fb00f25
Target Milestone: --- → mozilla36
Comment 7•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9f4207643d30
https://hg.mozilla.org/mozilla-central/rev/72894fb00f25
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.
Description
•