skia2/include/utils
Ben Wagner 81eabce6a3 SkCustomTypefaceBuilder to set SkFontStyle
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>
2020-08-19 00:09:55 +00:00
..
mac Enable ClangTidy check modernize-use-nullptr. 2020-08-14 16:14:30 +00:00
SkAnimCodecPlayer.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkBase64.h [skottie] Add DataURI image support in utils/tools 2019-10-21 18:02:39 +00:00
SkCamera.h remove legacy utils for camera3d 2020-05-18 02:05:28 +00:00
SkCanvasStateUtils.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkCustomTypeface.h SkCustomTypefaceBuilder to set SkFontStyle 2020-08-19 00:09:55 +00:00
SkEventTracer.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkInterpolator.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkLua.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkLuaCanvas.h Enable ClangTidy flag modernize-use-override. 2020-08-14 10:54:45 +00:00
SkNoDrawCanvas.h Stop including SkVertices.h from so many places 2020-04-02 14:07:46 +00:00
SkNullCanvas.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkNWayCanvas.h Enable ClangTidy flag modernize-use-override. 2020-08-14 10:54:45 +00:00
SkPaintFilterCanvas.h Add missing recordingContext override to SkPaintFilterCanvas 2020-07-09 13:35:52 +00:00
SkParse.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkParsePath.h Revert "Revert "Shuffle SkSL sources around so compiler and bytecode can be used w/o GPU"" 2019-06-18 14:47:12 +00:00
SkRandom.h Wsign-conversion for public headers 2020-06-02 12:34:54 +00:00
SkShadowUtils.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkTextUtils.h Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
SkTraceEventPhase.h make includes available for flutter 2018-06-21 18:12:47 +00:00