aboutsummaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorarthurhsu <arthurhsu@google.com>2012-06-29 17:27:00 +0000
committerarthurhsu <arthurhsu@google.com>2012-06-29 17:27:00 +0000
commit3835848ea07870392854d8ae9dacda1c662ee5f1 (patch)
treec9f49ea1571b50d27f101965130d04fd4773795a /cpp
parent13983b105dfe67061fceaca2dce7f02b9d6ef6c9 (diff)
downloadsfntly-3835848ea07870392854d8ae9dacda1c662ee5f1.tar.gz
Land Nico's warning fix.
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/sfntly/table/core/cmap_table.cc1
-rw-r--r--cpp/src/sfntly/table/core/cmap_table.h2
-rw-r--r--cpp/src/sfntly/table/core/name_table.h1
-rw-r--r--cpp/src/sfntly/table/truetype/glyph_table.h1
4 files changed, 0 insertions, 5 deletions
diff --git a/cpp/src/sfntly/table/core/cmap_table.cc b/cpp/src/sfntly/table/core/cmap_table.cc
index 0b4f89a..1c83d2e 100644
--- a/cpp/src/sfntly/table/core/cmap_table.cc
+++ b/cpp/src/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/cpp/src/sfntly/table/core/cmap_table.h b/cpp/src/sfntly/table/core/cmap_table.h
index 29ce3e4..b264b07 100644
--- a/cpp/src/sfntly/table/core/cmap_table.h
+++ b/cpp/src/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/cpp/src/sfntly/table/core/name_table.h b/cpp/src/sfntly/table/core/name_table.h
index 01d3b29..4eaafbb 100644
--- a/cpp/src/sfntly/table/core/name_table.h
+++ b/cpp/src/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/cpp/src/sfntly/table/truetype/glyph_table.h b/cpp/src/sfntly/table/truetype/glyph_table.h
index 0836971..4ffddda 100644
--- a/cpp/src/sfntly/table/truetype/glyph_table.h
+++ b/cpp/src/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;
};