Skip to content

mattsan/bdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Glyph Bitmap Distribution Format (BDF) Loader

Loads a BDF file or parses a BDF string.

Installation

def deps do
  [
    {:bdf, github: "mattsan/bdf"}
  ]
end

Usage

Loads from file

{:ok, fonts} = BDF.load("path/to/font.bdf")

Loads from io

{:ok, fonts} =
  "paht/to/font.bdf"
  |> File.open!()
  |> BDF.load()

Parses string

{:ok, font_string} = File.read("path/to/font.bdf")
{:ok, fonts} = BDF.parse(font_string)

About

Glyph Bitmap Distribution Format (BDF) Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages