Home
last modified time | relevance | path

Searched refs:descent (Results 1 – 25 of 134) sorted by relevance

123456

/third_party/flutter/flutter/packages/flutter/lib/src/painting/
Dstrut_style.dart21 /// No lines may be shorter than the strut. The ascent and descent of the
23 /// descent than the strut's ascent or descent will take the ascent and
24 /// descent of the strut. Text with ascents or descents larger than the
25 /// strut's ascent or descent will layout as normal and extend past the strut.
33 /// * `descent * height`
39 /// descent is the spacing below the baseline without leading. Leading is
41 /// `descent` are provided by the font named by [fontFamily]. If no
45 /// When [height] is omitted or null, then the font defined ascent and descent
46 /// will be used. The font's combined ascent and descent may be taller or
48 /// ascent and descent (which sums to [fontSize]) will be scaled by [height] to
[all …]
/third_party/harfbuzz/util/
Dview-cairo.cc50 extents.descent = -scalbn ((double) hb_extents.descender, scale_bits); in render()
55 double descent = y_sign * extents.descent; in render() local
57 double leading = ascent + descent + line_gap; in render()
96 y_sign < 0 ? descent : ascent); in render()
/third_party/skia/third_party/externals/harfbuzz/util/
Dview-cairo.hh111 font_extents.descent = -scalbn ((double) hb_extents.descender, scale_bits); in render()
117 double descent = y_sign * font_extents.descent; in render() local
119 double leading = ascent + descent + line_gap; in render()
160 y_sign < 0 ? descent : ascent); in render()
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()
/third_party/flutter/skia/third_party/externals/icu/source/samples/layout/
DFontMap.cpp264 le_int32 ascent, descent, leading; in getMaxMetrics() local
275 descent = fFontInstances[i]->getDescent(); in getMaxMetrics()
282 if (descent > fDescent) { in getMaxMetrics()
283 fDescent = descent; in getMaxMetrics()
Dparagraph.cpp94 le_int32 descent = 0; in Paragraph() local
140 if (pDescent > descent) { in Paragraph()
141 descent = pDescent; in Paragraph()
163 fLineHeight = ascent + descent + leading; in Paragraph()
Dpflow.c115 le_int32 descent = 0; in pf_create() local
193 if (pDescent > descent) { in pf_create()
194 descent = pDescent; in pf_create()
216 flow->fLineHeight = ascent + descent + leading; in pf_create()
/third_party/icu/icu4c/source/samples/layout/
DFontMap.cpp264 le_int32 ascent, descent, leading; in getMaxMetrics() local
275 descent = fFontInstances[i]->getDescent(); in getMaxMetrics()
282 if (descent > fDescent) { in getMaxMetrics()
283 fDescent = descent; in getMaxMetrics()
Dparagraph.cpp94 le_int32 descent = 0; in Paragraph() local
140 if (pDescent > descent) { in Paragraph()
141 descent = pDescent; in Paragraph()
163 fLineHeight = ascent + descent + leading; in Paragraph()
Dpflow.c115 le_int32 descent = 0; in pf_create() local
193 if (pDescent > descent) { in pf_create()
194 descent = pDescent; in pf_create()
216 flow->fLineHeight = ascent + descent + leading; in pf_create()
/third_party/skia/third_party/externals/icu/source/samples/layout/
DFontMap.cpp264 le_int32 ascent, descent, leading; in getMaxMetrics() local
275 descent = fFontInstances[i]->getDescent(); in getMaxMetrics()
282 if (descent > fDescent) { in getMaxMetrics()
283 fDescent = descent; in getMaxMetrics()
Dparagraph.cpp94 le_int32 descent = 0; in Paragraph() local
140 if (pDescent > descent) { in Paragraph()
141 descent = pDescent; in Paragraph()
163 fLineHeight = ascent + descent + leading; in Paragraph()
Dpflow.c115 le_int32 descent = 0; in pf_create() local
193 if (pDescent > descent) { in pf_create()
194 descent = pDescent; in pf_create()
216 flow->fLineHeight = ascent + descent + leading; in pf_create()
/third_party/flutter/txt/src/txt/
Dparagraph_txt.cc523 strut->descent = 0; in ComputeStrut()
575 strut->descent = in ComputeStrut()
581 strut->descent = strut_metrics.fDescent; in ComputeStrut()
590 strut->line_height = strut->ascent + strut->descent + strut->leading; in ComputeStrut()
596 double& descent) { in ComputePlaceholder() argument
610 baseline_adjustment = -descent / 2; in ComputePlaceholder()
619 descent = -baseline_adjustment + placeholder_run->height - in ComputePlaceholder()
625 descent = -baseline_adjustment; in ComputePlaceholder()
629 descent = baseline_adjustment + placeholder_run->height; in ComputePlaceholder()
634 descent = placeholder_run->height - ascent; in ComputePlaceholder()
[all …]
/third_party/mesa3d/src/gallium/frontends/glx/xlib/
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()
326 y0 = ch->descent - 0; /* XXX used to subtract 1 here */ in glXUseXFont()
/third_party/mesa3d/src/glx/
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()
327 y0 = ch->descent - 1; in DRI_glXUseXFont()
/third_party/flutter/engine/flutter/third_party/txt/src/txt/
Dparagraph_txt.cc511 strut->descent = 0; in ComputeStrut()
550 strut->descent = (strut_metrics.fDescent / metrics_height) * in ComputeStrut()
561 strut->descent = strut_metrics.fDescent; in ComputeStrut()
570 strut->line_height = strut->ascent + strut->descent + strut->leading; in ComputeStrut()
576 double& descent) { in ComputePlaceholder() argument
590 baseline_adjustment = -descent / 2; in ComputePlaceholder()
599 descent = -baseline_adjustment + placeholder_run->height - in ComputePlaceholder()
605 descent = -baseline_adjustment; in ComputePlaceholder()
609 descent = baseline_adjustment + placeholder_run->height; in ComputePlaceholder()
614 descent = placeholder_run->height - ascent; in ComputePlaceholder()
[all …]
/third_party/skia/modules/skparagraph/src/
DRun.h90 SkScalar descent() const { return fFontMetrics.fDescent + fBaselineShift; } in descent() function
130 auto descent = descentStyle == LineMetricStyle::Typographic ? this->descent() in calculateHeight() local
132 return descent - ascent; in calculateHeight()
401 fRawDescent = std::max(fRawDescent, run->descent()); in add()
462 SkScalar descent() const { return fDescent; } in descent() function
/third_party/freetype/src/bdf/
Dbdflib.c1668 glyph->bbx.descent = (short)( -glyph->bbx.y_offset ); in _bdf_parse_glyphs()
1673 p->maxds = (short)FT_MAX( glyph->bbx.descent, p->maxds ); in _bdf_parse_glyphs()
1810 p->font->font_descent = p->font->bbx.descent; in _bdf_parse_properties()
1811 ft_sprintf( nbuf, "%hd", p->font->bbx.descent ); in _bdf_parse_properties()
1817 FT_TRACE2(( "_bdf_parse_properties: " ACMSG2, p->font->bbx.descent )); in _bdf_parse_properties()
2026 p->font->bbx.descent = (short)( -p->font->bbx.y_offset ); in _bdf_parse_start()
2140 p->font->font_descent = p->font->bbx.descent; in _bdf_parse_start()
2141 ft_sprintf( nbuf, "%hd", p->font->bbx.descent ); in _bdf_parse_start()
2146 FT_TRACE2(( "_bdf_parse_properties: " ACMSG2, p->font->bbx.descent )); in _bdf_parse_start()
2239 if ( p->font->bbx.descent != p->maxds ) in bdf_load_font()
[all …]
/third_party/icu/icu4c/source/layoutex/
DParagraphLayout.cpp834 le_int32 descent = font->getDescent(); in computeMetrics() local
836 le_int32 dl = descent + leading; in computeMetrics()
842 if (descent > fDescent) { in computeMetrics()
843 fDescent = descent; in computeMetrics()
1245 le_int32 descent = fRuns[i]->getDescent(); in computeMetrics() local
1247 le_int32 dl = descent + leading; in computeMetrics()
1253 if (descent > fDescent) { in computeMetrics()
1254 fDescent = descent; in computeMetrics()
/third_party/flutter/skia/third_party/externals/harfbuzz/util/
Dview-cairo.cc47 double descent = y_sign * -scalbn ((double) extents.descender, scale_bits); in render() local
89 y_sign < 0 ? descent : ascent); in render()
/third_party/flutter/skia/third_party/externals/freetype/src/bdf/
Dbdflib.c1668 glyph->bbx.descent = (short)( -glyph->bbx.y_offset ); in _bdf_parse_glyphs()
1673 p->maxds = (short)FT_MAX( glyph->bbx.descent, p->maxds ); in _bdf_parse_glyphs()
1810 p->font->font_descent = p->font->bbx.descent; in _bdf_parse_properties()
1811 ft_sprintf( nbuf, "%hd", p->font->bbx.descent ); in _bdf_parse_properties()
1817 FT_TRACE2(( "_bdf_parse_properties: " ACMSG2, p->font->bbx.descent )); in _bdf_parse_properties()
2032 p->font->bbx.descent = (short)( -p->font->bbx.y_offset ); in _bdf_parse_start()
2146 p->font->font_descent = p->font->bbx.descent; in _bdf_parse_start()
2147 ft_sprintf( nbuf, "%hd", p->font->bbx.descent ); in _bdf_parse_start()
2152 FT_TRACE2(( "_bdf_parse_properties: " ACMSG2, p->font->bbx.descent )); in _bdf_parse_start()
2247 if ( p->font->bbx.descent != p->maxds ) in bdf_load_font()
[all …]
/third_party/skia/third_party/externals/freetype/src/bdf/
Dbdflib.c1672 glyph->bbx.descent = (short)( -glyph->bbx.y_offset ); in _bdf_parse_glyphs()
1677 p->maxds = (short)FT_MAX( glyph->bbx.descent, p->maxds ); in _bdf_parse_glyphs()
1814 p->font->font_descent = p->font->bbx.descent; in _bdf_parse_properties()
1815 ft_sprintf( nbuf, "%hd", p->font->bbx.descent ); in _bdf_parse_properties()
1821 FT_TRACE2(( "_bdf_parse_properties: " ACMSG2, p->font->bbx.descent )); in _bdf_parse_properties()
2030 p->font->bbx.descent = (short)( -p->font->bbx.y_offset ); in _bdf_parse_start()
2144 p->font->font_descent = p->font->bbx.descent; in _bdf_parse_start()
2145 ft_sprintf( nbuf, "%hd", p->font->bbx.descent ); in _bdf_parse_start()
2150 FT_TRACE2(( "_bdf_parse_properties: " ACMSG2, p->font->bbx.descent )); in _bdf_parse_start()
2243 if ( p->font->bbx.descent != p->maxds ) in bdf_load_font()
[all …]
/third_party/flutter/skia/third_party/externals/freetype/src/pcf/
Dpcf.h89 FT_Byte descent; member
100 FT_Short descent; member
/third_party/skia/third_party/externals/freetype/src/pcf/
Dpcf.h88 FT_Byte descent; member
99 FT_Short descent; member

123456