2 instantiations of FamilyCollection
PresentationCore (2)
MS\Internal\FontCache\FamilyCollection.cs (2)
291
return new
FamilyCollection
(folderUri, DWriteFactory.GetFontCollectionFromFolder(folderUri));
300
return new
FamilyCollection
(folderUri, DWriteFactory.SystemFontCollection);
14 references to FamilyCollection
PresentationCore (14)
MS\Internal\FontCache\FamilyCollection.cs (4)
112
Uri criticalSxSFontsLocation = new Uri(
FamilyCollection
.SxSFontsResourcePrefix);
239
FontSource fontSource = new FontSource(new Uri(Path.Combine(
FamilyCollection
.SxSFontsResourcePrefix, _systemCompositeFontsFileNames[index] + Util.CompositeFontExtension), UriKind.RelativeOrAbsolute),
289
internal static
FamilyCollection
FromUri(Uri folderUri)
298
internal static
FamilyCollection
FromWindowsFonts(Uri folderUri)
System\Windows\Media\FontFamily.cs (7)
45
private static volatile
FamilyCollection
_defaultFamilyCollection = PreCreateDefaultFamilyCollection();
427
private static
FamilyCollection
PreCreateDefaultFamilyCollection()
429
FamilyCollection
familyCollection =
FamilyCollection
.FromWindowsFonts(Util.WindowsFontsUriObject);
491
FamilyCollection
familyCollection;
501
familyCollection =
FamilyCollection
.FromUri(canonicalFamilyReference.LocationUri);
509
familyCollection =
FamilyCollection
.FromWindowsFonts(locationUri);
System\Windows\Media\Fonts.cs (3)
241
FamilyCollection
familyCollection =
243
FamilyCollection
.FromWindowsFonts(fontLocation) :
244
FamilyCollection
.FromUri(fontLocation);