Open Bug 1852861 Opened 2 years ago Updated 2 years ago

Bottom of letter is clipped when vertical writing-mode and negative letter-spacing are set

Categories

(Core :: Graphics: Text, defect)

Firefox 117
defect

Tracking

()

Tracking Status
firefox-esr102 --- wontfix
firefox-esr115 --- wontfix
firefox117 --- wontfix
firefox118 --- wontfix
firefox119 --- fix-optional

People

(Reporter: sharapeco, Unassigned, NeedInfo)

References

(Regression)

Details

(Keywords: nightly-community, regression)

Attachments

(2 files)

Attached image letter-spacing-bug.png

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/117.0

Steps to reproduce:

HTML:

<p class="vert">
	<span class="ls-20">レ</span
		><span class="ls-20">タ</span
		><span class="ls-20">ー</span
		>...
</p>

and CSS:

.vert { writing-mode: vertical-rl; }
.ls-20 { letter-spacing: -.2em; }

Actual results:

Bottom of letter is clipped like attached image.

Expected results:

Whole letters are visible (correct when horizontal writing-mode).

Component: Untriaged → Graphics: Text
Product: Firefox → Core

Regression window:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=dd0f265a130098cda83a0c25c7617d2365b28f2d&tochange=083a9c84fbd09a6ff9bfecabbf773650842fe1c0

Suspect:
4558b0224f93da51967202c3bb988176352c9e7d Jonathan Kew — Bug 1412355 - Replace the mXOffset/mYOffset fields in DetailedGlyph records with a gfx::Point that stores glyph offsets in line-orientation-relative coordinates. r=jrmuizel

Status: UNCONFIRMED → NEW
Ever confirmed: true
Regressed by: 1412355

Set release status flags based on info from the regressing bug 1412355

:jfkthame, since you are the author of the regressor, bug 1412355, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: