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

Side by Side Diff: third_party/WebKit/Source/platform/fonts/FontFallbackPriority.h

Issue 2321043002: Disable Math and Symbols segmentation, fix dotted circle sequence (Closed)
Patch Set: Fix comment wording Created 4 years, 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/fonts/FontFallbackPriority.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef FontFallbackPriority_h 5 #ifndef FontFallbackPriority_h
6 #define FontFallbackPriority_h 6 #define FontFallbackPriority_h
7 7
8 namespace blink { 8 namespace blink {
9 9
10 // http://unicode.org/reports/tr51/#Presentation_Style discusses the differences 10 // http://unicode.org/reports/tr51/#Presentation_Style discusses the differences
11 // between emoji in text and the emoji in emoji presentation. In that sense, the 11 // between emoji in text and the emoji in emoji presentation. In that sense, the
12 // EmojiEmoji wording is taken from there. Also compare 12 // EmojiEmoji wording is taken from there. Also compare
13 // http://unicode.org/Public/emoji/1.0/emoji-data.txt 13 // http://unicode.org/Public/emoji/1.0/emoji-data.txt
14 enum class FontFallbackPriority { 14 enum class FontFallbackPriority {
15 // For regular non-symbols text, 15 // For regular non-symbols text,
16 // normal text fallback in FontFallbackIterator 16 // normal text fallback in FontFallbackIterator
17 Text, 17 Text,
18 // For non-emoji symbols
19 Symbols,
20 // For math & technical symbols
21 Math,
22 // For emoji in text presentaiton 18 // For emoji in text presentaiton
23 EmojiText, 19 EmojiText,
24 // For emoji in emoji presentation 20 // For emoji in emoji presentation
25 EmojiEmoji, 21 EmojiEmoji,
26 Invalid 22 Invalid
27 }; 23 };
28 24
29 bool isNonTextFallbackPriority(FontFallbackPriority); 25 bool isNonTextFallbackPriority(FontFallbackPriority);
30 26
31 }; // namespace blink 27 }; // namespace blink
32 28
33 #endif 29 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/fonts/FontFallbackPriority.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698