Home
last modified time | relevance | path

Searched refs:fontMetrics (Results 1 – 16 of 16) sorted by relevance

/third_party/flutter/skia/src/core/
DSkStrikeCache.cpp371 SkFontMetrics fontMetrics; in createStrike() local
373 fontMetrics = *maybeMetrics; in createStrike()
375 scaler->getFontMetrics(&fontMetrics); in createStrike()
378 return new Node{this, desc, std::move(scaler), fontMetrics, std::move(pinner)}; in createStrike()
DSkRemoteGlyphCache.cpp586 SkFontMetrics fontMetrics; in writePendingGlyphs() local
587 fContext->getFontMetrics(&fontMetrics); in writePendingGlyphs()
588 serializer->write<SkFontMetrics>(fontMetrics); in writePendingGlyphs()
799 SkFontMetrics fontMetrics; in readStrikeData() local
800 if (!deserializer.read<SkFontMetrics>(&fontMetrics)) READ_FAILURE in readStrikeData()
822 *client_desc, std::move(scaler), &fontMetrics, in readStrikeData()
DSkStrike.cpp22 const SkFontMetrics& fontMetrics) in SkStrike() argument
25 , fFontMetrics{fontMetrics}
/third_party/openGLES/specs/gl/katex/
Dkatex.js1601 var fontMetrics = require("./fontMetrics");
1641 var metrics = fontMetrics.getCharacterMetrics(value, fontFamily);
1740 if (fontMetrics.getCharacterMetrics(value, fontName)) {
2090 var fontMetrics = require("./fontMetrics");
2412 (0.5 / fontMetrics.metrics.ptPerEm) / multiplier + "em";
2448 var ruleWidth = fontMetrics.metrics.defaultRuleThickness;
2509 ruleWidth = fontMetrics.metrics.defaultRuleThickness /
2524 clearance = 7 * fontMetrics.metrics.defaultRuleThickness;
2533 clearance = 3 * fontMetrics.metrics.defaultRuleThickness;
2641 var pt = 1 / fontMetrics.metrics.ptPerEm;
[all …]
/third_party/openGLES/specs/es/3.2/katex/
Dkatex.js1601 var fontMetrics = require("./fontMetrics");
1641 var metrics = fontMetrics.getCharacterMetrics(value, fontFamily);
1740 if (fontMetrics.getCharacterMetrics(value, fontName)) {
2090 var fontMetrics = require("./fontMetrics");
2412 (0.5 / fontMetrics.metrics.ptPerEm) / multiplier + "em";
2448 var ruleWidth = fontMetrics.metrics.defaultRuleThickness;
2509 ruleWidth = fontMetrics.metrics.defaultRuleThickness /
2524 clearance = 7 * fontMetrics.metrics.defaultRuleThickness;
2533 clearance = 3 * fontMetrics.metrics.defaultRuleThickness;
2641 var pt = 1 / fontMetrics.metrics.ptPerEm;
[all …]
/third_party/openGLES/specs/es/katex/
Dkatex.js1601 var fontMetrics = require("./fontMetrics");
1641 var metrics = fontMetrics.getCharacterMetrics(value, fontFamily);
1740 if (fontMetrics.getCharacterMetrics(value, fontName)) {
2090 var fontMetrics = require("./fontMetrics");
2412 (0.5 / fontMetrics.metrics.ptPerEm) / multiplier + "em";
2448 var ruleWidth = fontMetrics.metrics.defaultRuleThickness;
2509 ruleWidth = fontMetrics.metrics.defaultRuleThickness /
2524 clearance = 7 * fontMetrics.metrics.defaultRuleThickness;
2533 clearance = 3 * fontMetrics.metrics.defaultRuleThickness;
2641 var pt = 1 / fontMetrics.metrics.ptPerEm;
[all …]
/third_party/openGLES/specs/katex/
Dkatex.js1601 var fontMetrics = require("./fontMetrics");
1641 var metrics = fontMetrics.getCharacterMetrics(value, fontFamily);
1740 if (fontMetrics.getCharacterMetrics(value, fontName)) {
2090 var fontMetrics = require("./fontMetrics");
2412 (0.5 / fontMetrics.metrics.ptPerEm) / multiplier + "em";
2448 var ruleWidth = fontMetrics.metrics.defaultRuleThickness;
2509 ruleWidth = fontMetrics.metrics.defaultRuleThickness /
2524 clearance = 7 * fontMetrics.metrics.defaultRuleThickness;
2533 clearance = 3 * fontMetrics.metrics.defaultRuleThickness;
2641 var pt = 1 / fontMetrics.metrics.ptPerEm;
[all …]
/third_party/skia/src/core/
DSkRemoteGlyphCache.cpp392 SkFontMetrics fontMetrics; in writePendingGlyphs() local
393 fContext->getFontMetrics(&fontMetrics); in writePendingGlyphs()
394 serializer->write<SkFontMetrics>(fontMetrics); in writePendingGlyphs()
979 SkFontMetrics fontMetrics{}; in readStrikeData() local
981 if (!deserializer.read<SkFontMetrics>(&fontMetrics)) READ_FAILURE in readStrikeData()
1009 strikeSpec, &fontMetrics, in readStrikeData()
DSkScalerCache.cpp29 const SkFontMetrics* fontMetrics) in SkScalerCache() argument
31 , fFontMetrics{use_or_generate_metrics(fontMetrics, fScalerContext.get())}
/third_party/skia/src/pdf/
DSkPDFFont.cpp187 const SkAdvancedTypefaceMetrics* fontMetrics = SkPDFFont::GetMetrics(face, doc); in GetFontResource() local
188 SkASSERT(fontMetrics); // SkPDFDevice::internalDrawText ensures the typeface is good. in GetFontResource()
190 const SkAdvancedTypefaceMetrics& metrics = *fontMetrics; in GetFontResource()
/third_party/flutter/skia/src/pdf/
DSkPDFFont.cpp188 const SkAdvancedTypefaceMetrics* fontMetrics = SkPDFFont::GetMetrics(face, doc); in GetFontResource() local
189 SkASSERT(fontMetrics); // SkPDFDevice::internalDrawText ensures the typeface is good. in GetFontResource()
191 const SkAdvancedTypefaceMetrics& metrics = *fontMetrics; in GetFontResource()
/third_party/skia/tests/
DSerializationTest.cpp470 SkFontMetrics fontMetrics, cloneMetrics; in TestTypefaceSerialization() local
471 font.getMetrics(&fontMetrics); in TestTypefaceSerialization()
473 REPORTER_ASSERT(reporter, fontMetrics == cloneMetrics, in TestTypefaceSerialization()
/third_party/skia/modules/skparagraph/src/
DTextLine.cpp938 SkFontMetrics fontMetrics; in getMetrics() local
939 run->fFont.getMetrics(&fontMetrics); in getMetrics()
940 StyleMetrics styleMetrics(&style, fontMetrics); in getMetrics()
/third_party/flutter/skia/tools/fonts/
DTestSVGTypeface.cpp53 const SkFontMetrics& fontMetrics, in TestSVGTypeface() argument
59 , fFontMetrics(fontMetrics) in TestSVGTypeface()
/third_party/skia/tools/fonts/
DTestSVGTypeface.cpp54 const SkFontMetrics& fontMetrics, in TestSVGTypeface() argument
60 , fFontMetrics(fontMetrics) in TestSVGTypeface()
/third_party/boost/libs/hana/doc/js/
Dhighcharts.js84 …htSetting||p.height||0)+2*H;this.baselineOffset=H+Math.min(this.renderer.fontMetrics(a&&a.fontSize,
95 ….test(b&&b.style.fontSize)?b.style.fontSize:N||e.style.fontSize||12);return I?h(I):e.fontMetrics(d,
110 …)===g&&w.setAttribute(c,b)}e.setAttribute(c,b)});return b};c.prototype.fontMetrics=function(b,c){b…
119 …s.hasBoxWidthChanged=!0):this.hasBoxWidthChanged=!1;A!==this.cTT&&(x=a.fontMetrics(p.style.fontSiz…
187 …his.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.la…
199 …a=this.offset,l=g.x||0,m=g.y||0,r=this.axisTitle,x=this.chart.renderer.fontMetrics(g.style&&g.styl…
290 …egendGroup),this.baseline||(this.fontMetrics=g.fontMetrics(d.styledMode?12:l.fontSize,e),this.base…
291 this.symbolHeight=h.symbolHeight||this.fontMetrics.f,b.drawLegendSymbol(this,a),this.setItemEvents&…
318 "title"===b?-3:"top"===k?c[0]+2:0;if(g){if(!this.styledMode)var l=h.style.fontSize;l=e.fontMetrics(…
355 this.legendGroup;a=a.baseline-Math.round(.3*a.fontMetrics.b);var K={};this.chart.styledMode||(K={"s…
[all …]