9 instantiations of FontSource
PresentationCore (9)
MS\Internal\FontCache\FamilyCollection.cs (1)
251
FontSource fontSource = new
FontSource
(new Uri(Path.Combine(FamilyCollection.SxSFontsResourcePrefix, _systemCompositeFontsFileNames[index] + Util.CompositeFontExtension), UriKind.RelativeOrAbsolute),
MS\Internal\FontCache\FontSource.cs (1)
42
return new
FontSource
(new Uri(uriString), false);
MS\Internal\FontCache\FontSourceCollection.cs (5)
77
_fontSources.Add(new
FontSource
(_uri, false, isComposite));
190
fontSources.Add(new
FontSource
(new Uri(file, UriKind.Absolute), _isWindowsFonts, true));
199
fontSources.Add(new
FontSource
(new Uri(file, UriKind.Absolute), _isWindowsFonts, isComposite));
223
fontSources.Add(new
FontSource
(_uri, _isWindowsFonts, isComposite));
228
fontSources.Add(new
FontSource
(new Uri(_uri, resourceName), _isWindowsFonts, isComposite));
System\Windows\Media\GlyphTypeface.cs (2)
108
_fontSource = new
FontSource
(typefaceSource, true);
162
_fontSource = new
FontSource
(fontSourceUri, true);
5 references to FontSource
PresentationCore (5)
MS\Internal\FontCache\FamilyCollection.cs (2)
64
foreach (
FontSource
fontSource in fontSourceCollection)
251
FontSource
fontSource = new FontSource(new Uri(Path.Combine(FamilyCollection.SxSFontsResourcePrefix, _systemCompositeFontsFileNames[index] + Util.CompositeFontExtension), UriKind.RelativeOrAbsolute),
MS\Internal\FontCache\FontCacheUtil.cs (1)
784
internal static Exception ConvertInPageException(
FontSource
fontSource, SEHException e)
System\Windows\Media\GlyphTypeface.cs (2)
1545
internal
FontSource
FontSource
1981
private
FontSource
_fontSource;