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

Side by Side Diff: third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp

Issue 1525653002: Use Ebrima as fallback font for Tifinagh in Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed expected Created 5 years 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 | « third_party/WebKit/LayoutTests/platform/win/inspector-protocol/layout-fonts/tifinagh-expected.txt ('k') | 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 (c) 2006, 2007, 2008, 2009, 2010, 2012 Google Inc. All rights reser ved. 2 * Copyright (c) 2006, 2007, 2008, 2009, 2010, 2012 Google Inc. All rights reser ved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 static const UChar* devanagariFonts[] = {L"mangal", L"Nirmala UI", 0}; 166 static const UChar* devanagariFonts[] = {L"mangal", L"Nirmala UI", 0};
167 static const UChar* gujaratiFonts[] = {L"shruti", L"Nirmala UI", 0}; 167 static const UChar* gujaratiFonts[] = {L"shruti", L"Nirmala UI", 0};
168 static const UChar* bengaliFonts[] = {L"vrinda", L"Nirmala UI", 0}; 168 static const UChar* bengaliFonts[] = {L"vrinda", L"Nirmala UI", 0};
169 static const UChar* teluguFonts[] = {L"gautami", L"Nirmala UI", 0}; 169 static const UChar* teluguFonts[] = {L"gautami", L"Nirmala UI", 0};
170 static const UChar* tamilFonts[] = {L"latha", L"Nirmala UI", 0}; 170 static const UChar* tamilFonts[] = {L"latha", L"Nirmala UI", 0};
171 static const UChar* kannadaFonts[] = {L"tunga", L"Nirmala UI", 0}; 171 static const UChar* kannadaFonts[] = {L"tunga", L"Nirmala UI", 0};
172 static const UChar* gurumukhiFonts[] = {L"raavi", L"Nirmala UI", 0}; 172 static const UChar* gurumukhiFonts[] = {L"raavi", L"Nirmala UI", 0};
173 static const UChar* thaiFonts[] = {L"tahoma", L"Leelawadee UI", L"Leelawadee ", 0}; 173 static const UChar* thaiFonts[] = {L"tahoma", L"Leelawadee UI", L"Leelawadee ", 0};
174 static const UChar* hebrewFonts[] = {L"david", L"Segoe UI", 0}; 174 static const UChar* hebrewFonts[] = {L"david", L"Segoe UI", 0};
175 static const UChar* arabicFonts[] = {L"tahoma", L"Segoe UI", 0}; 175 static const UChar* arabicFonts[] = {L"tahoma", L"Segoe UI", 0};
176 static const UChar* tifinaghFonts[] = {L"ebrima", 0};
176 static const UChar* georgianFonts[] = {L"sylfaen", L"Segoe UI", 0}; 177 static const UChar* georgianFonts[] = {L"sylfaen", L"Segoe UI", 0};
177 static const UChar* armenianFonts[] = {L"sylfaen", L"Segoe UI", 0}; 178 static const UChar* armenianFonts[] = {L"sylfaen", L"Segoe UI", 0};
178 static const UChar* canadianAboriginalFonts[] = {L"euphemia", L"Gadugi", 0}; 179 static const UChar* canadianAboriginalFonts[] = {L"euphemia", L"Gadugi", 0};
179 static const UChar* cherokeeFonts[] = {L"plantagenet cherokee", L"Gadugi", 0 }; 180 static const UChar* cherokeeFonts[] = {L"plantagenet cherokee", L"Gadugi", 0 };
180 static const UChar* simplifiedHanFonts[] = {L"simsun", L"Microsoft YaHei", 0 }; 181 static const UChar* simplifiedHanFonts[] = {L"simsun", L"Microsoft YaHei", 0 };
181 static const UChar* traditionalHanFonts[] = {L"pmingliu", L"Microsoft JhengH ei", 0}; 182 static const UChar* traditionalHanFonts[] = {L"pmingliu", L"Microsoft JhengH ei", 0};
182 static const UChar* hiraganaFonts[] = {L"ms pgothic", L"Yu Gothic", L"Micros oft YaHei", 0}; 183 static const UChar* hiraganaFonts[] = {L"ms pgothic", L"Yu Gothic", L"Micros oft YaHei", 0};
183 static const UChar* katakanaFonts[] = {L"ms pgothic", L"Yu Gothic", L"Micros oft YaHei", 0}; 184 static const UChar* katakanaFonts[] = {L"ms pgothic", L"Yu Gothic", L"Micros oft YaHei", 0};
184 static const UChar* katakanaOrHiraganaFonts[] = {L"ms pgothic", L"Yu Gothic" , L"Microsoft YaHei", 0}; 185 static const UChar* katakanaOrHiraganaFonts[] = {L"ms pgothic", L"Yu Gothic" , L"Microsoft YaHei", 0};
185 186
(...skipping 13 matching lines...) Expand all
199 {USCRIPT_DEVANAGARI, devanagariFonts}, 200 {USCRIPT_DEVANAGARI, devanagariFonts},
200 {USCRIPT_GUJARATI, gujaratiFonts}, 201 {USCRIPT_GUJARATI, gujaratiFonts},
201 {USCRIPT_BENGALI, bengaliFonts}, 202 {USCRIPT_BENGALI, bengaliFonts},
202 {USCRIPT_TELUGU, teluguFonts}, 203 {USCRIPT_TELUGU, teluguFonts},
203 {USCRIPT_TAMIL, tamilFonts}, 204 {USCRIPT_TAMIL, tamilFonts},
204 {USCRIPT_KANNADA, kannadaFonts}, 205 {USCRIPT_KANNADA, kannadaFonts},
205 {USCRIPT_GURMUKHI, gurumukhiFonts}, 206 {USCRIPT_GURMUKHI, gurumukhiFonts},
206 {USCRIPT_THAI, thaiFonts}, 207 {USCRIPT_THAI, thaiFonts},
207 {USCRIPT_HEBREW, hebrewFonts}, 208 {USCRIPT_HEBREW, hebrewFonts},
208 {USCRIPT_ARABIC, arabicFonts}, 209 {USCRIPT_ARABIC, arabicFonts},
210 {USCRIPT_TIFINAGH, tifinaghFonts},
209 {USCRIPT_GEORGIAN, georgianFonts}, 211 {USCRIPT_GEORGIAN, georgianFonts},
210 {USCRIPT_ARMENIAN, armenianFonts}, 212 {USCRIPT_ARMENIAN, armenianFonts},
211 {USCRIPT_CANADIAN_ABORIGINAL, canadianAboriginalFonts}, 213 {USCRIPT_CANADIAN_ABORIGINAL, canadianAboriginalFonts},
212 {USCRIPT_CHEROKEE, cherokeeFonts}, 214 {USCRIPT_CHEROKEE, cherokeeFonts},
213 {USCRIPT_SIMPLIFIED_HAN, simplifiedHanFonts}, 215 {USCRIPT_SIMPLIFIED_HAN, simplifiedHanFonts},
214 {USCRIPT_TRADITIONAL_HAN, traditionalHanFonts}, 216 {USCRIPT_TRADITIONAL_HAN, traditionalHanFonts},
215 {USCRIPT_HIRAGANA, hiraganaFonts}, 217 {USCRIPT_HIRAGANA, hiraganaFonts},
216 {USCRIPT_KATAKANA, katakanaFonts}, 218 {USCRIPT_KATAKANA, katakanaFonts},
217 {USCRIPT_KATAKANA_OR_HIRAGANA, katakanaOrHiraganaFonts}, 219 {USCRIPT_KATAKANA_OR_HIRAGANA, katakanaOrHiraganaFonts},
218 }; 220 };
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 family = L"lucida sans unicode"; 450 family = L"lucida sans unicode";
449 } 451 }
450 } 452 }
451 453
452 if (scriptChecked) 454 if (scriptChecked)
453 *scriptChecked = script; 455 *scriptChecked = script;
454 return family; 456 return family;
455 } 457 }
456 458
457 } // namespace blink 459 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/platform/win/inspector-protocol/layout-fonts/tifinagh-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698