| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |