Bug 123977

Summary: Allow small-caps synthesis for @font-face with multiple sources including SVG format
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: dino, mmaxfield, simon.fraser, syoichi, thorton, zimmermann
Priority: P2 Keywords: BlinkMergeCandidate
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Ryosuke Niwa
Reported 2013-11-07 01:33:37 PST
Consider merging https://chromium.googlesource.com/chromium/blink/+/e3d7d4c3ca6556164121deb5825b784847e07eab Since small-caps synthesis is not supported for SVG fonts, our font matching algorithm ignored @font-faces that have svg sources when small-caps variant is requested. This behavior had a problem that it discards @font-face even if non-svg (ex. woff) source is available. This patch moves that SVG-font check to CSSSegmentedFontFace::getFontData() so that it skips SVG fonts only when SVG source is used.
Attachments
Note You need to log in before you can comment on or make changes to this bug.