C# lib for processing font files - TTF (TrueType), others

Brady Moritz picture Brady Moritz · Jan 7, 2011 · Viewed 15.6k times · Source

Any known C# library or project out there that can understand the TTF file format? Most questions Ive seen regarding this are attempting to do custom rendering, but I'm more interested in a font editor type of application.

Answer

WinterDev picture WinterDev · Jan 8, 2017

I want to introduce another pure C# lib for processing font. Here https://github.com/LayoutFarm/Typography

Pure C#

support .NET >=20

access general glyph data,

and access advanced typography data.

(such as GDEF,GSUB,GPOS) etc.


The below image shows some screen snapshot,

compare then lib's rendering glyph 'B'

  1. (left) : glyph from the lib without Hinting

  2. (middle) : Windows's GDI with clear type (from notepad)

  3. (right): glyph from the lib with True Hinting

enter image description here


snap 2: I'm developing auto-hint, and grid fitting.

test it out, and feel free to comment, fork, discuss.

triangulate1


snap 3: subpixel rendering

subpixel_rendering