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

Side by Side Diff: Source/platform/fonts/Character.cpp

Issue 1227883003: Handle U+3099/309A Kana Voiced Sound Marks in complex path (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Mac fails with 1px diff Created 5 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 Google 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 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 // U+1A00 through U+1CFF Buginese, Tai Tham, Balinese, Batak, Lepcha, Ve dic 100 // U+1A00 through U+1CFF Buginese, Tai Tham, Balinese, Batak, Lepcha, Ve dic
101 0x1A00, 0x1CFF, 101 0x1A00, 0x1CFF,
102 // U+1DC0 through U+1DFF Comining diacritical mark supplement 102 // U+1DC0 through U+1DFF Comining diacritical mark supplement
103 0x1DC0, 0x1DFF, 103 0x1DC0, 0x1DFF,
104 // U+20D0 through U+20FF Combining marks for symbols 104 // U+20D0 through U+20FF Combining marks for symbols
105 0x20D0, 0x20FF, 105 0x20D0, 0x20FF,
106 // U+2CEF through U+2CF1 Combining marks for Coptic 106 // U+2CEF through U+2CF1 Combining marks for Coptic
107 0x2CEF, 0x2CF1, 107 0x2CEF, 0x2CF1,
108 // U+302A through U+302F Ideographic and Hangul Tone marks 108 // U+302A through U+302F Ideographic and Hangul Tone marks
109 0x302A, 0x302F, 109 0x302A, 0x302F,
110 // Combining Katakana-Hiragana Voiced/Semi-voiced Sound Mark
111 0x3099, 0x309A,
110 // U+A67C through U+A67D Combining marks for old Cyrillic 112 // U+A67C through U+A67D Combining marks for old Cyrillic
111 0xA67C, 0xA67D, 113 0xA67C, 0xA67D,
112 // U+A6F0 through U+A6F1 Combining mark for Bamum 114 // U+A6F0 through U+A6F1 Combining mark for Bamum
113 0xA6F0, 0xA6F1, 115 0xA6F0, 0xA6F1,
114 // U+A800 through U+ABFF Nagri, Phags-pa, Saurashtra, Devanagari Extende d, 116 // U+A800 through U+ABFF Nagri, Phags-pa, Saurashtra, Devanagari Extende d,
115 // Hangul Jamo Ext. A, Javanese, Myanmar Extended A, Tai Viet, Meetei Ma yek 117 // Hangul Jamo Ext. A, Javanese, Myanmar Extended A, Tai Viet, Meetei Ma yek
116 0xA800, 0xABFF, 118 0xA800, 0xABFF,
117 // U+D7B0 through U+D7FF Hangul Jamo Ext. B 119 // U+D7B0 through U+D7FF Hangul Jamo Ext. B
118 0xD7B0, 0xD7FF, 120 0xD7B0, 0xD7FF,
119 // U+FE00 through U+FE0F Unicode variation selectors 121 // U+FE00 through U+FE0F Unicode variation selectors
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 { 498 {
497 return normalizeSpacesInternal(characters, length); 499 return normalizeSpacesInternal(characters, length);
498 } 500 }
499 501
500 String Character::normalizeSpaces(const UChar* characters, unsigned length) 502 String Character::normalizeSpaces(const UChar* characters, unsigned length)
501 { 503 {
502 return normalizeSpacesInternal(characters, length); 504 return normalizeSpacesInternal(characters, length);
503 } 505 }
504 506
505 } // namespace blink 507 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698