dummy-link

FreeTypeAbstraction

A Julian abstraction layer over FreeType.jl

Readme

FreeTypeAbstraction

Draw text into a Matrix.


using FreeTypeAbstraction

# load a font
face = newface("hack_regular.ttf")

# render a character
img, metric = renderface(face, 'C')

# render a string into an existing matrix
myarray = zeros(UInt8,100,100)
renderstring!(myarray, "hello", face, (10,10), 90, 10, halign=:hright)

credits to @aaalexandrov from whom most of the code stems.

First Commit

06/02/2015

Last Touched

about 2 months ago

Commits

73 commits