/external/icu4c/layout/ |
H A D | SimpleArrayProcessor.cpp | 39 le_int32 glyph; local 41 for (glyph = 0; glyph < glyphCount; glyph += 1) { 42 LEGlyphID thisGlyph = glyphStorage[glyph]; 46 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
|
H A D | SingleTableProcessor.cpp | 39 le_int32 glyph; local 42 for (glyph = 0; glyph < glyphCount; glyph += 1) { 43 const LookupSingle *lookupSingle = singleTableLookupTable->lookupSingle(entries, glyphStorage[glyph]); 46 glyphStorage[glyph] = SWAPW(lookupSingle->value);
|
H A D | SegmentArrayProcessor.cpp | 40 le_int32 glyph; local 42 for (glyph = 0; glyph < glyphCount; glyph += 1) { 43 LEGlyphID thisGlyph = glyphStorage[glyph]; 54 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
|
H A D | SegmentSingleProcessor.cpp | 40 le_int32 glyph; local 42 for (glyph = 0; glyph < glyphCount; glyph += 1) { 43 LEGlyphID thisGlyph = glyphStorage[glyph]; 49 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
|
H A D | TrimmedArrayProcessor.cpp | 41 le_int32 glyph; local 43 for (glyph = 0; glyph < glyphCount; glyph += 1) { 44 LEGlyphID thisGlyph = glyphStorage[glyph]; 50 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
|
H A D | LEGlyphFilter.h | 16 * recognize a set of glyph indices. 30 * glyph index to see if it is in the set 33 * @param glyph - the glyph index to be tested 35 * @return TRUE if the glyph index is in the set. 39 virtual le_bool accept(LEGlyphID glyph) const = 0;
|
H A D | GDEFMarkFilter.cpp | 24 le_bool GDEFMarkFilter::accept(LEGlyphID glyph) const 26 le_int32 glyphClass = classDefTable->getGlyphClass(glyph);
|
H A D | LookupTables.cpp | 27 const LookupSegment *BinarySearchLookupTable::lookupSegment(const LookupSegment *segments, LEGlyphID glyph) const 32 TTGlyphID ttGlyph = (TTGlyphID) LE_GET_GLYPH(glyph); 56 const LookupSingle *BinarySearchLookupTable::lookupSingle(const LookupSingle *entries, LEGlyphID glyph) const 61 TTGlyphID ttGlyph = (TTGlyphID) LE_GET_GLYPH(glyph); 65 if (SWAPW(trial->glyph) <= ttGlyph) { 73 if (SWAPW(trial->glyph) <= ttGlyph) { 78 if (SWAPW(entry->glyph) == ttGlyph) {
|
H A D | SingleSubstitutionSubtables.cpp | 45 LEGlyphID glyph = glyphIterator->getCurrGlyphID(); local 46 le_int32 coverageIndex = getGlyphCoverage(glyph); 49 TTGlyphID substitute = ((TTGlyphID) LE_GET_GLYPH(glyph)) + SWAPW(deltaGlyphID); 51 if (filter == NULL || filter->accept(LE_SET_GLYPH(glyph, substitute))) { 63 LEGlyphID glyph = glyphIterator->getCurrGlyphID(); local 64 le_int32 coverageIndex = getGlyphCoverage(glyph); 69 if (filter == NULL || filter->accept(LE_SET_GLYPH(glyph, substitute))) {
|
H A D | AlternateSubstSubtables.cpp | 20 LEGlyphID glyph = glyphIterator->getCurrGlyphID(); local 21 le_int32 coverageIndex = getGlyphCoverage(glyph); 32 if (filter == NULL || filter->accept(LE_SET_GLYPH(glyph, alternate))) {
|
H A D | SinglePositioningSubtables.cpp | 46 LEGlyphID glyph = glyphIterator->getCurrGlyphID(); local 47 le_int32 coverageIndex = getGlyphCoverage(glyph); 60 LEGlyphID glyph = glyphIterator->getCurrGlyphID(); local 61 le_int16 coverageIndex = (le_int16) getGlyphCoverage(glyph);
|
H A D | MultipleSubstSubtables.cpp | 23 LEGlyphID glyph = glyphIterator->getCurrGlyphID(); local 32 if (filter != NULL && filter->accept(glyph)) { 36 le_int32 coverageIndex = getGlyphCoverage(glyph); 50 if (filter != NULL && ! filter->accept(LE_SET_GLYPH(glyph, substitute))) { 84 newGlyphs[insert] = LE_SET_GLYPH(glyph, substitute);
|
H A D | LookupTables.h | 45 TTGlyphID glyph; member in struct:LookupSingle 57 const LookupSegment *lookupSegment(const LookupSegment *segments, LEGlyphID glyph) const; 59 const LookupSingle *lookupSingle(const LookupSingle *entries, LEGlyphID glyph) const;
|
/external/skia/include/core/ |
H A D | SkAutoKern.h | 27 SkFixed adjust(const SkGlyph& glyph) argument 29 // if (SkAbs32(glyph.fLsbDelta) > 47 || SkAbs32(glyph.fRsbDelta) > 47) 30 // printf("------- %d> L %d R %d\n", glyph.f_GlyphID, glyph.fLsbDelta, glyph.fRsbDelta); 33 int distort = fPrevRsbDelta - glyph.fLsbDelta; 35 fPrevRsbDelta = glyph.fRsbDelta; 44 SkFixed adjust = SkAutoKern_AdjustF(fPrevRsbDelta, glyph.fLsbDelta); 45 fPrevRsbDelta = glyph [all...] |
/external/freetype/src/base/ |
H A D | ftglyph.c | 21 /* that can be used by client applications to easily retrieve glyph */ 61 FT_BitmapGlyph glyph = (FT_BitmapGlyph)bitmap_glyph; local 63 FT_Library library = FT_GLYPH( glyph )->library; 72 glyph->left = slot->bitmap_left; 73 glyph->top = slot->bitmap_top; 78 glyph->bitmap = slot->bitmap; 83 FT_Bitmap_New( &glyph->bitmap ); 84 error = FT_Bitmap_Copy( library, &slot->bitmap, &glyph->bitmap ); 111 FT_BitmapGlyph glyph = (FT_BitmapGlyph)bitmap_glyph; local 112 FT_Library library = FT_GLYPH( glyph ) 123 FT_BitmapGlyph glyph = (FT_BitmapGlyph)bitmap_glyph; local 159 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local 189 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local 220 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local 235 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local 246 FT_OutlineGlyph glyph = (FT_OutlineGlyph)outline_glyph; local 285 FT_Glyph glyph = NULL; local 358 FT_Glyph glyph; local 453 FT_Glyph_Get_CBox( FT_Glyph glyph, FT_UInt bbox_mode, FT_BBox *acbox ) argument 513 FT_Glyph glyph; local [all...] |
/external/webkit/Source/WebCore/platform/graphics/ |
H A D | GlyphMetricsMap.h | 53 T metricsForGlyph(Glyph glyph) argument 55 return locatePage(glyph / GlyphMetricsPage::size)->metricsForGlyph(glyph); 58 void setMetricsForGlyph(Glyph glyph, const T& metrics) argument 60 locatePage(glyph / GlyphMetricsPage::size)->setMetricsForGlyph(glyph, metrics); 68 T metricsForGlyph(Glyph glyph) const { return m_metrics[glyph % size]; } 69 void setMetricsForGlyph(Glyph glyph, const T& metrics) argument 71 setMetricsForIndex(glyph [all...] |
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
H A D | FontHaiku.cpp | 42 int charUnicodeToUTF8HACK(unsigned short glyph, char* out) argument 46 if (glyph < 0x0080) 47 out[i++] = static_cast<char>(glyph); 48 else if (glyph < 0x0800) { // 2 bytes 49 out[i++] = 0xc0 | (glyph >> 6); 50 out[i++] = 0x80 | (glyph & 0x3F); 51 } else if (glyph > 0x0800) { // 3 bytes 52 out[i++] = 0xe0 | (glyph >> 12); 53 out[i++] = 0x80 | ((glyph >> 6) & 0x3F); 54 out[i++] = 0x80 | (glyph [all...] |
/external/skia/src/gpu/ |
H A D | GrTextStrike.cpp | 141 static void FreeGlyph(GrGlyph*& glyph) { glyph->free(); } argument 161 GrGlyph* glyph = fPool.alloc(); local 162 glyph->init(packed, bounds); 163 fCache.insert(packed, glyph); 164 return glyph; 167 bool GrTextStrike::getGlyphAtlas(GrGlyph* glyph, GrFontScaler* scaler) { argument 173 GrAssert(glyph); 175 GrAssert(fCache.contains(glyph)); 176 if (glyph [all...] |
/external/skia/src/ports/ |
H A D | SkFontHost_ascender.cpp | 34 virtual void generateMetrics(SkGlyph* glyph); 35 virtual void generateImage(const SkGlyph& glyph); 36 virtual void generatePath(const SkGlyph& glyph, SkPath* path); 122 void SkScalerContext_Ascender::generateMetrics(SkGlyph* glyph) argument 124 glyph->fRsbDelta = 0; 125 glyph->fLsbDelta = 0; 130 int adv = aca_Get_Adv_Width(fHandle, glyph->getGlyphID()); 134 aca_Rasterize(glyph->getGlyphID(), fHandle, &rec, &topLeft); 139 glyph->fWidth = 0; 140 glyph 157 generateImage(const SkGlyph& glyph) argument 179 generatePath(const SkGlyph& glyph, SkPath* path) argument [all...] |
H A D | SkFontHost_FreeType.cpp | 161 virtual void generateAdvance(SkGlyph* glyph); 162 virtual void generateMetrics(SkGlyph* glyph); 163 virtual void generateImage(const SkGlyph& glyph); 164 virtual void generatePath(const SkGlyph& glyph, SkPath* path); 167 virtual SkUnichar generateGlyphToChar(uint16_t glyph); 181 void getBBoxForCurrentGlyph(SkGlyph* glyph, FT_BBox* bbox, 183 void updateGlyphIfLCD(SkGlyph* glyph); 345 advances[i] = face->glyph->advance.x; 372 FT_Outline_Get_CBox(&face->glyph->outline, bbox); 601 // using multiple font descriptions with a glyph orderin 932 generateGlyphToChar(uint16_t glyph) argument 957 generateAdvance(SkGlyph* glyph) argument 990 getBBoxForCurrentGlyph(SkGlyph* glyph, FT_BBox* bbox, bool snapToPixelBoundary) argument 1029 updateGlyphIfLCD(SkGlyph* glyph) argument 1036 generateMetrics(SkGlyph* glyph) argument 1293 copyFT2LCD16(const SkGlyph& glyph, const FT_Bitmap& bitmap, int lcdIsBGR, const uint8_t* tableR, const uint8_t* tableG, const uint8_t* tableB) argument 1347 generateImage(const SkGlyph& glyph) argument 1553 generatePath(const SkGlyph& glyph, SkPath* path) argument [all...] |
/external/webkit/Source/WebCore/platform/graphics/freetype/ |
H A D | GlyphPageTreeNodeFreeType.cpp | 43 // The bufferLength will be greater than the glyph page size if the buffer has Unicode supplementary characters. 54 Glyph glyph = FcFreeTypeCharIndex(face, buffer[i]); local 55 if (!glyph) 58 setGlyphDataForIndex(offset + i, glyph, fontData);
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
H A D | GlyphPageTreeNodeCGWin.cpp | 48 Glyph glyph = localGlyphBuffer[i]; local 49 if (!glyph) 52 setGlyphDataForIndex(offset + i, glyph, fontData);
|
/external/icu4c/samples/layout/ |
H A D | ScriptCompositeFontInstance.cpp | 36 void ScriptCompositeFontInstance::getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const argument 39 le_int32 script = LE_GET_SUB_FONT(glyph); 46 font->getGlyphAdvance(LE_GET_GLYPH(glyph), advance); 50 le_bool ScriptCompositeFontInstance::getGlyphPoint(LEGlyphID glyph, le_int32 pointNumber, LEPoint &point) const argument 53 le_int32 script = LE_GET_SUB_FONT(glyph); 57 return font->getGlyphPoint(LE_GET_GLYPH(glyph), pointNumber, point); 99 LEGlyphID glyph = scriptFont->mapCharToGlyph(ch); local 101 return LE_SET_GLYPH(subFont, glyph);
|
H A D | GnomeFontInstance.cpp | 137 void GnomeFontInstance::getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const argument 142 if (glyph >= 0xFFFE) { 148 error = FT_Load_Glyph(fFace, glyph, FT_LOAD_DEFAULT); 154 advance.fX = fFace->glyph->metrics.horiAdvance >> 6; 158 le_bool GnomeFontInstance::getGlyphPoint(LEGlyphID glyph, le_int32 pointNumber, LEPoint &point) const argument 162 error = FT_Load_Glyph(fFace, glyph, FT_LOAD_DEFAULT); 168 if (pointNumber >= fFace->glyph->outline.n_points) { 172 point.fX = fFace->glyph->outline.points[pointNumber].x >> 6; 173 point.fY = fFace->glyph->outline.points[pointNumber].y >> 6; 185 TTGlyphID glyph local [all...] |
/external/skia/src/core/ |
H A D | SkGlyphCache.cpp | 128 // this ID is based on the glyph index 139 SkGlyph* glyph = fGlyphHash[index]; local 141 if (NULL == glyph || glyph->fID != id) { 142 glyph = this->lookupMetrics(glyphID, kJustAdvance_MetricsType); 143 fGlyphHash[index] = glyph; 145 return *glyph; 159 // this ID is based on the glyph index 182 // this ID is based on the glyph index 199 SkGlyph* glyph local 220 SkGlyph* glyph = fGlyphHash[index]; local 237 SkGlyph* glyph; local 289 findImage(const SkGlyph& glyph) argument 309 findPath(const SkGlyph& glyph) argument 658 const SkGlyph* glyph = fGlyphArray[i]; local [all...] |