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

Side by Side Diff: src/ports/SkFontConfigInterface_direct.cpp

Issue 554943002: Update the alias mapping for Noto Sans CJK. (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Created 6 years, 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2009 Google Inc. 2 * Copyright 2009 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 /* migrated from chrome/src/skia/ext/SkFontHost_fontconfig_direct.cpp */ 8 /* migrated from chrome/src/skia/ext/SkFontHost_fontconfig_direct.cpp */
9 9
10 #include <unistd.h> 10 #include <unistd.h>
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 { MONO, "Cousine" }, 214 { MONO, "Cousine" },
215 { MONO, "Liberation Mono" }, 215 { MONO, "Liberation Mono" },
216 216
217 { SYMBOL, "Symbol" }, 217 { SYMBOL, "Symbol" },
218 { SYMBOL, "Symbol Neu" }, 218 { SYMBOL, "Symbol Neu" },
219 219
220 // MS Pゴシック 220 // MS Pゴシック
221 { PGOTHIC, "MS PGothic" }, 221 { PGOTHIC, "MS PGothic" },
222 { PGOTHIC, "\xef\xbc\xad\xef\xbc\xb3 \xef\xbc\xb0" 222 { PGOTHIC, "\xef\xbc\xad\xef\xbc\xb3 \xef\xbc\xb0"
223 "\xe3\x82\xb4\xe3\x82\xb7\xe3\x83\x83\xe3\x82\xaf" }, 223 "\xe3\x82\xb4\xe3\x82\xb7\xe3\x83\x83\xe3\x82\xaf" },
224 { PGOTHIC, "Noto Sans CJK Japanese" }, 224 { PGOTHIC, "Noto Sans CJK JP" },
225 { PGOTHIC, "IPAPGothic" }, 225 { PGOTHIC, "IPAPGothic" },
226 { PGOTHIC, "MotoyaG04Gothic" }, 226 { PGOTHIC, "MotoyaG04Gothic" },
227 227
228 // MS ゴシック 228 // MS ゴシック
229 { GOTHIC, "MS Gothic" }, 229 { GOTHIC, "MS Gothic" },
230 { GOTHIC, "\xef\xbc\xad\xef\xbc\xb3 " 230 { GOTHIC, "\xef\xbc\xad\xef\xbc\xb3 "
231 "\xe3\x82\xb4\xe3\x82\xb7\xe3\x83\x83\xe3\x82\xaf" }, 231 "\xe3\x82\xb4\xe3\x82\xb7\xe3\x83\x83\xe3\x82\xaf" },
232 { GOTHIC, "IPAGothic" }, 232 { GOTHIC, "IPAGothic" },
233 { GOTHIC, "MotoyaG04GothicMono" }, 233 { GOTHIC, "MotoyaG04GothicMono" },
234 234
(...skipping 18 matching lines...) Expand all
253 253
254 // 新宋体 254 // 新宋体
255 { NSIMSUN, "NSimsun" }, 255 { NSIMSUN, "NSimsun" },
256 { NSIMSUN, "\xe6\x96\xb0\xe5\xae\x8b\xe4\xbd\x93" }, 256 { NSIMSUN, "\xe6\x96\xb0\xe5\xae\x8b\xe4\xbd\x93" },
257 { NSIMSUN, "MSung GB18030" }, 257 { NSIMSUN, "MSung GB18030" },
258 { NSIMSUN, "N Song ASC" }, 258 { NSIMSUN, "N Song ASC" },
259 259
260 // 黑体 260 // 黑体
261 { SIMHEI, "Simhei" }, 261 { SIMHEI, "Simhei" },
262 { SIMHEI, "\xe9\xbb\x91\xe4\xbd\x93" }, 262 { SIMHEI, "\xe9\xbb\x91\xe4\xbd\x93" },
263 { SIMHEI, "Noto Sans CJK Simplified Chinese" }, 263 { SIMHEI, "Noto Sans CJK SC" },
264 { SIMHEI, "MYingHeiGB18030" }, 264 { SIMHEI, "MYingHeiGB18030" },
265 { SIMHEI, "MYingHeiB5HK" }, 265 { SIMHEI, "MYingHeiB5HK" },
266 266
267 // 新細明體 267 // 新細明體
268 { PMINGLIU, "PMingLiU"}, 268 { PMINGLIU, "PMingLiU"},
269 { PMINGLIU, "\xe6\x96\xb0\xe7\xb4\xb0\xe6\x98\x8e\xe9\xab\x94" }, 269 { PMINGLIU, "\xe6\x96\xb0\xe7\xb4\xb0\xe6\x98\x8e\xe9\xab\x94" },
270 { PMINGLIU, "MSung B5HK"}, 270 { PMINGLIU, "MSung B5HK"},
271 271
272 // 細明體 272 // 細明體
273 { MINGLIU, "MingLiU"}, 273 { MINGLIU, "MingLiU"},
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 *trimmedMatches.append() = match[i]; 726 *trimmedMatches.append() = match[i];
727 } 727 }
728 } 728 }
729 729
730 SkFontStyleSet_FC* sset = SkNEW_ARGS(SkFontStyleSet_FC, 730 SkFontStyleSet_FC* sset = SkNEW_ARGS(SkFontStyleSet_FC,
731 (trimmedMatches.begin(), 731 (trimmedMatches.begin(),
732 trimmedMatches.count())); 732 trimmedMatches.count()));
733 #endif 733 #endif
734 return false; 734 return false;
735 } 735 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698