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