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

1 2 3 4 5 6 7

  /external/icu4c/layout/
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);
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);
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;
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);
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);
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);
GDEFMarkFilter.cpp 24 le_bool GDEFMarkFilter::accept(LEGlyphID glyph) const
26 le_int32 glyphClass = classDefTable->getGlyphClass(glyph);
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) {
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))) {
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))) {
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);
  /external/skia/include/core/
SkAutoKern.h 27 SkFixed adjust(const SkGlyph& glyph)
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.fRsbDelta
    [all...]
  /frameworks/base/libs/hwui/font/
FontUtil.h 40 #define GET_METRICS(paint, glyph) paint->getGlyphMetrics(glyph)
42 #define IS_END_OF_STRING(glyph) false
53 #define GET_METRICS(paint, glyph) paint->getUnicharMetrics(glyph)
55 #define IS_END_OF_STRING(glyph) glyph < 0
Font.cpp 62 void Font::measureCachedGlyph(CachedGlyphInfo *glyph, int x, int y,
64 int nPenX = x + glyph->mBitmapLeft;
65 int nPenY = y + glyph->mBitmapTop;
67 int width = (int) glyph->mBitmapWidth;
68 int height = (int) glyph->mBitmapHeight;
84 void Font::drawCachedGlyph(CachedGlyphInfo* glyph, int x, int y,
86 int nPenX = x + glyph->mBitmapLeft;
87 int nPenY = y + glyph->mBitmapTop + glyph->mBitmapHeight;
89 float u1 = glyph->mBitmapMinU
233 glyph_t glyph = GET_GLYPH(text); local
271 glyph_t glyph = GET_GLYPH(text); local
308 glyph_t glyph = GET_GLYPH(text); local
334 glyph_t glyph = GET_GLYPH(text); local
    [all...]
  /external/freetype/src/base/
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 )->library
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
513 FT_Glyph glyph; local
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/
GlyphMetricsMap.h 39 typedef unsigned short Glyph;
53 T metricsForGlyph(Glyph glyph)
55 return locatePage(glyph / GlyphMetricsPage::size)->metricsForGlyph(glyph);
58 void setMetricsForGlyph(Glyph glyph, const T& metrics)
60 locatePage(glyph / GlyphMetricsPage::size)->setMetricsForGlyph(glyph, metrics);
68 T metricsForGlyph(Glyph glyph) const { return m_metrics[glyph % size];
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/haiku/
FontHaiku.cpp 42 int charUnicodeToUTF8HACK(unsigned short glyph, char* out)
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 & 0x3F)
    [all...]
  /external/skia/src/gpu/
GrTextStrike.cpp 141 static void FreeGlyph(GrGlyph*& glyph) { glyph->free(); }
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) {
173 GrAssert(glyph);
175 GrAssert(fCache.contains(glyph));
176 if (glyph->fAtlas)
    [all...]
GrTextStrike_impl.h 85 static bool LT(const GrGlyph& glyph, const Key& key) {
86 return glyph.fPackedID < key.fPackedID;
88 static bool EQ(const GrGlyph& glyph, const Key& key) {
89 return glyph.fPackedID == key.fPackedID;
98 GrGlyph* glyph = fCache.find(packed); local
99 if (NULL == glyph) {
100 glyph = this->generateGlyph(packed, scaler);
102 return glyph;
  /external/skia/src/ports/
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)
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->fHeight = 0
    [all...]
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 ordering. Recor
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/freetype/
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/
GlyphPageTreeNodeCGWin.cpp 48 Glyph glyph = localGlyphBuffer[i]; local
49 if (!glyph)
52 setGlyphDataForIndex(offset + i, glyph, fontData);
  /external/webkit/Source/WebCore/rendering/mathml/
RenderMathMLOperator.h 49 virtual RenderBlock* createGlyph(UChar glyph, int size = 0, int charRelative = 0, int topRelative = 0);
69 inline UChar convertHyphenMinusToMinusSign(UChar glyph)
71 // When rendered as a mathematical operator, minus glyph should be larger.
72 if (glyph == hyphenMinus)
75 return glyph;
  /external/icu4c/samples/layout/
ScriptCompositeFontInstance.cpp 36 void ScriptCompositeFontInstance::getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const
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
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);

Completed in 269 milliseconds

1 2 3 4 5 6 7