81eabce6a3
Allow the user of SkCustomTypefaceBuilder to set the SkFontStyle of the resulting SkTypeface. This allows users to build font families. Fix the Font_flatten test to actually work (instead of relying on the magic behavior of nullptr for SkTypeface), add a test with the custom typeface, and reduce the number of times the inner loop runs from 302,400 times to 4,032 times so that the test finishes in a reasonable amount of time. Bug: skia:10630 Change-Id: I0b5e939552ee4a9a1249eefbb7a7279a59b38e5a Reviewed-on: https://skia-review.googlesource.com/c/skia/+/311596 Commit-Queue: Ben Wagner <bungeman@google.com> Reviewed-by: Xiao Yu <xster@google.com> Reviewed-by: Mike Klein <mtklein@google.com> |
||
---|---|---|
.. | ||
create_test_font_color.cpp | ||
create_test_font.cpp | ||
generate_fir_coeff.py | ||
RandomScalerContext.cpp | ||
RandomScalerContext.h | ||
test_font_index.inc | ||
test_font_monospace.inc | ||
test_font_sans_serif.inc | ||
test_font_serif.inc | ||
TestEmptyTypeface.h | ||
TestFontMgr.cpp | ||
TestFontMgr.h | ||
TestSVGTypeface.cpp | ||
TestSVGTypeface.h | ||
TestTypeface.cpp | ||
TestTypeface.h | ||
ToolUtilsFont.cpp |