2 instantiations of FamilyCollection
PresentationCore (2)
MS\Internal\FontCache\FamilyCollection.cs (2)
294
return new
FamilyCollection
(folderUri, DWriteFactory.GetFontCollectionFromFolder(folderUri));
303
return new
FamilyCollection
(folderUri, DWriteFactory.SystemFontCollection);
14 references to FamilyCollection
PresentationCore (14)
MS\Internal\FontCache\FamilyCollection.cs (4)
115
Uri criticalSxSFontsLocation = new Uri(
FamilyCollection
.SxSFontsResourcePrefix);
242
FontSource fontSource = new FontSource(new Uri(Path.Combine(
FamilyCollection
.SxSFontsResourcePrefix, _systemCompositeFontsFileNames[index] + Util.CompositeFontExtension), UriKind.RelativeOrAbsolute),
292
internal static
FamilyCollection
FromUri(Uri folderUri)
301
internal static
FamilyCollection
FromWindowsFonts(Uri folderUri)
System\Windows\Media\FontFamily.cs (7)
48
private static volatile
FamilyCollection
_defaultFamilyCollection = PreCreateDefaultFamilyCollection();
430
private static
FamilyCollection
PreCreateDefaultFamilyCollection()
432
FamilyCollection
familyCollection =
FamilyCollection
.FromWindowsFonts(Util.WindowsFontsUriObject);
494
FamilyCollection
familyCollection;
504
familyCollection =
FamilyCollection
.FromUri(canonicalFamilyReference.LocationUri);
512
familyCollection =
FamilyCollection
.FromWindowsFonts(locationUri);
System\Windows\Media\Fonts.cs (3)
241
FamilyCollection
familyCollection =
243
FamilyCollection
.FromWindowsFonts(fontLocation) :
244
FamilyCollection
.FromUri(fontLocation);