/external/chromium_org/third_party/skia/src/core/ |
H A D | SkFontStream.h | 28 * @param ttcIndex 0 for normal sfnts, or the index within a TTC sfnt. 33 static int GetTableTags(SkStream*, int ttcIndex, SkFontTableTag tags[]); 36 * @param ttcIndex 0 for normal sfnts, or the index within a TTC sfnt. 41 static size_t GetTableData(SkStream*, int ttcIndex, SkFontTableTag tag, 44 static size_t GetTableSize(SkStream* stream, int ttcIndex, SkFontTableTag tag) { argument 45 return GetTableData(stream, ttcIndex, tag, 0, ~0U, NULL);
|
H A D | SkFontHost.cpp | 164 SkTypeface* SkFontMgr::createFromData(SkData* data, int ttcIndex) { argument 168 return this->onCreateFromData(data, ttcIndex); 171 SkTypeface* SkFontMgr::createFromStream(SkStream* stream, int ttcIndex) { argument 175 return this->onCreateFromStream(stream, ttcIndex); 178 SkTypeface* SkFontMgr::createFromFile(const char path[], int ttcIndex) { argument 182 return this->onCreateFromFile(path, ttcIndex);
|
H A D | SkFontStream.cpp | 54 static int count_tables(SkStream* stream, int ttcIndex, size_t* offsetToDir) { argument 55 SkASSERT(ttcIndex >= 0); 71 if ((unsigned)ttcIndex >= count) { 75 if (ttcIndex > 0) { // need to read more of the shared header 77 size_t amount = sizeof(SkSharedTTHeader) + ttcIndex * sizeof(uint32_t); 84 offset = SkEndian_SwapBE32((&header->fCollection.fOffset0)[ttcIndex]); 113 bool init(SkStream* stream, int ttcIndex) { argument 117 fCount = count_tables(stream, ttcIndex, &offsetToDir); 155 int SkFontStream::GetTableTags(SkStream* stream, int ttcIndex, argument 158 if (!header.init(stream, ttcIndex)) { 170 GetTableData(SkStream* stream, int ttcIndex, SkFontTableTag tag, size_t offset, size_t length, void* data) argument [all...] |
H A D | SkTypeface.cpp | 41 virtual SkStream* onOpenStream(int* ttcIndex) const SK_OVERRIDE { return NULL; } 142 int ttcIndex; // TODO: write this to the stream? local 143 SkAutoTUnref<SkStream> rstream(this->openStream(&ttcIndex)); 201 SkStream* SkTypeface::openStream(int* ttcIndex) const { 203 if (NULL == ttcIndex) { 205 ttcIndex = &ttcIndexStorage; 207 return this->onOpenStream(ttcIndex);
|
/external/skia/src/core/ |
H A D | SkFontStream.h | 28 * @param ttcIndex 0 for normal sfnts, or the index within a TTC sfnt. 33 static int GetTableTags(SkStream*, int ttcIndex, SkFontTableTag tags[]); 36 * @param ttcIndex 0 for normal sfnts, or the index within a TTC sfnt. 41 static size_t GetTableData(SkStream*, int ttcIndex, SkFontTableTag tag, 44 static size_t GetTableSize(SkStream* stream, int ttcIndex, SkFontTableTag tag) { argument 45 return GetTableData(stream, ttcIndex, tag, 0, ~0U, NULL);
|
H A D | SkFontHost.cpp | 164 SkTypeface* SkFontMgr::createFromData(SkData* data, int ttcIndex) { argument 168 return this->onCreateFromData(data, ttcIndex); 171 SkTypeface* SkFontMgr::createFromStream(SkStream* stream, int ttcIndex) { argument 175 return this->onCreateFromStream(stream, ttcIndex); 178 SkTypeface* SkFontMgr::createFromFile(const char path[], int ttcIndex) { argument 182 return this->onCreateFromFile(path, ttcIndex);
|
H A D | SkFontStream.cpp | 54 static int count_tables(SkStream* stream, int ttcIndex, size_t* offsetToDir) { argument 55 SkASSERT(ttcIndex >= 0); 71 if ((unsigned)ttcIndex >= count) { 75 if (ttcIndex > 0) { // need to read more of the shared header 77 size_t amount = sizeof(SkSharedTTHeader) + ttcIndex * sizeof(uint32_t); 84 offset = SkEndian_SwapBE32((&header->fCollection.fOffset0)[ttcIndex]); 113 bool init(SkStream* stream, int ttcIndex) { argument 117 fCount = count_tables(stream, ttcIndex, &offsetToDir); 155 int SkFontStream::GetTableTags(SkStream* stream, int ttcIndex, argument 158 if (!header.init(stream, ttcIndex)) { 170 GetTableData(SkStream* stream, int ttcIndex, SkFontTableTag tag, size_t offset, size_t length, void* data) argument [all...] |
H A D | SkTypeface.cpp | 41 virtual SkStream* onOpenStream(int* ttcIndex) const SK_OVERRIDE { return NULL; } 142 int ttcIndex; // TODO: write this to the stream? local 143 SkAutoTUnref<SkStream> rstream(this->openStream(&ttcIndex)); 201 SkStream* SkTypeface::openStream(int* ttcIndex) const { 203 if (NULL == ttcIndex) { 205 ttcIndex = &ttcIndexStorage; 207 return this->onOpenStream(ttcIndex);
|
/external/chromium_org/third_party/skia/include/device/xps/ |
H A D | SkXPSDevice.h | 157 int ttcIndex; member in class:SkXPSDevice::TypefaceUse
|
/external/skia/include/device/xps/ |
H A D | SkXPSDevice.h | 157 int ttcIndex; member in class:SkXPSDevice::TypefaceUse
|
/external/skia/tests/ |
H A D | FontHostStreamTest.cpp | 100 int ttcIndex; local 101 SkAutoTUnref<SkStream> fontData(origTypeface->openStream(&ttcIndex));
|
H A D | FontHostTest.cpp | 121 SkStream* stream, int ttcIndex) { 122 int n = SkFontStream::GetTableTags(stream, ttcIndex, NULL); 125 int n2 = SkFontStream::GetTableTags(stream, ttcIndex, array.get()); 136 SkDebugf("[%d:%d] '%s'\n", ttcIndex, i, str.c_str()); 138 size_t size = SkFontStream::GetTableSize(stream, ttcIndex, array[i]); 120 test_fontstream(skiatest::Reporter* reporter, SkStream* stream, int ttcIndex) argument
|
/external/chromium_org/third_party/skia/src/fonts/ |
H A D | SkFontMgr_fontconfig.cpp | 268 virtual SkTypeface* onCreateFromData(SkData*, int ttcIndex) { return NULL; } argument 270 virtual SkTypeface* onCreateFromStream(SkStream* stream, int ttcIndex) { argument 290 virtual SkTypeface* onCreateFromFile(const char path[], int ttcIndex) { argument 292 return stream.get() ? this->createFromStream(stream, ttcIndex) : NULL;
|
/external/skia/src/fonts/ |
H A D | SkFontMgr_fontconfig.cpp | 268 virtual SkTypeface* onCreateFromData(SkData*, int ttcIndex) { return NULL; } argument 270 virtual SkTypeface* onCreateFromStream(SkStream* stream, int ttcIndex) { argument 290 virtual SkTypeface* onCreateFromFile(const char path[], int ttcIndex) { argument 292 return stream.get() ? this->createFromStream(stream, ttcIndex) : NULL;
|
/external/chromium_org/third_party/skia/src/ports/ |
H A D | SkFontHost_win_dw.cpp | 139 virtual SkTypeface* onCreateFromStream(SkStream* stream, int ttcIndex) SK_OVERRIDE; 140 virtual SkTypeface* onCreateFromData(SkData* data, int ttcIndex) SK_OVERRIDE; 141 virtual SkTypeface* onCreateFromFile(const char path[], int ttcIndex) SK_OVERRIDE; 564 virtual SkStream* onOpenStream(int* ttcIndex) const SK_OVERRIDE; 1198 int ttcIndex; local 1199 SkAutoTUnref<SkStream> stream(this->openStream(&ttcIndex)); 1200 return stream.get() ? SkFontStream::GetTableTags(stream, ttcIndex, tags) : 0; 1275 static SkTypeface* create_from_stream(SkStream* stream, int ttcIndex) { argument 1314 if (faceIndex == ttcIndex) { 1325 SkStream* DWriteFontTypeface::onOpenStream(int* ttcIndex) cons 1722 onCreateFromStream(SkStream* stream, int ttcIndex) argument 1726 onCreateFromData(SkData* data, int ttcIndex) argument 1731 onCreateFromFile(const char path[], int ttcIndex) argument [all...] |
/external/skia/src/ports/ |
H A D | SkFontHost_win_dw.cpp | 139 virtual SkTypeface* onCreateFromStream(SkStream* stream, int ttcIndex) SK_OVERRIDE; 140 virtual SkTypeface* onCreateFromData(SkData* data, int ttcIndex) SK_OVERRIDE; 141 virtual SkTypeface* onCreateFromFile(const char path[], int ttcIndex) SK_OVERRIDE; 564 virtual SkStream* onOpenStream(int* ttcIndex) const SK_OVERRIDE; 1198 int ttcIndex; local 1199 SkAutoTUnref<SkStream> stream(this->openStream(&ttcIndex)); 1200 return stream.get() ? SkFontStream::GetTableTags(stream, ttcIndex, tags) : 0; 1275 static SkTypeface* create_from_stream(SkStream* stream, int ttcIndex) { argument 1314 if (faceIndex == ttcIndex) { 1325 SkStream* DWriteFontTypeface::onOpenStream(int* ttcIndex) cons 1722 onCreateFromStream(SkStream* stream, int ttcIndex) argument 1726 onCreateFromData(SkData* data, int ttcIndex) argument 1731 onCreateFromFile(const char path[], int ttcIndex) argument [all...] |
/external/chromium_org/third_party/skia/src/device/xps/ |
H A D | SkXPSDevice.cpp | 341 int ttcCount = (current->ttcIndex + 1); 354 current->ttcIndex, 2060 int ttcIndex; local 2061 SkStream* fontData = typeface->openStream(&ttcIndex); 2093 newTypefaceUse.ttcIndex = isTTC ? ttcIndex : -1; 2120 HRM(glyphs->SetFontFaceIndex(font->ttcIndex), "Could not set glyph font face index.");
|
/external/skia/src/device/xps/ |
H A D | SkXPSDevice.cpp | 341 int ttcCount = (current->ttcIndex + 1); 354 current->ttcIndex, 2060 int ttcIndex; local 2061 SkStream* fontData = typeface->openStream(&ttcIndex); 2093 newTypefaceUse.ttcIndex = isTTC ? ttcIndex : -1; 2120 HRM(glyphs->SetFontFaceIndex(font->ttcIndex), "Could not set glyph font face index.");
|