Index: tests/FontMgrAndroidParserTest.cpp |
diff --git a/tests/FontMgrAndroidParserTest.cpp b/tests/FontMgrAndroidParserTest.cpp |
index a45bc259f4c022debe803b5bbd390453ac1519ce..a56331e87f3d6005d9e10900e7d8ffbb5660bd99 100644 |
--- a/tests/FontMgrAndroidParserTest.cpp |
+++ b/tests/FontMgrAndroidParserTest.cpp |
@@ -88,7 +88,16 @@ void DumpLoadedFonts(SkTDArray<FontFamily*> fontFamilies, const char* label) { |
} |
for (int j = 0; j < fontFamilies[i]->fFonts.count(); ++j) { |
const FontFileInfo& ffi = fontFamilies[i]->fFonts[j]; |
- SkDebugf(" file (%d) %s#%d\n", ffi.fWeight, ffi.fFileName.c_str(), ffi.fIndex); |
+ SkDebugf(" file (%d) %s#%d", ffi.fWeight, ffi.fFileName.c_str(), ffi.fIndex); |
+ for (const auto& axis : ffi.fAxes) { |
+ SkDebugf(" @'%c%c%c%c'=%f", |
+ (axis.fTag >> 24) & 0xFF, |
+ (axis.fTag >> 16) & 0xFF, |
+ (axis.fTag >> 8) & 0xFF, |
+ (axis.fTag ) & 0xFF, |
+ axis.fStyleValue); |
+ } |
+ SkDebugf("\n"); |
} |
} |
SkDebugf("\n\n"); |