DescriptionAllow small-caps synthesis for @font-face with multiple sources including SVG format
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.
BUG=298970
TEST=fast/css,svg/*
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159429
Patch Set 1 : #
Messages
Total messages: 4 (0 generated)
|