9 instantiations of FontSource
PresentationCore (9)
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (1)
358
FontSource fontSource = new
FontSource
(new Uri(FamilyCollection.SxSFontsLocation + _systemCompositeFontsFileNames[index] + Util.CompositeFontExtension, UriKind.Absolute),
Core\CSharp\MS\Internal\FontCache\FontSource.cs (1)
47
return new
FontSource
(new Uri(uriString), false);
Core\CSharp\MS\Internal\FontCache\FontSourceCollection.cs (5)
105
_fontSources.Add(new
FontSource
(_uri, false, isComposite));
256
fontSources.Add(new
FontSource
(new Uri(file, UriKind.Absolute), _isWindowsFonts, true));
265
fontSources.Add(new
FontSource
(new Uri(file, UriKind.Absolute), _isWindowsFonts, isComposite));
289
fontSources.Add(new
FontSource
(_uri, _isWindowsFonts, isComposite));
294
fontSources.Add(new
FontSource
(new Uri(_uri, resourceName), _isWindowsFonts, isComposite));
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (2)
123
_fontSource = new
FontSource
(typefaceSource, true);
199
_fontSource = new
FontSource
(fontSourceUri, true);
5 references to FontSource
PresentationCore (5)
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (2)
140
foreach (
FontSource
fontSource in fontSourceCollection)
358
FontSource
fontSource = new FontSource(new Uri(FamilyCollection.SxSFontsLocation + _systemCompositeFontsFileNames[index] + Util.CompositeFontExtension, UriKind.Absolute),
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (1)
957
internal static Exception ConvertInPageException(
FontSource
fontSource, SEHException e)
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (2)
1895
internal
FontSource
FontSource
2367
private
FontSource
_fontSource;