kerning between a letter and automatically-inserted hyphen (from hyphens:auto or ­) is not supported
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
People
(Reporter: jfkthame, Unassigned)
References
(Depends on 1 open bug)
Details
(Keywords: testcase)
Testcase (for OS X and Windows; other platforms may need to specify a different font, if their default doesn't exhibit the issue): data:text/html,<div style="width:10px;font:100px Times New Roman">T-<br>bone<p>T­bone Note how the first "T-" pair (where the hyphen is present in the text, and the line-break is manual) is kerned slightly together; but the second "T-" pair (with a hyphen inserted due to line-breaking at ­) is not kerned. This is closely related to bug 479829; to some extent, it depends on the fix needed there (re-shaping word fragments around a chosen line-break), but it also highlights an additional issue: the need to shape the inserted hyphen together with its preceding word fragment, rather than adding it as a separate run.
Comment 1•4 years ago
|
||
Testcase (for OS X and Windows; other platforms may need to specify a
different font, if their default doesn't exhibit the issue):
$ fc-match "Times New Roman"
LiberationSerif-Regular.ttf: "Liberation Serif" "Regular"
which is confirmed also at wikipedia:
"
Liberation Serif is metrically equivalent to Times New Roman. (...) It is used in some GNU/Linux distributions as a default font replacement for Times New Roman.
"
https://en.wikipedia.org/wiki/Times_New_Roman#Free_alternatives
data:text/html,<div style="width:10px;font:100px Times New
Roman">T-<br>bone<p>Tbone
data:text/html,<div style="width:10px;font:100px 'Liberation Serif', 'Times New Roman'">T-<br>bone<p>Tbone
Note how the first "T-" pair (where the hyphen is present in the text, and
the line-break is manual) is kerned slightly together; but the second "T-"
pair (with a hyphen inserted due to line-breaking at ) is not kerned.
I see+get this also with Linux Debian 10.2: first "T-" pair is kerned slightly together
and second "T-" pair is not kerned.
Updated•2 years ago
|
Description
•