Bug 138596 - [SVG -> OTF Converter] SVG's getStartPositionOfChar disregards ligatures
Summary: [SVG -> OTF Converter] SVG's getStartPositionOfChar disregards ligatures
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Myles C. Maxfield
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-10 21:11 PST by Myles C. Maxfield
Modified: 2014-11-10 21:15 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Myles C. Maxfield 2014-11-10 21:11:51 PST
It decides that it can cut a string at any arbitrary point for width calculations, including halfway through a ligature. If this occurs, the width of the ligature is disregarded and the width of one of the constituent pieces of the ligature is recorded instead.
Comment 1 Myles C. Maxfield 2014-11-10 21:12:53 PST
SVGTextMetrics::measureCharacterRange()
Comment 2 Myles C. Maxfield 2014-11-10 21:15:53 PST
See svg/text/kerning.svg