diff options
Diffstat (limited to 'tests/FontMgrAndroidParserTest.cpp')
-rw-r--r-- | tests/FontMgrAndroidParserTest.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/FontMgrAndroidParserTest.cpp b/tests/FontMgrAndroidParserTest.cpp index cbcfb3be2a..92dbd951c0 100644 --- a/tests/FontMgrAndroidParserTest.cpp +++ b/tests/FontMgrAndroidParserTest.cpp @@ -90,13 +90,13 @@ 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", ffi.fWeight, ffi.fFileName.c_str(), ffi.fIndex); - for (const auto& coordinate : ffi.fVariationDesignPosition) { + for (const auto& axis : ffi.fAxes) { SkDebugf(" @'%c%c%c%c'=%f", - (coordinate.axis >> 24) & 0xFF, - (coordinate.axis >> 16) & 0xFF, - (coordinate.axis >> 8) & 0xFF, - (coordinate.axis ) & 0xFF, - coordinate.value); + (axis.fTag >> 24) & 0xFF, + (axis.fTag >> 16) & 0xFF, + (axis.fTag >> 8) & 0xFF, + (axis.fTag ) & 0xFF, + axis.fStyleValue); } SkDebugf("\n"); } |