skia2/modules
Ben Wagner 94aed0be1f Use "und" in place of HB_LANGUAGE_INVALID.
Buffers with HB_LANGUAGE_INVALID race since it will force
hb_buffer_guess_segment_properties to call hb_language_get_default which
is not thread safe. The user is required to pass a language string to
the shaper, but it may be malformed and hb_language_from_string may
return HB_LANGUAGE_INVALID. Detect this and use "und" as the language,
since the language really isn't known (RFC5646 4.1 5).

Bug: skia:10323
Change-Id: Icf2389e606eb1b635d7535e57be10cca23bf9d33
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/294999
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
2020-06-08 16:24:00 +00:00
..
canvaskit Add a gm for ManagedAnimation.setColor 2020-06-08 13:12:49 +00:00
particles Revert "Reland "Revert "Omit dead SkSL functions""" 2020-06-04 02:46:55 +00:00
pathkit Upgrade CanvasKit emscripten to version 1.39.16. 2020-05-21 14:18:48 +00:00
skottie [skottie] Pull SkottieProperty.h from Skotti.h 2020-06-01 20:05:36 +00:00
skparagraph inline Cluster::run() 2020-06-08 15:04:12 +00:00
skplaintexteditor Hide ICU C++ API from Skia users. 2020-05-29 21:43:19 +00:00
skresources [skottie/tools] Video playback support 2020-04-24 15:56:50 +00:00
sksg Revert "Revert "move onto new factories for SkMatrix"" 2020-05-21 16:58:39 +00:00
skshaper Use "und" in place of HB_LANGUAGE_INVALID. 2020-06-08 16:24:00 +00:00