OLD | NEW |
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 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 switch (blockCode) { | 406 switch (blockCode) { |
407 case UBLOCK_EMOTICONS: | 407 case UBLOCK_EMOTICONS: |
408 case UBLOCK_ENCLOSED_ALPHANUMERIC_SUPPLEMENT: | 408 case UBLOCK_ENCLOSED_ALPHANUMERIC_SUPPLEMENT: |
409 return emojiFont; | 409 return emojiFont; |
410 case UBLOCK_PLAYING_CARDS: | 410 case UBLOCK_PLAYING_CARDS: |
411 case UBLOCK_MISCELLANEOUS_SYMBOLS: | 411 case UBLOCK_MISCELLANEOUS_SYMBOLS: |
412 case UBLOCK_MISCELLANEOUS_SYMBOLS_AND_ARROWS: | 412 case UBLOCK_MISCELLANEOUS_SYMBOLS_AND_ARROWS: |
413 case UBLOCK_MISCELLANEOUS_SYMBOLS_AND_PICTOGRAPHS: | 413 case UBLOCK_MISCELLANEOUS_SYMBOLS_AND_PICTOGRAPHS: |
414 case UBLOCK_TRANSPORT_AND_MAP_SYMBOLS: | 414 case UBLOCK_TRANSPORT_AND_MAP_SYMBOLS: |
415 case UBLOCK_ALCHEMICAL_SYMBOLS: | 415 case UBLOCK_ALCHEMICAL_SYMBOLS: |
416 case UBLOCK_RUNIC: | |
417 case UBLOCK_DINGBATS: | 416 case UBLOCK_DINGBATS: |
418 case UBLOCK_GOTHIC: | 417 case UBLOCK_GOTHIC: |
419 return symbolFont; | 418 return symbolFont; |
420 case UBLOCK_ARROWS: | 419 case UBLOCK_ARROWS: |
421 case UBLOCK_MATHEMATICAL_OPERATORS: | 420 case UBLOCK_MATHEMATICAL_OPERATORS: |
422 case UBLOCK_MISCELLANEOUS_TECHNICAL: | 421 case UBLOCK_MISCELLANEOUS_TECHNICAL: |
423 case UBLOCK_GEOMETRIC_SHAPES: | 422 case UBLOCK_GEOMETRIC_SHAPES: |
424 case UBLOCK_MISCELLANEOUS_MATHEMATICAL_SYMBOLS_A: | 423 case UBLOCK_MISCELLANEOUS_MATHEMATICAL_SYMBOLS_A: |
425 case UBLOCK_SUPPLEMENTAL_ARROWS_A: | 424 case UBLOCK_SUPPLEMENTAL_ARROWS_A: |
426 case UBLOCK_SUPPLEMENTAL_ARROWS_B: | 425 case UBLOCK_SUPPLEMENTAL_ARROWS_B: |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
542 family = L"lucida sans unicode"; | 541 family = L"lucida sans unicode"; |
543 } | 542 } |
544 } | 543 } |
545 | 544 |
546 if (scriptChecked) | 545 if (scriptChecked) |
547 *scriptChecked = script; | 546 *scriptChecked = script; |
548 return family; | 547 return family; |
549 } | 548 } |
550 | 549 |
551 } // namespace blink | 550 } // namespace blink |
OLD | NEW |