/third_party/skia/third_party/externals/harfbuzz/util/ |
H A D | view-cairo.hh | 110 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 D | view-options.hh | 52 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 D | SkottieShaper.cpp | 147 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 D | FontMap.cpp | 264 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 D | pflow.c | 116 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 D | paragraph.cpp | 93 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 D | FontMap.cpp | 264 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 D | paragraph.cpp | 93 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 D | pflow.c | 114 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 D | glx_usefont.c | 52 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 D | xfont.c | 56 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 D | TextLineBaseImpl.cpp | 74 double TextLineBaseImpl::getTypographicBounds(double* ascent, double* descent, double* leading) const in getTypographicBounds() argument 80 return fVisitorTextLine->getTypographicBounds(ascent, descent, leading); in getTypographicBounds()
|
H A D | RunBaseImpl.cpp | 323 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 D | Run.h | 116 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 D | Decorations.cpp | 51 ? 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 D | Decorations.h | 34 void calculatePosition(TextDecoration decoration, SkScalar ascent, const TextDecorationStyle textDecorationStyle,
|
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/ |
H A D | HolidayBorderPanel.java | 419 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 D | pcf.h | 87 FT_Byte ascent; member 98 FT_Short ascent; member
|
H A D | pcfread.c | 275 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 D | ParagraphLayout.cpp | 833 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 D | bdflib.c | 191 #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 D | embed_pdf.h | 12 int ascent; member
|
H A D | embed_sfnt.c | 155 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 D | TextLineBase.h | 38 virtual double getTypographicBounds(double* ascent, double* descent, double* leading) const = 0;
|
/third_party/skia/third_party/externals/freetype/include/freetype/ |
H A D | ftwinfnt.h | 192 FT_UShort ascent; member
|