Commit 520a6604 authored by Etienne Bergeron's avatar Etienne Bergeron Committed by Commit Bot

Enable CJK RenderText unittest for win7

Uniscribe based fallback fonts got removed and replaced
by the Skia version, which is using DWrite.
Thus, the locale is now supported on win7.

Turn on the test on win7.


Change-Id: Iae4017a8636333e95d3ff771323fe56ba4b48ade
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1877911
Commit-Queue: Alexei Svitkine <asvitkine@chromium.org>
Reviewed-by: default avatarRobert Liao <robliao@chromium.org>
Reviewed-by: default avatarAlexei Svitkine <asvitkine@chromium.org>
Cr-Commit-Position: refs/heads/master@{#709178}
parent 06ad4cef
......@@ -5063,10 +5063,6 @@ TEST_F(RenderTextTest, HarfBuzz_MultiRunsSupportGlyphs) {
#if defined(OS_WIN)
// Ensures that locale is used for fonts selection.
TEST_F(RenderTextTest, CJKFontWithLocale) {
// The uniscribe fallback used by win7 is not supporting locale.
if (base::win::GetVersion() < base::win::Version::WIN10)
return;
const wchar_t kCJKTest[] = L"\u8AA4\u904E\u9AA8";
static const char* kLocaleTests[] = {"zh-CN", "ja-JP", "ko-KR"};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment