DescriptionRevert of Make CSSFontFace::willUseFontData() load fonts with unicode-range (https://codereview.chromium.org/248473005/)
Reason for revert:
Causes off-by-one text errors, e.g. SHOP->RGNO
BUG=369633
Original issue's description:
> Make CSSFontFace::willUseFontData() load fonts with unicode-range
>
> Before this patch CSSFontFace::willUseFontData() loads font faces that
> have no unicode-range. Since font faces with no unicode-range tends to
> be used as fallback font of segmented font family, this behavior leads
> to unnecessary font downloads.
>
> This patch makes willUseFontData() loads the first unloaded font face
> whose unicode-range intersects with given text. That check does not
> need to be 100% precise (false negative is ok), so it only checks the
> first character of the text, for speed.
>
> TEST=fast/css/font-face-unicode-range-overlap-load.html
> BUG=247920, 246492
>
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172943
TBR=dglazkov@chromium.org,eae@chromium.org,ksakamoto@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=247920, 246492
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173234
Patch Set 1 #
Created: 6 years, 7 months ago
(Patch set is too large to download)
Messages
Total messages: 4 (0 generated)
|