DescriptionUnloaded font segment should not affect primaryFontData
This patch fixes a bug where SVG fonts are not rendered correctly when
SVG font is part of a segmented font face that has unloaded font faces.
SegmentedFontData::isLoadingFallback() returns true for such segmented
font face, so FontFallbackList::primaryFontData() returned next
available font in the fallback list.
After this patch, FontFallbackList::primaryFontData() returns the first
font data with space character loaded.
BUG=369633
TEST=svg/custom/svg-fonts-unloaded-segment.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173859
Patch Set 1 : #
Messages
Total messages: 5 (0 generated)
|