Closed Bug 1090159 Opened 10 years ago Closed 10 years ago

baseline irregularities in vertical text

Categories

(Core :: Graphics: Text, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla36

People

(Reporter: jfkthame, Assigned: jfkthame)

References

(Blocks 1 open bug)

Details

Attachments

(3 files, 1 obsolete file)

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).
Attachment #8513606 - Flags: review?(smontagu)
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
And here's a reftest to go with it.
Attachment #8514180 - Flags: review?(smontagu)
(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.
(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.
Minor fix to make the reftest more reliable across platforms.
Attachment #8520593 - Flags: review?(smontagu)
Attachment #8514180 - Attachment is obsolete: true
Attachment #8514180 - Flags: review?(smontagu)
Attachment #8513606 - Flags: review?(smontagu) → review+
Attachment #8520593 - Flags: review?(smontagu) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: