7 references to DefaultTypeface
PresentationCore (7)
MS\Internal\TextFormatting\LineServicesCallbacks.cs (1)
436
Typeface typeface = store.Pap.
DefaultTypeface
;
MS\Internal\TextFormatting\SimpleTextLine.cs (2)
326
_height = formatter.IdealToReal((int)Math.Round(pap.
DefaultTypeface
.LineSpacing(pap.EmSize, Constants.DefaultIdealToReal, PixelsPerDip, _settings.TextFormattingMode)), PixelsPerDip);
327
_baselineOffset = formatter.IdealToReal((int)Math.Round(pap.
DefaultTypeface
.Baseline(pap.EmSize, Constants.DefaultIdealToReal, PixelsPerDip, _settings.TextFormattingMode)), PixelsPerDip);
MS\Internal\TextFormatting\TextMetrics.cs (4)
192
* pap.
DefaultTypeface
.Baseline(pap.EmSize, Constants.DefaultIdealToReal, _pixelsPerDip, fullText.TextFormattingMode)
193
/ pap.
DefaultTypeface
.LineSpacing(pap.EmSize, Constants.DefaultIdealToReal, _pixelsPerDip, fullText.TextFormattingMode)
201
_textAscent = (int)Math.Round(pap.
DefaultTypeface
.Baseline(pap.EmSize, Constants.DefaultIdealToReal, _pixelsPerDip, fullText.TextFormattingMode));
202
_textHeight = (int)Math.Round(pap.
DefaultTypeface
.LineSpacing(pap.EmSize, Constants.DefaultIdealToReal, _pixelsPerDip, fullText.TextFormattingMode));