OSDN Git Service

Use UTF32 directly in HarfBuzz<->Skia interface.
authorBen Wagner <bungeman@google.com>
Thu, 18 Feb 2016 22:20:17 +0000 (17:20 -0500)
committerBen Wagner <bungeman@google.com>
Thu, 18 Feb 2016 22:20:17 +0000 (17:20 -0500)
commitc1fa6d0deb21bdfb59368a9c88b263ea5c65f9cf
tree0480d6817668d3351d126a1aa07934f1d2b0f8ca
parent0d198d3afc14897ecfcc4972ecd67bc0c2d6651b
Use UTF32 directly in HarfBuzz<->Skia interface.

This fixes a TODO to use kUTF32_TextEncoding directly. This avoids
encoding UTF32 codepoints from HarfBuzz into UTF16 to pass to Skia,
which will then re-decode to UTF32. This also removes a use of
SkUtils.h which Skia desires to move to private use.

Change-Id: I087f4216c25f7874e496920cd33e2f109530c397
core/jni/android/graphics/HarfBuzzNGFaceSkia.cpp