Ligatures get sliced by line breaking
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
People
(Reporter: psychpsyo, Unassigned)
Details
Attachments
(1 file)
|
19.88 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0
Steps to reproduce:
I made a line-break happen in the middle of a ligature. I did this by making Firefox hyphenate the word "office", in a font with an ffi ligature:
<!DOCTYPE html>
<html lang="en">
<style>
body {
hyphens: auto;
}
</style>
This is the word "office"
</html>
Actual results:
The ffi ligature got sliced in half, and the tip of the second f was pulled onto the second line, disconnected from the rest of the f.
Expected results:
Line-breaking in a middle of a ligature should either be avoided entirely, or it should disband the ligature. (potentially splitting it into smaller ligatures, like ffi -> f, fi, where both ffi and fi are ligatures)
Comment 1•3 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Layout: Text and Fonts' component, but is not confident enough to move the bug to that component.
Updated•3 months ago
|
Updated•2 months ago
|
Description
•