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

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

Issue 1521993008: Teach Chromium on Windows where to find Ogham glyphs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adapted tests after Tifinagh feedback 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/ogham-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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 static const UChar* ethiopicFonts[] = {L"Nyala", L"Abyssinica SIL", L"Ethiop ia Jiret", L"Visual Geez Unicode", L"GF Zemen Unicode", L"Ebrima", 0}; 154 static const UChar* ethiopicFonts[] = {L"Nyala", L"Abyssinica SIL", L"Ethiop ia Jiret", L"Visual Geez Unicode", L"GF Zemen Unicode", L"Ebrima", 0};
155 static const UChar* oriyaFonts[] = {L"Kalinga", L"ori1Uni", L"Lohit Oriya", L"Nirmala UI", 0}; 155 static const UChar* oriyaFonts[] = {L"Kalinga", L"ori1Uni", L"Lohit Oriya", L"Nirmala UI", 0};
156 static const UChar* laoFonts[] = {L"Leelawadee UI", L"DokChampa", L"Saysetth a OT", L"Phetsarath OT", L"Code2000", 0}; 156 static const UChar* laoFonts[] = {L"Leelawadee UI", L"DokChampa", L"Saysetth a OT", L"Phetsarath OT", L"Code2000", 0};
157 static const UChar* tibetanFonts[] = {L"Microsoft Himalaya", L"Jomolhari", L "Tibetan Machine Uni", 0}; 157 static const UChar* tibetanFonts[] = {L"Microsoft Himalaya", L"Jomolhari", L "Tibetan Machine Uni", 0};
158 static const UChar* sinhalaFonts[] = {L"Iskoola Pota", L"AksharUnicode", L"N irmala UI", 0}; 158 static const UChar* sinhalaFonts[] = {L"Iskoola Pota", L"AksharUnicode", L"N irmala UI", 0};
159 static const UChar* yiFonts[] = {L"Microsoft Yi Balti", L"Nuosu SIL", L"Code 2000", 0}; 159 static const UChar* yiFonts[] = {L"Microsoft Yi Balti", L"Nuosu SIL", L"Code 2000", 0};
160 // http://www.bethmardutho.org/support/meltho/download/index.php 160 // http://www.bethmardutho.org/support/meltho/download/index.php
161 static const UChar* syriacFonts[] = {L"Estrangelo Edessa", L"Estrangelo Nisi bin", L"Code2000", 0}; 161 static const UChar* syriacFonts[] = {L"Estrangelo Edessa", L"Estrangelo Nisi bin", L"Code2000", 0};
162 static const UChar* myanmarFonts[] = {L"Myanmar Text", L"Padauk", L"Parabaik ", L"Myanmar3", L"Code2000", 0}; 162 static const UChar* myanmarFonts[] = {L"Myanmar Text", L"Padauk", L"Parabaik ", L"Myanmar3", L"Code2000", 0};
163 static const UChar* gothicFonts[] = {L"Segoe UI Symbol", 0}; 163 static const UChar* gothicFonts[] = {L"Segoe UI Symbol", 0};
164 static const UChar* oghamFonts[] = {L"Segoe UI Symbol", 0};
164 static const UChar* hangulFonts[] = {L"gulim", L"Malgun Gothic", 0}; 165 static const UChar* hangulFonts[] = {L"gulim", L"Malgun Gothic", 0};
165 static const UChar* devanagariFonts[] = {L"mangal", L"Nirmala UI", 0}; 166 static const UChar* devanagariFonts[] = {L"mangal", L"Nirmala UI", 0};
166 static const UChar* gujaratiFonts[] = {L"shruti", L"Nirmala UI", 0}; 167 static const UChar* gujaratiFonts[] = {L"shruti", L"Nirmala UI", 0};
167 static const UChar* bengaliFonts[] = {L"vrinda", L"Nirmala UI", 0}; 168 static const UChar* bengaliFonts[] = {L"vrinda", L"Nirmala UI", 0};
168 static const UChar* teluguFonts[] = {L"gautami", L"Nirmala UI", 0}; 169 static const UChar* teluguFonts[] = {L"gautami", L"Nirmala UI", 0};
169 static const UChar* tamilFonts[] = {L"latha", L"Nirmala UI", 0}; 170 static const UChar* tamilFonts[] = {L"latha", L"Nirmala UI", 0};
170 static const UChar* kannadaFonts[] = {L"tunga", L"Nirmala UI", 0}; 171 static const UChar* kannadaFonts[] = {L"tunga", L"Nirmala UI", 0};
171 static const UChar* gurumukhiFonts[] = {L"raavi", L"Nirmala UI", 0}; 172 static const UChar* gurumukhiFonts[] = {L"raavi", L"Nirmala UI", 0};
172 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};
173 static const UChar* hebrewFonts[] = {L"david", L"Segoe UI", 0}; 174 static const UChar* hebrewFonts[] = {L"david", L"Segoe UI", 0};
(...skipping 14 matching lines...) Expand all
188 {USCRIPT_KHMER, khmerFonts}, 189 {USCRIPT_KHMER, khmerFonts},
189 {USCRIPT_ETHIOPIC, ethiopicFonts}, 190 {USCRIPT_ETHIOPIC, ethiopicFonts},
190 {USCRIPT_ORIYA, oriyaFonts}, 191 {USCRIPT_ORIYA, oriyaFonts},
191 {USCRIPT_LAO, laoFonts}, 192 {USCRIPT_LAO, laoFonts},
192 {USCRIPT_TIBETAN, tibetanFonts}, 193 {USCRIPT_TIBETAN, tibetanFonts},
193 {USCRIPT_SINHALA, sinhalaFonts}, 194 {USCRIPT_SINHALA, sinhalaFonts},
194 {USCRIPT_YI, yiFonts}, 195 {USCRIPT_YI, yiFonts},
195 {USCRIPT_SYRIAC, syriacFonts}, 196 {USCRIPT_SYRIAC, syriacFonts},
196 {USCRIPT_MYANMAR, myanmarFonts}, 197 {USCRIPT_MYANMAR, myanmarFonts},
197 {USCRIPT_GOTHIC, gothicFonts}, 198 {USCRIPT_GOTHIC, gothicFonts},
199 {USCRIPT_OGHAM, oghamFonts},
198 {USCRIPT_HANGUL, hangulFonts}, 200 {USCRIPT_HANGUL, hangulFonts},
199 {USCRIPT_DEVANAGARI, devanagariFonts}, 201 {USCRIPT_DEVANAGARI, devanagariFonts},
200 {USCRIPT_GUJARATI, gujaratiFonts}, 202 {USCRIPT_GUJARATI, gujaratiFonts},
201 {USCRIPT_BENGALI, bengaliFonts}, 203 {USCRIPT_BENGALI, bengaliFonts},
202 {USCRIPT_TELUGU, teluguFonts}, 204 {USCRIPT_TELUGU, teluguFonts},
203 {USCRIPT_TAMIL, tamilFonts}, 205 {USCRIPT_TAMIL, tamilFonts},
204 {USCRIPT_KANNADA, kannadaFonts}, 206 {USCRIPT_KANNADA, kannadaFonts},
205 {USCRIPT_GURMUKHI, gurumukhiFonts}, 207 {USCRIPT_GURMUKHI, gurumukhiFonts},
206 {USCRIPT_THAI, thaiFonts}, 208 {USCRIPT_THAI, thaiFonts},
207 {USCRIPT_HEBREW, hebrewFonts}, 209 {USCRIPT_HEBREW, hebrewFonts},
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 family = L"lucida sans unicode"; 451 family = L"lucida sans unicode";
450 } 452 }
451 } 453 }
452 454
453 if (scriptChecked) 455 if (scriptChecked)
454 *scriptChecked = script; 456 *scriptChecked = script;
455 return family; 457 return family;
456 } 458 }
457 459
458 } // namespace blink 460 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/platform/win/inspector-protocol/layout-fonts/ogham-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698