Home | History | Annotate | Download | only in minikin
      1 /*
      2  * Copyright (C) 2017 The Android Open Source Project
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *      http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  * See the License for the specific language governing permissions and
     14  * limitations under the License.
     15  */
     16 
     17 #ifndef MINIKIN_CHARACTERS_H
     18 #define MINIKIN_CHARACTERS_H
     19 
     20 #include <cstdint>
     21 
     22 namespace minikin {
     23 
     24 // Code point order
     25 constexpr uint32_t CHAR_LINE_FEED = 0x000A;
     26 constexpr uint32_t CHAR_CARRIAGE_RETURN = 0x000D;
     27 constexpr uint32_t CHAR_TAB = 0x0009;
     28 constexpr uint32_t CHAR_HYPHEN_MINUS = 0x002D;
     29 constexpr uint32_t CHAR_NBSP = 0x00A0;
     30 constexpr uint32_t CHAR_SOFT_HYPHEN = 0x00AD;
     31 constexpr uint32_t CHAR_MIDDLE_DOT = 0x00B7;
     32 constexpr uint32_t CHAR_ARMENIAN_HYPHEN = 0x058A;
     33 constexpr uint32_t CHAR_MAQAF = 0x05BE;
     34 constexpr uint32_t CHAR_UCAS_HYPHEN = 0x1400;
     35 constexpr uint32_t CHAR_ZWJ = 0x200D;
     36 constexpr uint32_t CHAR_HYPHEN = 0x2010;
     37 
     38 }  // namespace minikin
     39 
     40 #endif  // MINIKIN_CHARACTERS_H
     41