Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(403)

Unified Diff: src/ports/SkFontConfigParser_android.h

Issue 1027373002: Font variations. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Some clean up. Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/ports/SkFontConfigParser_android.h
diff --git a/src/ports/SkFontConfigParser_android.h b/src/ports/SkFontConfigParser_android.h
index dd856bf733da5aa0e234a8b9d5062d9441be3dc2..d5b4cfd7dc7430999ce87383d4cab06940ca50aa 100644
--- a/src/ports/SkFontConfigParser_android.h
+++ b/src/ports/SkFontConfigParser_android.h
@@ -68,6 +68,12 @@ struct FontFileInfo {
int fIndex;
int fWeight;
enum class Style { kAuto, kNormal, kItalic } fStyle;
+ struct Axis {
+ Axis() : fTag(SkSetFourByteTag('\0','\0','\0','\0')), fValue(0) { }
+ SkFourByteTag fTag;
+ SkFixed fValue;
+ };
+ SkTArray<Axis, true> fAxes;
};
/**

Powered by Google App Engine
This is Rietveld 408576698