Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 503 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 503 Bytes

OTFontFile

A parse and write opentype fonts library.

Base Font-Validator/OTFontFile which write by Microsoft and HinTak. I upgrade it to .NET 8 and modify some files.

Simple usage

using OTFontFile;

var file = "Your font";
var otf = new OTFile();

if (otf.open(fontFile))
{
    if (!otf.IsCollection())
    {
        var font = otf.GetFont(0);
        var nameTable = (Table_name)font.GetTable("name")!;
    }
}