83c85affad
If an SkTypeface stream exists and is a memory based stream an hb_face may be created directly from the memory. In this case the collection index was set when the stream was retrieved and the hb_face is created with this index. Otherwise, the hb_face is created by table callback. In this case the stream may or may not have been successfully retrieved. If the stream was successfully retrieved the hb_face index should be set to the collection index retrieved with the stream. Otherwise, the hb_face index should not be set. Change-Id: I2568fecb1096d1a2e7f529342668ea443a8615c9 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/499136 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com> |
||
---|---|---|
.. | ||
androidkit | ||
audioplayer | ||
canvaskit | ||
particles | ||
pathkit | ||
skottie | ||
skparagraph | ||
skplaintexteditor | ||
skresources | ||
sksg | ||
skshaper | ||
skunicode | ||
svg | ||
BUILD.bazel |