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

Unified Diff: tests/FontHostTest.cpp

Issue 43463005: onCharsToGlyphs to handle non-bmp on Mac. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 2 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
« no previous file with comments | « src/ports/SkFontHost_mac.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/FontHostTest.cpp
===================================================================
--- tests/FontHostTest.cpp (revision 11961)
+++ tests/FontHostTest.cpp (working copy)
@@ -72,7 +72,7 @@
SkDebugf("--- typeface returned 0 glyphs [%X]\n", face->uniqueID());
}
}
-#if 0
+
// The following three are all the same code points in various encodings.
static uint8_t utf8Chars[] = { 0x61, 0xE4, 0xB8, 0xAD, 0xD0, 0xAF, 0xD7, 0x99, 0xD7, 0x95, 0xF0, 0x9D, 0x84, 0x9E, 0x61 };
static uint16_t utf16Chars[] = { 0x0061, 0x4E2D, 0x042F, 0x05D9, 0x05D5, 0xD834, 0xDD1E, 0x0061 };
@@ -115,7 +115,6 @@
}
}
}
-#endif
static void test_fontstream(skiatest::Reporter* reporter,
SkStream* stream, int ttcIndex) {
@@ -230,7 +229,7 @@
test_tables(reporter, face);
test_unitsPerEm(reporter, face);
test_countGlyphs(reporter, face);
- //test_charsToGlyphs(reporter, face);
+ test_charsToGlyphs(reporter, face);
}
}
}
« no previous file with comments | « src/ports/SkFontHost_mac.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698