Main Site Documentation

Load Font from file


#1

I am able to read a bitmap file that is on the SD card and crate an Image object the resides in RAM:

var sd = StorageController.FromName(@“GHIElectronics.TinyCLR.NativeApis.STM32F4.SdCardStorageController\0”);
var drive = FileSystem.Mount(sd.Hdc);
var file = new FileStream($@"{drive.Name}image.bmp", FileMode.Open);
var bt = new Bitmap(file);

Thus reducing the deployment size.

Is there a similar process to load a font file from SD card ?


#2

Unfortunately there is no such process at the moment, though we will keep it in mind.