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

Unified Diff: third_party/ots/src/cmap.h

Issue 797183002: Revert of Updating OTS repo from https://github.com/khaledhosny/ots.git (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/ots/src/cff_type2_charstring.cc ('k') | third_party/ots/src/cmap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/ots/src/cmap.h
diff --git a/third_party/ots/src/cmap.h b/third_party/ots/src/cmap.h
deleted file mode 100644
index 5b09556b72914ff6fd88baf57d884992286e7db0..0000000000000000000000000000000000000000
--- a/third_party/ots/src/cmap.h
+++ /dev/null
@@ -1,74 +0,0 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef OTS_CMAP_H_
-#define OTS_CMAP_H_
-
-#include <vector>
-
-#include "ots.h"
-
-namespace ots {
-
-struct OpenTypeCMAPSubtableRange {
- uint32_t start_range;
- uint32_t end_range;
- uint32_t start_glyph_id;
-};
-
-struct OpenTypeCMAPSubtableVSRange {
- uint32_t unicode_value;
- uint8_t additional_count;
-};
-
-struct OpenTypeCMAPSubtableVSMapping {
- uint32_t unicode_value;
- uint16_t glyph_id;
-};
-
-struct OpenTypeCMAPSubtableVSRecord {
- uint32_t var_selector;
- uint32_t default_offset;
- uint32_t non_default_offset;
- std::vector<OpenTypeCMAPSubtableVSRange> ranges;
- std::vector<OpenTypeCMAPSubtableVSMapping> mappings;
-};
-
-struct OpenTypeCMAP {
- OpenTypeCMAP()
- : subtable_0_3_4_data(NULL),
- subtable_0_3_4_length(0),
- subtable_0_5_14_length(0),
- subtable_3_0_4_data(NULL),
- subtable_3_0_4_length(0),
- subtable_3_1_4_data(NULL),
- subtable_3_1_4_length(0) {
- }
-
- // Platform 0, Encoding 3, Format 4, Unicode BMP table.
- const uint8_t *subtable_0_3_4_data;
- size_t subtable_0_3_4_length;
-
- // Platform 0, Encoding 5, Format 14, Unicode Variation Sequence table.
- size_t subtable_0_5_14_length;
- std::vector<OpenTypeCMAPSubtableVSRecord> subtable_0_5_14;
-
- // Platform 3, Encoding 0, Format 4, MS Symbol table.
- const uint8_t *subtable_3_0_4_data;
- size_t subtable_3_0_4_length;
- // Platform 3, Encoding 1, Format 4, MS Unicode BMP table.
- const uint8_t *subtable_3_1_4_data;
- size_t subtable_3_1_4_length;
-
- // Platform 3, Encoding 10, Format 12, MS Unicode UCS-4 table.
- std::vector<OpenTypeCMAPSubtableRange> subtable_3_10_12;
- // Platform 3, Encoding 10, Format 13, MS UCS-4 Fallback table.
- std::vector<OpenTypeCMAPSubtableRange> subtable_3_10_13;
- // Platform 1, Encoding 0, Format 0, Mac Roman table.
- std::vector<uint8_t> subtable_1_0_0;
-};
-
-} // namespace ots
-
-#endif
« no previous file with comments | « third_party/ots/src/cff_type2_charstring.cc ('k') | third_party/ots/src/cmap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698