9 instantiations of FontSource
PresentationCore (9)
MS\Internal\FontCache\FamilyCollection.cs (1)
242
FontSource fontSource = new
FontSource
(new Uri(Path.Combine(FamilyCollection.SxSFontsResourcePrefix, _systemCompositeFontsFileNames[index] + Util.CompositeFontExtension), UriKind.RelativeOrAbsolute),
MS\Internal\FontCache\FontSource.cs (1)
28
return new
FontSource
(new Uri(uriString));
MS\Internal\FontCache\FontSourceCollection.cs (5)
57
_fontSources.Add(new
FontSource
(_uri, isComposite));
113
fontSources.Add(new
FontSource
(new Uri(file, UriKind.Absolute), true));
122
fontSources.Add(new
FontSource
(new Uri(file, UriKind.Absolute), isComposite));
146
fontSources.Add(new
FontSource
(_uri, isComposite));
151
fontSources.Add(new
FontSource
(new Uri(_uri, resourceName), isComposite));
System\Windows\Media\GlyphTypeface.cs (2)
100
_fontSource = new
FontSource
(typefaceSource);
153
_fontSource = new
FontSource
(fontSourceUri);
5 references to FontSource
PresentationCore (5)
MS\Internal\FontCache\FamilyCollection.cs (2)
55
foreach (
FontSource
fontSource in fontSourceCollection)
242
FontSource
fontSource = new FontSource(new Uri(Path.Combine(FamilyCollection.SxSFontsResourcePrefix, _systemCompositeFontsFileNames[index] + Util.CompositeFontExtension), UriKind.RelativeOrAbsolute),
MS\Internal\FontCache\FontCacheUtil.cs (1)
768
internal static Exception ConvertInPageException(
FontSource
fontSource, SEHException e)
System\Windows\Media\GlyphTypeface.cs (2)
1536
internal
FontSource
FontSource
1972
private
FontSource
_fontSource;