Bug 167300 - Make text-combine and font variations play nicely together
Summary: Make text-combine and font variations play nicely together
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 167068
  Show dependency treegraph
 
Reported: 2017-01-22 22:37 PST by Myles C. Maxfield
Modified: 2017-01-22 22:37 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Myles C. Maxfield 2017-01-22 22:37:04 PST
text-combine uses ctFont() to apply a font feature to the font, and then uses this new font when performing width calculations to try to squish text inside the text combine. Instead, this mechanism of applying the feature should be unified with the existing font features infrastructure.

When this is complete, the only difference between FontPlatformData::m_font and FontPlatformData::m_ctFont will be the cascade list.