Searched refs:glyph (Results 26 - 50 of 146) sorted by relevance

123456

/external/skia/src/gpu/
H A DSkGrFontScaler.cpp105 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(GrGlyph::UnpackID(packed), local
108 bounds->setXYWH(glyph.fLeft, glyph.fTop, glyph.fWidth, glyph.fHeight);
128 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(GrGlyph::UnpackID(packed), local
131 GrAssert(glyph.fWidth == width);
132 GrAssert(glyph.fHeight == height);
133 const void* src = fStrike->findImage(glyph);
138 int srcRB = glyph
164 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(glyphID); local
[all...]
H A DGrTextStrike_impl.h85 static bool LT(const GrGlyph& glyph, const Key& key) { argument
86 return glyph.fPackedID < key.fPackedID;
88 static bool EQ(const GrGlyph& glyph, const Key& key) { argument
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;
H A DGrTextContext.cpp116 to flush our glyphs or draw a glyph as a path midstream.
182 GrGlyph* glyph = fStrike->getGlyph(packed, scaler); local
183 if (NULL == glyph || glyph->fBounds.isEmpty()) {
187 vx += GrIntToFixed(glyph->fBounds.fLeft);
188 vy += GrIntToFixed(glyph->fBounds.fTop);
191 GrFixed width = glyph->fBounds.width();
192 GrFixed height = glyph->fBounds.height();
195 if (true || NULL == glyph->fAtlas) {
204 if (NULL == glyph
[all...]
/external/webkit/Source/WebCore/platform/graphics/win/
H A DGlyphPageTreeNodeCairoWin.cpp57 Glyph glyph = localGlyphBuffer[i]; local
58 if (!glyph)
61 setGlyphDataForIndex(offset + i, glyph, fontData);
H A DSimpleFontDataCairoWin.cpp102 FloatRect SimpleFontData::platformBoundsForGlyph(Glyph glyph) const
105 return boundsForGDIGlyph(glyph);
110 float SimpleFontData::platformWidthForGlyph(Glyph glyph) const
113 return widthForGDIGlyph(glyph);
122 GetCharWidthI(hdc, glyph, 1, 0, &width);
H A DSimpleFontDataCGWin.cpp101 Glyph xGlyph = glyphPageZero ? glyphPageZero->glyphDataForCharacter('x').glyph : 0;
104 // reported x-height to only include the portion of the glyph that is above the baseline.
125 FloatRect SimpleFontData::platformBoundsForGlyph(Glyph glyph) const
128 return boundsForGDIGlyph(glyph);
131 CGFontGetGlyphBBoxes(m_platformData.cgFont(), &glyph, 1, &box);
141 float SimpleFontData::platformWidthForGlyph(Glyph glyph) const
144 return widthForGDIGlyph(glyph);
153 wkGetGlyphAdvances(font, m, m_isSystemFont, isPrinterFont, glyph, advance);
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DGlyphPageTreeNodeChromiumWin.cpp52 // Lazily initializes space glyph
100 // + If the font has a glyph available for the character,
106 // + If the font has a glyph available for the character,
110 // (Windows automatically assigns the glyph for a box character to
113 // tells WebKit whether or not the all glyph indices for the given
114 // characters are 0x80 (i.e. a possibly-invalid glyph) and let it
122 // because the corresponding glyph index is set as 0x20 when current font
144 Glyph glyph = localGlyphBuffer[i]; local
150 // Hard code the glyph indices for characters that should be
152 glyph
204 WORD glyph = state.firstGlyphForCharacter(i * 2); local
[all...]
/external/skia/src/ports/
H A DSkFontHost_win.cpp126 // Binary search for glyph count.
244 // glyph id in a font file are continuous. So, even if we have ranges,
250 SkAutoTArray<WORD> glyph(count);
254 GetGlyphIndicesW(fontHdc, chars.get(), count, glyph.get(),
256 // If the glyph ID is valid, and the glyph is not mapped, then we will
257 // fill in the char id into the vector. If the glyph is mapped already,
261 // unlikely to have collisions since glyph reuse happens mostly for
264 if (glyph[j] != 0xffff && glyph[
329 draw(const SkGlyph& glyph, bool isBW, SkGdiRGB fgColor, size_t* srcRBPtr) argument
581 generateAdvance(SkGlyph* glyph) argument
585 generateMetrics(SkGlyph* glyph) argument
771 rgb_to_bw(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, const SkGlyph& glyph, int32_t xorMask) argument
814 rgb_to_a8(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, const SkGlyph& glyph, int32_t xorMask) argument
829 rgb_to_lcd16(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, const SkGlyph& glyph, int32_t xorMask) argument
844 rgb_to_lcd32(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, const SkGlyph& glyph, int32_t xorMask) argument
867 generateImage(const SkGlyph& glyph) argument
947 generatePath(const SkGlyph& glyph, SkPath* path) argument
[all...]
H A DSkFontHost_mac_atsui.cpp82 virtual void generateAdvance(SkGlyph* glyph);
83 virtual void generateMetrics(SkGlyph* glyph);
84 virtual void generateImage(const SkGlyph& glyph);
85 virtual void generatePath(const SkGlyph& glyph, SkPath* path);
200 ATSGlyphRef glyph; local
203 glyph = layoutPtr->glyphID;
205 return glyph;
208 static void set_glyph_metrics_on_error(SkGlyph* glyph) { argument
209 glyph->fRsbDelta = 0;
210 glyph
219 generateAdvance(SkGlyph* glyph) argument
223 generateMetrics(SkGlyph* glyph) argument
256 generateImage(const SkGlyph& glyph) argument
411 generatePath(const SkGlyph& glyph, SkPath* path) argument
[all...]
H A DSkFontHost_mac_coretext.cpp276 CGRGBPixel* getCG(const SkScalerContext_Mac& context, const SkGlyph& glyph,
580 void generateAdvance(SkGlyph* glyph);
581 void generateMetrics(SkGlyph* glyph);
582 void generateImage(const SkGlyph& glyph);
583 void generatePath( const SkGlyph& glyph, SkPath* path);
699 CGRGBPixel* Offscreen::getCG(const SkScalerContext_Mac& context, const SkGlyph& glyph, argument
709 switch (glyph.fMaskFormat) {
724 if (!fCG || fSize.fWidth < glyph.fWidth || fSize.fHeight < glyph.fHeight) {
726 if (fSize.fWidth < glyph
946 generateAdvance(SkGlyph* glyph) argument
950 generateMetrics(SkGlyph* glyph) argument
1215 generateImage(const SkGlyph& glyph) argument
1370 generatePath(const SkGlyph& glyph, SkPath* path) argument
1540 CGGlyph glyph; local
1588 CGGlyph glyph; local
1602 CGGlyph glyph = gId; local
[all...]
/external/freetype/src/pshinter/
H A Dpshalgo.c443 PSH_Glyph glyph )
461 if ( ( dimension == 0 && !glyph->do_horz_hints ) ||
462 ( dimension == 1 && !glyph->do_vert_hints ) )
474 do_snapping = ( dimension == 0 && glyph->do_horz_snapping ) ||
475 ( dimension == 1 && glyph->do_vert_snapping );
520 psh_hint_align( parent, globals, dimension, glyph );
540 if ( glyph->do_stem_adjust )
671 PSH_Glyph glyph )
689 if ( ( dimension == 0 && !glyph->do_horz_hints ) ||
690 ( dimension == 1 && !glyph
1185 psh_glyph_load_points( PSH_Glyph glyph, FT_Int dimension ) argument
1219 psh_glyph_save_points( PSH_Glyph glyph, FT_Int dimension ) argument
1259 psh_glyph_init( PSH_Glyph glyph, FT_Outline* outline, PS_Hints ps_hints, PSH_Globals globals ) argument
1670 psh_glyph_find_strong_points( PSH_Glyph glyph, FT_Int dimension ) argument
1828 psh_glyph_interpolate_strong_points( PSH_Glyph glyph, FT_Int dimension ) argument
1879 psh_glyph_interpolate_normal_points( PSH_Glyph glyph, FT_Int dimension ) argument
2033 psh_glyph_interpolate_other_points( PSH_Glyph glyph, FT_Int dimension ) argument
2187 PSH_Glyph glyph = &glyphrec; local
[all...]
/external/icu4c/layout/
H A DCharSubstitutionFilter.h69 * @param glyph - the Unicode character code to be tested
75 le_bool accept(LEGlyphID glyph) const;
H A DGDEFMarkFilter.h33 virtual le_bool accept(LEGlyphID glyph) const;
H A DLigatureSubstSubtables.cpp18 LEGlyphID glyph = glyphIterator->getCurrGlyphID(); local
19 le_int32 coverageIndex = getGlyphCoverage(glyph);
44 if (comp == compCount && (filter == NULL || filter->accept(LE_SET_GLYPH(glyph, ligGlyph)))) {
/external/skia/src/core/
H A DSkScalerContext.cpp180 SkScalerContext* SkScalerContext::getGlyphContext(const SkGlyph& glyph) { argument
181 unsigned glyphID = glyph.getGlyphID();
191 SkDebugf("--- no context for glyph %x\n", glyph.getGlyphID());
236 return 0; // no more contexts, return missing glyph
262 void SkScalerContext::getAdvance(SkGlyph* glyph) { argument
264 glyph->fMaskFormat = MASK_FORMAT_JUST_ADVANCE;
268 this->getGlyphContext(*glyph)->generateAdvance(glyph);
271 void SkScalerContext::getMetrics(SkGlyph* glyph) { argument
520 const SkGlyph* glyph = &origGlyph; local
600 getPath(const SkGlyph& glyph, SkPath* path) argument
609 generateGlyphToChar(uint16_t glyph) argument
615 internalGetPath(const SkGlyph& glyph, SkPath* fillPath, SkPath* devPath, SkMatrix* fillToDevMatrix) argument
751 generateAdvance(SkGlyph* glyph) argument
754 generateMetrics(SkGlyph* glyph) argument
757 generateImage(const SkGlyph& glyph) argument
758 generatePath(const SkGlyph& glyph, SkPath* path) argument
[all...]
/external/webkit/Source/WebCore/platform/graphics/
H A DSimpleFontData.h112 float widthForGlyph(Glyph glyph) const;
123 bool isZeroWidthSpaceGlyph(Glyph glyph) const { return glyph == m_zeroWidthSpaceGlyph && glyph; }
202 FloatRect boundsForGDIGlyph(Glyph glyph) const;
203 float widthForGDIGlyph(Glyph glyph) const;
291 ALWAYS_INLINE FloatRect SimpleFontData::boundsForGlyph(Glyph glyph) const
293 if (isZeroWidthSpaceGlyph(glyph))
298 bounds = m_glyphToBoundsMap->metricsForGlyph(glyph);
303 bounds = platformBoundsForGlyph(glyph);
[all...]
/external/webkit/Source/WebCore/platform/graphics/pango/
H A DGlyphPageTreeNodePango.cpp61 result = glyphs->glyphs[0].glyph;
63 g_warning("didn't get 1 glyph but %d", glyphs->num_glyphs);
76 // The bufferLength will be greater than the glyph page size if the buffer has Unicode supplementary characters.
86 Glyph glyph = pango_font_get_glyph(fontData->platformData().m_font, fontData->platformData().m_context, buffer[i]); local
87 if (!glyph)
90 setGlyphDataForIndex(offset + i, glyph, fontData);
/external/webkit/Source/WebCore/rendering/mathml/
H A DRenderMathMLOperator.h49 virtual RenderBlock* createGlyph(UChar glyph, int size = 0, int charRelative = 0, int topRelative = 0);
69 inline UChar convertHyphenMinusToMinusSign(UChar glyph) argument
71 // When rendered as a mathematical operator, minus glyph should be larger.
72 if (glyph == hyphenMinus)
75 return glyph;
/external/harfbuzz/contrib/
H A Dharfbuzz-freetype.c48 advances[i] = face->glyph->advance.x;
67 hb_freetype_outline_point_get(HB_Font font, HB_Glyph glyph, int flags, argument
75 if ((error = (HB_Error) FT_Load_Glyph(face, glyph, load_flags)))
78 if (face->glyph->format != ft_glyph_format_outline)
81 *n_points = face->glyph->outline.n_points;
88 *xpos = face->glyph->outline.points[point].x;
89 *ypos = face->glyph->outline.points[point].y;
95 hb_freetype_glyph_metrics_get(HB_Font font, HB_Glyph glyph, argument
99 const FT_Error error = FT_Load_Glyph(face, glyph, FT_LOAD_DEFAULT);
106 const FT_Glyph_Metrics *ftmetrics = &face->glyph
[all...]
/external/freetype/include/freetype/
H A Dftrender.h39 /* create a new glyph object */
41 (*FT_Glyph_InitFunc)( FT_Glyph glyph,
44 /* destroys a given glyph object */
46 (*FT_Glyph_DoneFunc)( FT_Glyph glyph );
49 (*FT_Glyph_TransformFunc)( FT_Glyph glyph,
54 (*FT_Glyph_GetBBoxFunc)( FT_Glyph glyph,
62 (*FT_Glyph_PrepareFunc)( FT_Glyph glyph,
129 /* glyph_format :: The glyph image format this renderer handles. */
132 /* given glyph slot into a bitmap. */
135 /* a given glyph slo
[all...]
H A Dftglyph.h22 /* that can be used by client applications to easily retrieve glyph */
58 /* Generic interface to manage individual glyph data. */
61 /* This section contains definitions used to manage glyph data */
78 /* Handle to an object used to model generic glyph images. It is a */
79 /* pointer to the @FT_GlyphRec structure and can contain a glyph */
96 /* The root glyph structure contains a given glyph image plus its */
102 /* clazz :: A pointer to the glyph's class. Private. */
104 /* format :: The format of the glyph's image. */
106 /* advance :: A 16.16 vector that gives the glyph'
551 FT_Done_Glyph( FT_Glyph glyph ); variable
[all...]
/external/icu4c/test/letest/
H A DSimpleFontInstance.h57 virtual void getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const;
59 virtual le_bool getGlyphPoint(LEGlyphID glyph, le_int32 pointNumber, LEPoint &point) const;
/external/webkit/Source/WebCore/css/
H A DSVGCSSPropertyNames.in44 glyph-orientation-horizontal
45 glyph-orientation-vertical
/external/webkit/Source/WebCore/platform/graphics/android/fonts/
H A DFontDataAndroid.cpp127 float SimpleFontData::platformWidthForGlyph(Glyph glyph) const
129 SkASSERT(sizeof(glyph) == 2); // compile-time assert
136 if (EmojiFont::IsEmojiGlyph(glyph))
137 advanceWidth = EmojiFont::GetAdvanceWidth(glyph, paint);
140 advanceWidth = SkScalarToFloat(paint.measureText(&glyph, 2));
/external/freetype/src/truetype/
H A Dttgload.c49 /* Composite glyph flags. */
68 /* Return the horizontal metrics in font units for a given glyph. */
85 /* Return the vertical metrics in font units for a given glyph. */
173 /* overriding metrics for this glyph. */
352 /* check that we can add the contours to the glyph */
398 load->glyph->control_len = 0;
399 load->glyph->control_data = 0;
427 load->glyph->control_len = n_ins;
428 load->glyph->control_data = load->exec->glyphIns;
710 /* Hint the glyph usin
1624 TT_GlyphSlot glyph = loader->glyph; local
1768 load_sbit_image( TT_Size size, TT_GlyphSlot glyph, FT_UInt glyph_index, FT_Int32 load_flags ) argument
1828 tt_loader_init( TT_Loader loader, TT_Size size, TT_GlyphSlot glyph, FT_Int32 load_flags, FT_Bool glyf_table_only ) argument
[all...]

Completed in 4631 milliseconds

123456