New issue
Advanced search Search tips

Issue 888374 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

inter‐element kerning

Reported by zambonif...@gmail.com, Sep 23

Issue description

It seems that having an inline element boundary between two letters makes the kerning wrong.

I’ll attach a screenshot showing the behavior on Chrome, as well as the behavior on Firefox. As you can see, in Firefox, the two lines have exactly the same width, whereas, in Chrome, the widths clearly differ.

To reproduce, simply access the following data URL:

data:text/html,<!doctype html>LT<br><span>L</span>T
 
kerning.png
31.2 KB View Download
Components: Blink>Fonts
Labels: Needs-Milestone
Labels: Fixed-In-LayoutNG
Status: Available (was: Unconfirmed)
Known problem, fixed in LayoutNG. See issue 6122 for details.
This is not the same problem as issue 6122 and it is not working in Chrome properly. Here is example with first letter being of different color (it can be done with span or font). It is clearly visible that line with red T is longer because kerning between "T" and "e" is ignored. Works fine in Firefox.
Screenshot from 2018-12-05 11-29-17.png
25.1 KB View Download

Sign in to add a comment