skia2/include
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
..
android androidFramework_replaceClip proposal 2020-06-25 21:54:11 +00:00
c use pathbuilder 2020-08-17 22:05:00 +00:00
codec Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
config rm SkPreConfig.h and SkPostConfig.h 2020-02-06 19:16:43 +00:00
core SkCustomTypefaceBuilder to set SkFontStyle 2020-08-19 00:09:55 +00:00
docs Add appendNodeIdArray to avoid code duplication. 2020-06-23 14:25:33 +00:00
effects Remove 'in' variables from SkRuntimeEffect 2020-08-10 22:00:44 +00:00
encode Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
gpu Enhance assert to dump more information 2020-08-18 13:53:25 +00:00
pathops rm SkPreConfig.h and SkPostConfig.h 2020-02-06 19:16:43 +00:00
ports Componentize SkAudioPlayer 2020-08-14 13:46:06 +00:00
private Enhance assert to dump more information 2020-08-18 13:53:25 +00:00
svg [svgcanvas] Add flag to suppress newlines and tabs in XML 2019-08-21 20:17:37 +00:00
third_party Roll skcms from c21106442079 to f73242142ce5 (1 revision) 2020-07-16 21:50:37 +00:00
utils SkCustomTypefaceBuilder to set SkFontStyle 2020-08-19 00:09:55 +00:00