table_tags.h 807 B

123456789101112131415161718192021222324252627282930
  1. /* Copyright 2014 Google Inc. All Rights Reserved.
  2. Distributed under MIT license.
  3. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
  4. */
  5. /* Font table tags */
  6. #ifndef WOFF2_TABLE_TAGS_H_
  7. #define WOFF2_TABLE_TAGS_H_
  8. #include <inttypes.h>
  9. namespace woff2 {
  10. // Tags of popular tables.
  11. static const uint32_t kGlyfTableTag = 0x676c7966;
  12. static const uint32_t kHeadTableTag = 0x68656164;
  13. static const uint32_t kLocaTableTag = 0x6c6f6361;
  14. static const uint32_t kDsigTableTag = 0x44534947;
  15. static const uint32_t kCffTableTag = 0x43464620;
  16. static const uint32_t kHmtxTableTag = 0x686d7478;
  17. static const uint32_t kHheaTableTag = 0x68686561;
  18. static const uint32_t kMaxpTableTag = 0x6d617870;
  19. extern const uint32_t kKnownTags[];
  20. } // namespace woff2
  21. #endif // WOFF2_TABLE_TAGS_H_