9 instantiations of FontSource
PresentationCore (9)
MS\Internal\FontCache\FamilyCollection.cs (1)
238
FontSource fontSource = new
FontSource
(new Uri(Path.Combine(FamilyCollection.SxSFontsResourcePrefix, _systemCompositeFontsFileNames[index] + Util.CompositeFontExtension), UriKind.RelativeOrAbsolute),
MS\Internal\FontCache\FontSource.cs (1)
27
return new
FontSource
(new Uri(uriString));
MS\Internal\FontCache\FontSourceCollection.cs (5)
56
_fontSources.Add(new
FontSource
(_uri, isComposite));
112
fontSources.Add(new
FontSource
(new Uri(file, UriKind.Absolute), true));
121
fontSources.Add(new
FontSource
(new Uri(file, UriKind.Absolute), isComposite));
145
fontSources.Add(new
FontSource
(_uri, isComposite));
150
fontSources.Add(new
FontSource
(new Uri(_uri, resourceName), isComposite));
System\Windows\Media\GlyphTypeface.cs (2)
99
_fontSource = new
FontSource
(typefaceSource);
152
_fontSource = new
FontSource
(fontSourceUri);
5 references to FontSource
PresentationCore (5)
MS\Internal\FontCache\FamilyCollection.cs (2)
51
foreach (
FontSource
fontSource in fontSourceCollection)
238
FontSource
fontSource = new FontSource(new Uri(Path.Combine(FamilyCollection.SxSFontsResourcePrefix, _systemCompositeFontsFileNames[index] + Util.CompositeFontExtension), UriKind.RelativeOrAbsolute),
MS\Internal\FontCache\FontCacheUtil.cs (1)
764
internal static Exception ConvertInPageException(
FontSource
fontSource, SEHException e)
System\Windows\Media\GlyphTypeface.cs (2)
1535
internal
FontSource
FontSource
1971
private
FontSource
_fontSource;