File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -7,22 +7,5 @@ public App()
77 InitializeComponent ( ) ;
88 MainPage = new AppShell ( ) ;
99 }
10-
11- //private async void InitFonts()
12- //{
13- // var cacheDir = FileSystem.Current.CacheDirectory;
14- // var fontsDir = Path.Combine(cacheDir, "oxyplot_fonts");
15- // //MauiPlotSetting.CustomFontsDirectory = fontsDir;
16-
17- // var fontFileName = "NotoSansCJKsc-Regular.otf";
18- // var fontFileFullPath = Path.Combine(fontsDir, fontFileName);
19- // if (File.Exists(fontFileFullPath))
20- // return;
21-
22- // Directory.CreateDirectory(fontsDir);
23- // var fs = await FileSystem.OpenAppPackageFileAsync(fontFileName);
24- // await using var fileStream = File.Create(fontFileFullPath);
25- // await fs.CopyToAsync(fileStream);
26- //}
2710 }
2811}
You can’t perform that action at this time.
0 commit comments