Home
last modified time | relevance | path

Searched refs:ascent (Results 1 - 25 of 64) sorted by relevance

123

/third_party/skia/third_party/externals/harfbuzz/util/
H A Dview-cairo.hh110 font_extents.ascent = scalbn ((double) hb_extents.ascender, scale_bits); in render()
116 double ascent = y_sign * font_extents.ascent; in render() local
119 double leading = ascent + descent + line_gap; in render()
154 w - ascent, /* We currently always stack lines right to left */ in render()
160 y_sign < 0 ? descent : ascent); in render()
H A Dview-options.hh52 double ascent, descent, line_gap; member
68 switch (sscanf (arg, "%lf%*[ ,]%lf%*[ ,]%lf", &e.ascent, &e.descent, &e.line_gap)) { in parse_font_extents()
112 {"font-extents", 0, 0, G_OPTION_ARG_CALLBACK, (gpointer) &parse_font_extents, "Set font ascent/descent/line-gap (default: auto)","one to three numbers"}, in add_options()
/third_party/skia/modules/skottie/src/text/
H A DSkottieShaper.cpp147 const auto ascent = this->ascent(); in finalize() local
163 // the first line top (ascent) to the last line bottom (descent). in finalize()
164 const auto typographical_top = fBox.fTop + ascent, in finalize()
182 v_offset -= ascent; in finalize()
234 const auto max_offset = fBox.height() + this->ascent(); // NB: ascent is negative in shapeLine()
266 float ascent = 0; in commitFragementedRun() local
271 ascent = metrics.fAscent; in commitFragementedRun()
296 advance, ascent, in commitFragementedRun()
328 SkScalar ascent() const { ascent() function in skottie::__anon18587::final
[all...]
/third_party/icu/icu4c/source/samples/layout/
H A DFontMap.cpp264 le_int32 ascent, descent, leading; in getMaxMetrics() local
274 ascent = fFontInstances[i]->getAscent(); in getMaxMetrics()
278 if (ascent > fAscent) { in getMaxMetrics()
279 fAscent = ascent; in getMaxMetrics()
H A Dpflow.c116 le_int32 ascent = 0; in pf_create() local
191 if (pAscent > ascent) { in pf_create()
192 ascent = pAscent; in pf_create()
218 flow->fLineHeight = ascent + descent + leading; in pf_create()
219 flow->fAscent = ascent; in pf_create()
H A Dparagraph.cpp93 le_int32 ascent = 0; in Paragraph() local
136 if (pAscent > ascent) { in Paragraph()
137 ascent = pAscent; in Paragraph()
163 fLineHeight = ascent + descent + leading; in Paragraph()
164 fAscent = ascent; in Paragraph()
/third_party/skia/third_party/externals/icu/source/samples/layout/
H A DFontMap.cpp264 le_int32 ascent, descent, leading; in getMaxMetrics() local
274 ascent = fFontInstances[i]->getAscent(); in getMaxMetrics()
278 if (ascent > fAscent) { in getMaxMetrics()
279 fAscent = ascent; in getMaxMetrics()
H A Dparagraph.cpp93 le_int32 ascent = 0; in Paragraph() local
136 if (pAscent > ascent) { in Paragraph()
137 ascent = pAscent; in Paragraph()
163 fLineHeight = ascent + descent + leading; in Paragraph()
164 fAscent = ascent; in Paragraph()
H A Dpflow.c114 le_int32 ascent = 0; in pf_create() local
189 if (pAscent > ascent) { in pf_create()
190 ascent = pAscent; in pf_create()
216 flow->fLineHeight = ascent + descent + leading; in pf_create()
217 flow->fAscent = ascent; in pf_create()
/third_party/mesa3d/src/gallium/frontends/glx/xlib/
H A Dglx_usefont.c52 prefix, ch->ascent, ch->descent, (unsigned int) ch->attributes); in dump_char_struct()
58 printf("ascent = %d, descent = %d\n", font->ascent, font->descent); in dump_font_struct()
242 max_height = fs->max_bounds.ascent + fs->max_bounds.descent; in glXUseXFont()
324 height = ch->ascent + ch->descent; in glXUseXFont()
333 y = ch->ascent; in glXUseXFont()
/third_party/mesa3d/src/glx/
H A Dxfont.c56 prefix, ch->ascent, ch->descent, (unsigned int) ch->attributes); in dump_char_struct()
62 printf("ascent = %d, descent = %d\n", font->ascent, font->descent); in dump_font_struct()
244 max_height = fs->max_bounds.ascent + fs->max_bounds.descent; in DRI_glXUseXFont()
325 height = ch->ascent + ch->descent; in DRI_glXUseXFont()
333 y = ch->ascent; in DRI_glXUseXFont()
/third_party/skia/modules/skparagraph/src/
H A DTextLineBaseImpl.cpp74 double TextLineBaseImpl::getTypographicBounds(double* ascent, double* descent, double* leading) const in getTypographicBounds() argument
80 return fVisitorTextLine->getTypographicBounds(ascent, descent, leading); in getTypographicBounds()
H A DRunBaseImpl.cpp323 float RunBaseImpl::getTypographicBounds(float* ascent, float* descent, float* leading) const in getTypographicBounds() argument
325 if (ascent == nullptr || descent == nullptr || leading == nullptr) { in getTypographicBounds()
329 *ascent = 0.0; in getTypographicBounds()
334 *ascent = std::abs(fVisitorRun->ascent()); in getTypographicBounds()
H A DRun.h116 SkScalar ascent() const { return fFontMetrics.fAscent + fBaselineShift; } in ascent() function in skia::textlayout::Run
163 auto ascent = ascentStyle == LineMetricStyle::Typographic ? this->ascent() in calculateHeight() local
167 return descent - ascent; in calculateHeight()
542 fRawAscent = std::min(fRawAscent, run->ascent()); in InternalLineMetrics()
595 (ascentStyle == LineMetricStyle::Typographic ? run->ascent() : run->correctAscent()) + delta(); in InternalLineMetrics()
617 SkScalar ascent() const { return fAscent; } in InternalLineMetrics() function
H A DDecorations.cpp51 ? context.run->correctAscent() - context.run->ascent() in paint()
271 void Decorations::calculatePosition(TextDecoration decoration, SkScalar ascent, in calculateThickness()
278 fPosition = (textDecorationStyle == TextDecorationStyle::kWavy ? fThickness : fThickness / 2.0f) - ascent; in calculateThickness()
288 fPosition -= ascent; in calculateThickness()
H A DDecorations.h34 void calculatePosition(TextDecoration decoration, SkScalar ascent, const TextDecorationStyle textDecorationStyle,
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
H A DHolidayBorderPanel.java419 int ascent = fm.getAscent(); in paint()
430 if (ascent > thickness) in paint()
431 adjustment = (ascent - thickness) / 2; in paint()
480 g.drawString(text, offset, ascent); in paint()
/third_party/skia/third_party/externals/freetype/src/pcf/
H A Dpcf.h87 FT_Byte ascent; member
98 FT_Short ascent; member
H A Dpcfread.c275 FT_FRAME_SHORT_LE( ascent ),
292 FT_FRAME_SHORT( ascent ),
311 FT_FRAME_BYTE( ascent ),
350 metric->ascent = (FT_Short)( compr.ascent - 0x80 ); in pcf_get_metric()
357 " ascent=%d, descent=%d," in pcf_get_metric()
362 metric->ascent, in pcf_get_metric()
791 metrics->ascent < -metrics->descent ) in pcf_get_metrics()
796 metrics->ascent = 0; in pcf_get_metrics()
1253 FT_TRACE0(( "pfc_get_accel: clamping font ascent t in pcf_get_accel()
[all...]
/third_party/icu/icu4c/source/layoutex/
H A DParagraphLayout.cpp833 le_int32 ascent = font->getAscent(); in computeMetrics() local
838 if (ascent > fAscent) { in computeMetrics()
839 fAscent = ascent; in computeMetrics()
1244 le_int32 ascent = fRuns[i]->getAscent(); in computeMetrics() local
1249 if (ascent > fAscent) { in computeMetrics()
1250 fAscent = ascent; in computeMetrics()
/third_party/skia/third_party/externals/freetype/src/bdf/
H A Dbdflib.c191 #define ACMSG5 "Font ascent != actual ascent. Old: %hd New: %hd.\n"
1670 /* Generate the ascent and descent of the character. */ in _bdf_parse_glyphs()
1671 glyph->bbx.ascent = (short)( glyph->bbx.height + glyph->bbx.y_offset ); in _bdf_parse_glyphs()
1676 p->maxas = (short)FT_MAX( glyph->bbx.ascent, p->maxas ); in _bdf_parse_glyphs()
1802 p->font->font_ascent = p->font->bbx.ascent; in _bdf_parse_properties()
1803 ft_sprintf( nbuf, "%hd", p->font->bbx.ascent ); in _bdf_parse_properties()
1809 FT_TRACE2(( "_bdf_parse_properties: " ACMSG1, p->font->bbx.ascent )); in _bdf_parse_properties()
2027 p->font->bbx.ascent = (short)( p->font->bbx.height + in _bdf_parse_start()
2136 p->font->font_ascent = p->font->bbx.ascent; in _bdf_parse_start()
[all...]
/third_party/cups-filters/fontembed/
H A Dembed_pdf.h12 int ascent; member
H A Dembed_sfnt.c155 ret->ascent=get_SHORT(os2+68)*1000/otf->unitsPerEm; in emb_otf_get_pdf_fontdescr()
172 fprintf(stderr,"WARNING: no ascent/descent, capHeight, stemV, flags\n"); in emb_otf_get_pdf_fontdescr()
182 // ? maybe get ascent,descent,capHeight,xHeight,stemV directly from cff in emb_otf_get_pdf_fontdescr()
184 if ( (!ret->ascent)||(!ret->descent) ) { in emb_otf_get_pdf_fontdescr()
187 ret->ascent=get_SHORT(hhea+4)*1000/otf->unitsPerEm; in emb_otf_get_pdf_fontdescr()
207 ret->capHeight=ret->ascent; in emb_otf_get_pdf_fontdescr()
/third_party/skia/modules/skparagraph/include/
H A DTextLineBase.h38 virtual double getTypographicBounds(double* ascent, double* descent, double* leading) const = 0;
/third_party/skia/third_party/externals/freetype/include/freetype/
H A Dftwinfnt.h192 FT_UShort ascent; member

Completed in 18 milliseconds

123