HomeSort by relevance Sort by last modified time
    Searched refs:ttcIndex (Results 1 - 25 of 63) sorted by null

1 2 3

  /external/chromium_org/third_party/skia/src/core/
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) {
45 return GetTableData(stream, ttcIndex, tag, 0, ~0U, NULL);
SkFontStream.cpp 54 static int count_tables(SkStream* stream, int ttcIndex, size_t* offsetToDir) {
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) {
117 fCount = count_tables(stream, ttcIndex, &offsetToDir);
155 int SkFontStream::GetTableTags(SkStream* stream, int ttcIndex,
158 if (!header.init(stream, ttcIndex)) {
    [all...]
SkTypeface.cpp 48 virtual SkStream* onOpenStream(int* ttcIndex) const SK_OVERRIDE { return NULL; }
173 int ttcIndex;
174 desc.setFontData(this->onOpenStream(&ttcIndex));
175 desc.setFontIndex(ttcIndex);
212 SkStream* SkTypeface::openStream(int* ttcIndex) const {
214 if (NULL == ttcIndex) {
216 ttcIndex = &ttcIndexStorage;
218 return this->onOpenStream(ttcIndex);
SkFontHost.cpp 191 SkTypeface* SkFontMgr::createFromData(SkData* data, int ttcIndex) const {
195 return this->onCreateFromData(data, ttcIndex);
198 SkTypeface* SkFontMgr::createFromStream(SkStream* stream, int ttcIndex) const {
202 return this->onCreateFromStream(stream, ttcIndex);
205 SkTypeface* SkFontMgr::createFromFile(const char path[], int ttcIndex) const {
209 return this->onCreateFromFile(path, ttcIndex);
  /external/skia/src/core/
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) {
45 return GetTableData(stream, ttcIndex, tag, 0, ~0U, NULL);
SkFontStream.cpp 54 static int count_tables(SkStream* stream, int ttcIndex, size_t* offsetToDir) {
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) {
117 fCount = count_tables(stream, ttcIndex, &offsetToDir);
155 int SkFontStream::GetTableTags(SkStream* stream, int ttcIndex,
158 if (!header.init(stream, ttcIndex)) {
    [all...]
SkTypeface.cpp 48 virtual SkStream* onOpenStream(int* ttcIndex) const SK_OVERRIDE { return NULL; }
154 int ttcIndex; // TODO: write this to the stream?
155 SkAutoTUnref<SkStream> rstream(this->openStream(&ttcIndex));
213 SkStream* SkTypeface::openStream(int* ttcIndex) const {
215 if (NULL == ttcIndex) {
217 ttcIndex = &ttcIndexStorage;
219 return this->onOpenStream(ttcIndex);
SkFontHost.cpp 175 SkTypeface* SkFontMgr::createFromData(SkData* data, int ttcIndex) const {
179 return this->onCreateFromData(data, ttcIndex);
182 SkTypeface* SkFontMgr::createFromStream(SkStream* stream, int ttcIndex) const {
186 return this->onCreateFromStream(stream, ttcIndex);
189 SkTypeface* SkFontMgr::createFromFile(const char path[], int ttcIndex) const {
193 return this->onCreateFromFile(path, ttcIndex);
  /external/chromium_org/third_party/WebKit/public/platform/linux/
WebFallbackFont.h 44 , ttcIndex(0)
50 int ttcIndex;
  /external/skia/include/ports/
SkFontMgr.h 83 SkTypeface* createFromData(SkData*, int ttcIndex = 0) const;
90 SkTypeface* createFromStream(SkStream*, int ttcIndex = 0) const;
98 SkTypeface* createFromFile(const char path[], int ttcIndex = 0) const;
126 virtual SkTypeface* onCreateFromData(SkData*, int ttcIndex) const = 0;
127 virtual SkTypeface* onCreateFromStream(SkStream*, int ttcIndex) const = 0;
128 virtual SkTypeface* onCreateFromFile(const char path[], int ttcIndex) const = 0;
SkFontMgr_indirect.h 50 virtual SkTypeface* onCreateFromStream(SkStream* stream, int ttcIndex) const SK_OVERRIDE;
51 virtual SkTypeface* onCreateFromFile(const char path[], int ttcIndex) const SK_OVERRIDE;
52 virtual SkTypeface* onCreateFromData(SkData* data, int ttcIndex) const SK_OVERRIDE;
88 * This cache is essentially { dataId: { ttcIndex: typeface } }
  /external/chromium_org/third_party/skia/include/ports/
SkFontMgr.h 93 SkTypeface* createFromData(SkData*, int ttcIndex = 0) const;
100 SkTypeface* createFromStream(SkStream*, int ttcIndex = 0) const;
108 SkTypeface* createFromFile(const char path[], int ttcIndex = 0) const;
142 virtual SkTypeface* onCreateFromData(SkData*, int ttcIndex) const = 0;
143 virtual SkTypeface* onCreateFromStream(SkStream*, int ttcIndex) const = 0;
144 virtual SkTypeface* onCreateFromFile(const char path[], int ttcIndex) const = 0;
SkFontMgr_indirect.h 58 virtual SkTypeface* onCreateFromStream(SkStream* stream, int ttcIndex) const SK_OVERRIDE;
59 virtual SkTypeface* onCreateFromFile(const char path[], int ttcIndex) const SK_OVERRIDE;
60 virtual SkTypeface* onCreateFromData(SkData* data, int ttcIndex) const SK_OVERRIDE;
96 * This cache is essentially { dataId: { ttcIndex: typeface } }
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/linux/
FontCacheLinux.cpp 47 fallbackFont->ttcIndex = webFallbackFont.ttcIndex;
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/
FontFaceCreationParams.h 71 FontFaceCreationParams(CString filename, int fontconfigInterfaceId, int ttcIndex = 0)
72 : m_creationType(CreateFontByFciIdAndTtcIndex), m_filename(filename), m_fontconfigInterfaceId(fontconfigInterfaceId), m_ttcIndex(ttcIndex)
92 int ttcIndex() const
  /external/chromium_org/third_party/skia/src/ports/
SkFontHost_linux.cpp 85 SkStream* stream, int ttcIndex)
86 : INHERITED(style, isFixedPitch, sysFont, familyName, ttcIndex)
93 virtual SkStream* onOpenStream(int* ttcIndex) const SK_OVERRIDE {
94 *ttcIndex = this->getIndex();
122 virtual SkStream* onOpenStream(int* ttcIndex) const SK_OVERRIDE {
123 *ttcIndex = this->getIndex();
264 virtual SkTypeface* onCreateFromData(SkData* data, int ttcIndex) const SK_OVERRIDE {
266 return this->createFromStream(stream, ttcIndex);
269 virtual SkTypeface* onCreateFromStream(SkStream* stream, int ttcIndex) const SK_OVERRIDE {
278 if (SkTypeface_FreeType::ScanFont(stream, ttcIndex, &name, &style, &isFixedPitch))
    [all...]
SkFontMgr_android.cpp 87 virtual SkStream* onOpenStream(int* ttcIndex) const SK_OVERRIDE {
88 *ttcIndex = fIndex;
118 virtual SkStream* onOpenStream(int* ttcIndex) const SK_OVERRIDE {
119 *ttcIndex = fIndex;
159 const int ttcIndex = fontFile.fIndex;
163 if (!SkTypeface_FreeType::ScanFont(stream.get(), ttcIndex,
183 (pathName, ttcIndex,
424 virtual SkTypeface* onCreateFromData(SkData* data, int ttcIndex) const SK_OVERRIDE {
426 return this->createFromStream(stream, ttcIndex);
429 virtual SkTypeface* onCreateFromFile(const char path[], int ttcIndex) const SK_OVERRIDE
    [all...]
SkFontHost_fontconfig.cpp 125 SkStream* FontConfigTypeface::onOpenStream(int* ttcIndex) const {
129 *ttcIndex = 0;
160 *ttcIndex = this->getIdentity().fTTCIndex;
  /external/chromium_org/third_party/skia/src/fonts/
SkGScalerContext.h 29 virtual SkStream* onOpenStream(int* ttcIndex) const SK_OVERRIDE;
SkFontMgr_indirect.cpp 275 SkTypeface* SkFontMgr_Indirect::onCreateFromStream(SkStream* stream, int ttcIndex) const {
276 return fImpl->createFromStream(stream, ttcIndex);
279 SkTypeface* SkFontMgr_Indirect::onCreateFromFile(const char path[], int ttcIndex) const {
280 return fImpl->createFromFile(path, ttcIndex);
283 SkTypeface* SkFontMgr_Indirect::onCreateFromData(SkData* data, int ttcIndex) const {
284 return fImpl->createFromData(data, ttcIndex);
  /external/skia/src/fonts/
SkGScalerContext.h 29 virtual SkStream* onOpenStream(int* ttcIndex) const SK_OVERRIDE;
SkFontMgr_indirect.cpp 263 SkTypeface* SkFontMgr_Indirect::onCreateFromStream(SkStream* stream, int ttcIndex) const {
264 return fImpl->createFromStream(stream, ttcIndex);
267 SkTypeface* SkFontMgr_Indirect::onCreateFromFile(const char path[], int ttcIndex) const {
268 return fImpl->createFromFile(path, ttcIndex);
271 SkTypeface* SkFontMgr_Indirect::onCreateFromData(SkData* data, int ttcIndex) const {
272 return fImpl->createFromData(data, ttcIndex);
  /external/skia/src/ports/
SkFontHost_linux.cpp 87 virtual SkStream* onOpenStream(int* ttcIndex) const SK_OVERRIDE {
88 *ttcIndex = 0;
116 virtual SkStream* onOpenStream(int* ttcIndex) const SK_OVERRIDE {
117 *ttcIndex = 0;
258 virtual SkTypeface* onCreateFromData(SkData* data, int ttcIndex) const SK_OVERRIDE {
260 return this->createFromStream(stream, ttcIndex);
263 virtual SkTypeface* onCreateFromStream(SkStream* stream, int ttcIndex) const SK_OVERRIDE {
279 virtual SkTypeface* onCreateFromFile(const char path[], int ttcIndex) const SK_OVERRIDE {
281 return stream.get() ? this->createFromStream(stream, ttcIndex) : NULL;
SkFontHost_fontconfig.cpp 168 SkStream* FontConfigTypeface::onOpenStream(int* ttcIndex) const {
172 *ttcIndex = 0;
203 *ttcIndex = this->getIdentity().fTTCIndex;
  /external/chromium_org/third_party/WebKit/Source/platform/exported/linux/
WebFontInfo.cpp 60 m_fallbackFont.ttcIndex = fontTtcIndex(pattern);
93 int ttcIndex = -1;
94 if (FcPatternGetInteger(pattern, FC_INDEX, 0, &ttcIndex) != FcResultMatch || ttcIndex < 0)
96 return ttcIndex;

Completed in 543 milliseconds

1 2 3