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

Side by Side Diff: webkit/port/platform/graphics/FontCacheWin.cpp

Issue 6495: Change the font search order to try Lucida Sans Unicode before Arial Unicode ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/data/layout_test_results/v8/LayoutTests/css2.1/t1503-c522-font-family-00-b-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 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 L"han nom a", // Complete CJK Ext. A coverage 388 L"han nom a", // Complete CJK Ext. A coverage
389 L"code2000", // Complete CJK Ext. A coverage 389 L"code2000", // Complete CJK Ext. A coverage
390 // CJK Ext. B fonts are not listed here because it's of no use 390 // CJK Ext. B fonts are not listed here because it's of no use
391 // with our current non-BMP character handling because we use 391 // with our current non-BMP character handling because we use
392 // Uniscribe for it and that code path does not go through here. 392 // Uniscribe for it and that code path does not go through here.
393 // This will be fixed when we move a bulk of this to base/gfx. 393 // This will be fixed when we move a bulk of this to base/gfx.
394 }; 394 };
395 395
396 const static wchar_t* const commonFonts[] = { 396 const static wchar_t* const commonFonts[] = {
397 L"tahoma", 397 L"tahoma",
398 L"lucida sans unicode",
398 L"arial unicode ms", 399 L"arial unicode ms",
399 L"microsoft sans serif", 400 L"microsoft sans serif",
400 L"lucida sans unicode",
401 L"palatino linotype", 401 L"palatino linotype",
402 // Four fonts below (code2000 at the end) are not from MS, but 402 // Four fonts below (and code2000 at the end) are not from MS, but
403 // once installed, cover a very wide range of characters. 403 // once installed, cover a very wide range of characters.
404 L"freeserif", 404 L"freeserif",
405 L"freesans", 405 L"freesans",
406 L"gentium", 406 L"gentium",
407 L"gentiumalt", 407 L"gentiumalt",
408 L"ms pgothic", 408 L"ms pgothic",
409 L"simsun", 409 L"simsun",
410 L"gulim", 410 L"gulim",
411 L"pmingliu", 411 L"pmingliu",
412 L"code2000", 412 L"code2000",
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 return 0; 704 return 0;
705 } 705 }
706 } 706 }
707 707
708 return new FontPlatformData(hfont, 708 return new FontPlatformData(hfont,
709 fontDescription.computedPixelSize(), 709 fontDescription.computedPixelSize(),
710 false); 710 false);
711 } 711 }
712 712
713 } 713 }
OLDNEW
« no previous file with comments | « webkit/data/layout_test_results/v8/LayoutTests/css2.1/t1503-c522-font-family-00-b-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698