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