Home
last modified time | relevance | path

Searched refs:fCapHeight (Results 1 – 14 of 14) sorted by relevance

/third_party/skia/include/core/
DSkFontMetrics.h31 this->fCapHeight == that.fCapHeight &&
62 …SkScalar fCapHeight; //!< height of an upper-case letter, zero if unknown, typically nega… member
/third_party/skia/src/pdf/
DSkPDFFont.cpp124 if (0 == metrics->fStemV || 0 == metrics->fCapHeight) { in GetMetrics()
141 if (0 == metrics->fCapHeight) { in GetMetrics()
150 metrics->fCapHeight = SkToS16(SkScalarRoundToInt(capHeight / 2)); in GetMetrics()
252 scaleFromFontUnits(metrics.fCapHeight, emSize)); in PopulateCommonFontDescriptor()
500 if (metrics->fCapHeight != 0) { descriptor.insertInt("CapHeight", metrics->fCapHeight); } in type3_descriptor()
/third_party/skia/src/core/
DSkAdvancedTypefaceMetrics.h63 int16_t fCapHeight = 0; // Height (from baseline) of top of flat capitals. member
DSkFont.cpp327 metrics->fCapHeight *= scale; in ScaleFontMetrics()
/third_party/skia/tools/fonts/
DToolUtilsFont.cpp84 metrics.fCapHeight = 0; in sample_user_typeface()
DTestSVGTypeface.cpp294 metrics.fCapHeight = 700; in Default()
348 metrics.fCapHeight = 180; in Planets()
591 out->writeScalarAsText(fFontMetrics.fCapHeight); in exportTtxCommon()
Dcreate_test_font.cpp275 output_scalar(metrics.fCapHeight, emSize, &metricsStr); in output_font()
/third_party/skia/src/ports/
DSkScalerContext_mac_ct.cpp682 metrics->fCapHeight = SkScalarFromCGFloat( CTFontGetCapHeight(fCTFont.get())); in generateFontMetrics()
719 metrics->fCapHeight = SkScalarFromCGFloat(capHeight * fontSize / upem); in generateFontMetrics()
DSkFontHost_FreeType.cpp480 info->fCapHeight = pcltTable->CapHeight; in onGetAdvancedMetrics()
492 info->fCapHeight = os2Table->sCapHeight; in onGetAdvancedMetrics()
1496 metrics->fCapHeight = cap_height; in generateFontMetrics()
DSkTypeface_win_dw.cpp498 info->fCapHeight = SkToS16(dwfm.capHeight); in onGetAdvancedMetrics()
DSkTypeface_mac_ct.cpp609 info->fCapHeight = (int16_t) CTFontGetCapHeight(ctFont.get()); in onGetAdvancedMetrics()
DSkScalerContext_win_dw.cpp811 metrics->fCapHeight = fTextSizeRender * SkIntToScalar(dwfm.capHeight) / upem; in generateFontMetrics()
DSkFontHost_win.cpp1702 info->fCapHeight = otm.otmsCapEmHeight; in onGetAdvancedMetrics()
/third_party/skia/src/utils/
DSkCustomTypeface.cpp31 SCALE_Y(fCapHeight); in scale_fontmetrics()