OLD | NEW |
(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 |
OLD | NEW |