aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-05 22:33:16 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-05 22:33:16 +0000
commitee38c08b0769fbe06887b50469dc97b8ebc6d868 (patch)
tree131d40819048a027798dc703e994f9992afe2d24 /src
parent5bfc8396228b7a9e5be679aeb10f30860adf938f (diff)
add ttcIndex parameter to calls to SkFontStream
git-svn-id: http://skia.googlecode.com/svn/trunk@7999 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r--src/ports/SkFontHost_tables.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/ports/SkFontHost_tables.cpp b/src/ports/SkFontHost_tables.cpp
index 5a5deeea27..9ddf6c0db6 100644
--- a/src/ports/SkFontHost_tables.cpp
+++ b/src/ports/SkFontHost_tables.cpp
@@ -17,7 +17,8 @@ int SkFontHost::CountTables(SkFontID fontID) {
}
SkAutoUnref au(stream);
- return SkFontStream::GetTableTags(stream, NULL);
+ int ttcIndex = 0;
+ return SkFontStream::GetTableTags(stream, ttcIndex, NULL);
}
int SkFontHost::GetTableTags(SkFontID fontID, SkFontTableTag tags[]) {
@@ -27,7 +28,8 @@ int SkFontHost::GetTableTags(SkFontID fontID, SkFontTableTag tags[]) {
}
SkAutoUnref au(stream);
- return SkFontStream::GetTableTags(stream, tags);
+ int ttcIndex = 0;
+ return SkFontStream::GetTableTags(stream, ttcIndex, tags);
}
size_t SkFontHost::GetTableSize(SkFontID fontID, SkFontTableTag tag) {
@@ -37,7 +39,8 @@ size_t SkFontHost::GetTableSize(SkFontID fontID, SkFontTableTag tag) {
}
SkAutoUnref au(stream);
- return SkFontStream::GetTableData(stream, tag, 0, ~0U, NULL);
+ int ttcIndex = 0;
+ return SkFontStream::GetTableData(stream, ttcIndex, tag, 0, ~0U, NULL);
}
size_t SkFontHost::GetTableData(SkFontID fontID, SkFontTableTag tag,
@@ -48,5 +51,6 @@ size_t SkFontHost::GetTableData(SkFontID fontID, SkFontTableTag tag,
}
SkAutoUnref au(stream);
- return SkFontStream::GetTableData(stream, tag, offset, length, data);
+ int ttcIndex = 0;
+ return SkFontStream::GetTableData(stream, ttcIndex, tag, offset, length, data);
}