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

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

Issue 1613153002: Add a SymbolsIterator to aid with Symbols Segmentation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Magic constants moved, EmojiEmoji enum value explained, formatting Created 4 years, 11 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef FontFallbackPriority_h
6 #define FontFallbackPriority_h
7
8 namespace blink {
9
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
12 // EmojiEmoji wording is taken from there. Also compare
13 // http://unicode.org/Public/emoji/1.0/emoji-data.txt
14 enum class FontFallbackPriority {
15 // For regular non-symbols text,
16 // normal text fallback in FontFallbackIterator
17 Text,
18 // For non-emoji symbols
19 Symbols,
20 // For math & technical symbols
21 Math,
22 // For emoji in text presentaiton
23 EmojiText,
24 // For emoji in emoji presentation
25 EmojiEmoji,
26 Invalid
27 };
28
29 bool isNonTextFallbackPriority(FontFallbackPriority);
30
31 }; // namespace blink
32
33 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698