| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright © 2007,2008,2009 Red Hat, Inc. | 2 * Copyright © 2007,2008,2009 Red Hat, Inc. |
| 3 * Copyright © 2012 Google, Inc. | 3 * Copyright © 2012 Google, Inc. |
| 4 * | 4 * |
| 5 * This is part of HarfBuzz, a text shaping library. | 5 * This is part of HarfBuzz, a text shaping library. |
| 6 * | 6 * |
| 7 * Permission is hereby granted, without written agreement and without | 7 * Permission is hereby granted, without written agreement and without |
| 8 * license or royalty fees, to use, copy, modify, and distribute this | 8 * license or royalty fees, to use, copy, modify, and distribute this |
| 9 * software and its documentation for any purpose, provided that the | 9 * software and its documentation for any purpose, provided that the |
| 10 * above copyright notice and the following two paragraphs appear in | 10 * above copyright notice and the following two paragraphs appear in |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 } u; | 190 } u; |
| 191 }; | 191 }; |
| 192 | 192 |
| 193 | 193 |
| 194 /* | 194 /* |
| 195 * OpenType Font File | 195 * OpenType Font File |
| 196 */ | 196 */ |
| 197 | 197 |
| 198 struct OpenTypeFontFile | 198 struct OpenTypeFontFile |
| 199 { | 199 { |
| 200 static const hb_tag_t tableTag = HB_TAG ('_','_','_','_'); /* Sanitizer
needs this. */ |
| 201 |
| 200 static const hb_tag_t CFFTag = HB_TAG ('O','T','T','O'); /* OpenType
with Postscript outlines */ | 202 static const hb_tag_t CFFTag = HB_TAG ('O','T','T','O'); /* OpenType
with Postscript outlines */ |
| 201 static const hb_tag_t TrueTypeTag = HB_TAG ( 0 , 1 , 0 , 0 ); /* OpenType
with TrueType outlines */ | 203 static const hb_tag_t TrueTypeTag = HB_TAG ( 0 , 1 , 0 , 0 ); /* OpenType
with TrueType outlines */ |
| 202 static const hb_tag_t TTCTag = HB_TAG ('t','t','c','f'); /* TrueType
Collection */ | 204 static const hb_tag_t TTCTag = HB_TAG ('t','t','c','f'); /* TrueType
Collection */ |
| 203 static const hb_tag_t TrueTag = HB_TAG ('t','r','u','e'); /* Obsolete
Apple TrueType */ | 205 static const hb_tag_t TrueTag = HB_TAG ('t','r','u','e'); /* Obsolete
Apple TrueType */ |
| 204 static const hb_tag_t Typ1Tag = HB_TAG ('t','y','p','1'); /* Obsolete
Apple Type1 font in SFNT container */ | 206 static const hb_tag_t Typ1Tag = HB_TAG ('t','y','p','1'); /* Obsolete
Apple Type1 font in SFNT container */ |
| 205 | 207 |
| 206 inline hb_tag_t get_tag (void) const { return u.tag; } | 208 inline hb_tag_t get_tag (void) const { return u.tag; } |
| 207 | 209 |
| 208 inline unsigned int get_face_count (void) const | 210 inline unsigned int get_face_count (void) const |
| 209 { | 211 { |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 } u; | 254 } u; |
| 253 public: | 255 public: |
| 254 DEFINE_SIZE_UNION (4, tag); | 256 DEFINE_SIZE_UNION (4, tag); |
| 255 }; | 257 }; |
| 256 | 258 |
| 257 | 259 |
| 258 } /* namespace OT */ | 260 } /* namespace OT */ |
| 259 | 261 |
| 260 | 262 |
| 261 #endif /* HB_OPEN_FILE_PRIVATE_HH */ | 263 #endif /* HB_OPEN_FILE_PRIVATE_HH */ |
| OLD | NEW |