Skip to content

All-in-one tool for creating TrueType outline fonts from bitmap glyph data, purely written in Elixir.

License

Notifications You must be signed in to change notification settings

Dalgona/pixel_font

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PixelFont

GitHub Workflow Status Coverage Status

"PixelFont" is an all-in-one tool for creating TrueType outline fonts from bitmap glyph data.

"PixelFont" implements a subset of the OpenType specification, purely in Elixir programming language.

Features

  • Builds full-featured font files which can be used in serious places.
  • Generates optimal pixelated TrueType outlines based on 1bpp bitmap images.
  • Supports creating fonts with OpenType advanced typographic features, namely GPOS and GSUB.
  • Provides DSL and data structures for defining...
    • Font metadata,
    • TrueType outline glyphs based on bitmap image,
    • Composite glyphs (maximum depth of 1 for now),
    • And a subset of GPOS and GSUB lookups.

If you are in doubt, see The NeoDunggeunmo Project.

Future Goals

  • Write some documentations and tests.
  • Implement more GPOS and GSUB lookup subtables.
  • Wrap all the struct craziness with Elixir DSL. Specifically, provide user experience somewhat similar to using GUI-based font development software... via Elixir DSL. (Good luck!)

License

Copyright 2024 Eunbin Jeong (Dalgona.) <me@dalgona.dev>

This project is still under early development, but its source codes are released under the MIT license. See LICENSE file for the full text.

OpenType is a registered trademark of Microsoft Corporation.

TrueType is a trademark of Apple Inc., registered in the United States and other countries.