Index: src/ports/SkFontConfigParser_android.h |
diff --git a/src/ports/SkFontConfigParser_android.h b/src/ports/SkFontConfigParser_android.h |
index 6dbf38359097a47539642ee10e337619ed5275bc..9475cbe1a61f94688797fbb51e33824d41a41b47 100644 |
--- a/src/ports/SkFontConfigParser_android.h |
+++ b/src/ports/SkFontConfigParser_android.h |
@@ -62,11 +62,12 @@ typedef uint32_t FontVariant; |
// Must remain trivially movable (can be memmoved). |
struct FontFileInfo { |
- FontFileInfo() : fIndex(0), fWeight(0) { } |
+ FontFileInfo() : fIndex(0), fWeight(0), fStyle(Style::Auto) { } |
SkString fFileName; |
int fIndex; |
int fWeight; |
+ enum class Style { Auto, Normal, Italic } fStyle; |
scroggo
2015/04/17 19:06:49
nit: Why does this not follow our enum naming conv
bungeman-skia
2015/04/17 20:12:49
Done. Updated docs to have example of 'enum class'
|
}; |
/** |