Revert "remove SK_SUPPORT_LEGACY_PAINT_FONT_FIELDS"

This reverts commit e0e41efcfb.

Reason for revert: did this break loading old skps?

Original change's description:
> remove SK_SUPPORT_LEGACY_PAINT_FONT_FIELDS
> 
> Bug: skia:
> Change-Id: I756bf2e3e37d6f2bb1d4a786ce8f41a25f83ba67
> Reviewed-on: https://skia-review.googlesource.com/c/183320
> Reviewed-by: Mike Reed <reed@google.com>
> Commit-Queue: Mike Reed <reed@google.com>
> Auto-Submit: Mike Reed <reed@google.com>

TBR=reed@google.com

Change-Id: Iefec7a1fa52fcff4f937532de41f3828cdeaf186
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:
Reviewed-on: https://skia-review.googlesource.com/c/183802
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
This commit is contained in:
Mike Reed 2019-01-14 17:38:15 +00:00 committed by Skia Commit-Bot
parent f2a4cc1a7b
commit 3e91b12354

View File

@ -12,6 +12,10 @@
// remove me once google3 uses IWYU
#include "SkTypeface.h"
#ifndef SK_SUPPORT_LEGACY_PAINT_FONT_FIELDS
#define SK_SUPPORT_LEGACY_PAINT_FONT_FIELDS
#endif
enum class SkTextEncoding {
kUTF8, //!< uses bytes to represent UTF-8 or ASCII
kUTF16, //!< uses two byte words to represent most of Unicode