17 references to GetTestFontPath
System.Drawing.Common.Tests (17)
System\Drawing\FontFamilyTests.cs (9)
38fontCollection.AddFontFile(Helpers.GetTestFontPath("CodeNewRoman.otf")); 177fontCollection.AddFontFile(Helpers.GetTestFontPath("CodeNewRoman.otf")); 191collection.AddFontFile(Helpers.GetTestFontPath("CodeNewRoman.otf")); 203collection.AddFontFile(Helpers.GetTestFontPath("CodeNewRoman.otf")); 222fontCollection.AddFontFile(Helpers.GetTestFontPath("CodeNewRoman.ttf")); 232collection.AddFontFile(Helpers.GetTestFontPath("CodeNewRoman.otf")); 244collection.AddFontFile(Helpers.GetTestFontPath("CodeNewRoman.otf")); 256collection.AddFontFile(Helpers.GetTestFontPath("CodeNewRoman.otf")); 268collection.AddFontFile(Helpers.GetTestFontPath("CodeNewRoman.otf"));
System\Drawing\FontTests.cs (1)
338collection.AddFontFile(Helpers.GetTestFontPath("CodeNewRoman.otf"));
System\Drawing\Text\PrivateFontCollectionTests.cs (7)
28fontCollection.AddFontFile(Helpers.GetTestFontPath("CodeNewRoman.otf")); 61fontCollection.AddFontFile(Helpers.GetTestFontPath("CodeNewRoman.ttf")); 62fontCollection.AddFontFile(Helpers.GetTestFontPath("CodeNewRoman.ttf")); 78fontCollection.AddFontFile(Helpers.GetTestFontPath("CodeNewRoman.ttf")); 79fontCollection.AddFontFile(Helpers.GetTestFontPath("CodeNewRoman.otf")); 138byte[] data = File.ReadAllBytes(Helpers.GetTestFontPath("CodeNewRoman.otf")); 174byte[] data = File.ReadAllBytes(Helpers.GetTestFontPath("CodeNewRoman.otf"));