/third_party/skia/third_party/externals/harfbuzz/util/ |
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()
|
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()
|
/third_party/skia/modules/skottie/src/text/ |
D | SkottieShaper.cpp | 147 const auto ascent = this->ascent(); in finalize() local 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 { in ascent() function in skottie::__anon8e6b8ee20111::BlobMaker
|
/third_party/icu/icu4c/source/samples/layout/ |
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()
|
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()
|
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()
|
/third_party/skia/third_party/externals/icu/source/samples/layout/ |
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()
|
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()
|
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/ |
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/ |
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/ |
D | Decorations.cpp | 41 ? context.run->correctAscent() - context.run->ascent() in paint() 181 void Decorations::calculatePosition(TextDecoration decoration, SkScalar ascent, in calculateThickness() argument 195 fPosition -= ascent; in calculateThickness() 198 …on = (textDecorationStyle == TextDecorationStyle::kWavy ? fThickness : fThickness / 2.0f) - ascent; in calculateThickness() 208 fPosition -= ascent; in calculateThickness()
|
D | Run.h | 98 SkScalar ascent() const { return fFontMetrics.fAscent + fBaselineShift; } in ascent() function 142 auto ascent = ascentStyle == LineMetricStyle::Typographic ? this->ascent() in calculateHeight() local 146 return descent - ascent; in calculateHeight() 476 fRawAscent = std::min(fRawAscent, run->ascent()); in InternalLineMetrics() 529 … (ascentStyle == LineMetricStyle::Typographic ? run->ascent() : run->correctAscent()) + delta(); in InternalLineMetrics() 551 SkScalar ascent() const { return fAscent; } in InternalLineMetrics() function
|
D | Decorations.h | 24 …void calculatePosition(TextDecoration decoration, SkScalar ascent, const TextDecorationStyle textD…
|
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/ |
D | HolidayBorderPanel.java | 419 int ascent = fm.getAscent(); in paint() local 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/ |
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() 362 metric->ascent, in pcf_get_metric() 791 metrics->ascent < -metrics->descent ) in pcf_get_metrics() 796 metrics->ascent = 0; in pcf_get_metrics() 1579 bsize->height = face->accel.maxbounds.ascent << 6; in pcf_load_font()
|
D | pcf.h | 87 FT_Byte ascent; member 98 FT_Short ascent; member
|
D | pcfdrivr.c | 498 bitmap->rows = (unsigned int)( metric->ascent + in PCF_Glyph_Load() 529 slot->bitmap_top = metric->ascent; in PCF_Glyph_Load() 533 slot->metrics.horiBearingY = (FT_Pos)( metric->ascent * 64 ); in PCF_Glyph_Load()
|
/third_party/skia/third_party/externals/freetype/src/bdf/ |
D | bdflib.c | 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() 2137 ft_sprintf( nbuf, "%hd", p->font->bbx.ascent ); in _bdf_parse_start() 2142 FT_TRACE2(( "_bdf_parse_properties: " ACMSG1, p->font->bbx.ascent )); in _bdf_parse_start() 2236 if ( p->font->bbx.ascent != p->maxas ) in bdf_load_font() [all …]
|
/third_party/cups-filters/fontembed/ |
D | embed_sfnt.c | 155 ret->ascent=get_SHORT(os2+68)*1000/otf->unitsPerEm; 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()
|
D | embed_pdf.h | 12 int ascent; member
|
/third_party/icu/icu4c/source/layoutex/ |
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/include/freetype/ |
D | ftwinfnt.h | 192 FT_UShort ascent; member
|
/third_party/skia/src/ports/ |
D | SkFontHost_FreeType.cpp | 1398 SkScalar ascent, descent, leading, xmin, xmax, ymin, ymax; in generateFontMetrics() local 1407 ascent = -SkIntToScalar(os2->sTypoAscender) / upem; in generateFontMetrics() 1411 ascent = -SkIntToScalar(face->ascender) / upem; in generateFontMetrics() 1442 ascent = -SkIntToScalar(face->size->metrics.ascender) / (yppem * 64.0f); in generateFontMetrics() 1444 leading = (SkIntToScalar(face->size->metrics.height) / (yppem * 64.0f)) + ascent - descent; in generateFontMetrics() 1449 ymax = ascent; in generateFontMetrics() 1472 x_height = -ascent * fScale.y(); in generateFontMetrics() 1478 cap_height = -ascent * fScale.y(); in generateFontMetrics() 1487 metrics->fAscent = ascent * fScale.y(); in generateFontMetrics()
|
/third_party/skia/third_party/externals/freetype/src/winfonts/ |
D | winfnt.c | 154 FT_FRAME_USHORT_LE( ascent ), 948 size->metrics.ascender = header->ascent * 64; in FNT_Size_Select() 950 header->ascent ) * 64; in FNT_Size_Select() 1067 slot->bitmap_top = font->header.ascent; in FNT_Load_Glyph()
|