summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarthurhsu@google.com <arthurhsu@google.com@672e30a5-4c29-85ac-ac6d-611c735e0a51>2012-06-29 17:27:00 +0000
committerarthurhsu@google.com <arthurhsu@google.com@672e30a5-4c29-85ac-ac6d-611c735e0a51>2012-06-29 17:27:00 +0000
commit0f57ae889297f20b96a4770602c5d611054194bd (patch)
tree1b06c0ac20165e98ba3e4f8fd59140c02a1b7f8c
parent127cef2a54a5b6e6777761d550c1ec90e736383f (diff)
downloadsrc-0f57ae889297f20b96a4770602c5d611054194bd.tar.gz
Land Nico's warning fix.
git-svn-id: http://sfntly.googlecode.com/svn/trunk/cpp/src@133 672e30a5-4c29-85ac-ac6d-611c735e0a51
-rw-r--r--sfntly/table/core/cmap_table.cc1
-rw-r--r--sfntly/table/core/cmap_table.h2
-rw-r--r--sfntly/table/core/name_table.h1
-rw-r--r--sfntly/table/truetype/glyph_table.h1
4 files changed, 0 insertions, 5 deletions
diff --git a/sfntly/table/core/cmap_table.cc b/sfntly/table/core/cmap_table.cc
index 0b4f89a..1c83d2e 100644
--- a/sfntly/table/core/cmap_table.cc
+++ b/sfntly/table/core/cmap_table.cc
@@ -596,7 +596,6 @@ CMapTable::CMapFormat4::CMapFormat4(ReadableFontData* data,
: CMap(data, CMapFormat::kFormat4, cmap_id),
seg_count_(SegCount(data)),
start_code_offset_(StartCodeOffset(seg_count_)),
- end_code_offset_(Offset::kFormat4EndCount),
id_delta_offset_(IdDeltaOffset(seg_count_)),
glyph_id_array_offset_(GlyphIdArrayOffset(seg_count_)) {
}
diff --git a/sfntly/table/core/cmap_table.h b/sfntly/table/core/cmap_table.h
index 29ce3e4..b264b07 100644
--- a/sfntly/table/core/cmap_table.h
+++ b/sfntly/table/core/cmap_table.h
@@ -488,9 +488,7 @@ public:
int32_t seg_count_;
int32_t start_code_offset_;
- int32_t end_code_offset_;
int32_t id_delta_offset_;
- int32_t id_range_offset_offset_;
int32_t glyph_id_array_offset_;
};
diff --git a/sfntly/table/core/name_table.h b/sfntly/table/core/name_table.h
index 01d3b29..4eaafbb 100644
--- a/sfntly/table/core/name_table.h
+++ b/sfntly/table/core/name_table.h
@@ -480,7 +480,6 @@ class NameTable : public SubTableContainerTable, public RefCounted<NameTable> {
int32_t name_id, const ByteVector* name_bytes);
NameEntryId name_entry_id_;
- int32_t length_;
ByteVector name_bytes_;
friend class NameEntryBuilder;
diff --git a/sfntly/table/truetype/glyph_table.h b/sfntly/table/truetype/glyph_table.h
index 0836971..4ffddda 100644
--- a/sfntly/table/truetype/glyph_table.h
+++ b/sfntly/table/truetype/glyph_table.h
@@ -70,7 +70,6 @@ class GlyphTable : public SubTableContainerTable,
virtual int32_t SubSerialize(WritableFontData* new_data);
private:
- int32_t format_;
friend class GlyphTable::Builder;
};