Name: FreeTypeAbstraction.jl
Owner: JuliaGraphics
Description: A Julian abstraction layer over FreeType.jl
Created: 2015-06-02 14:21:42.0
Updated: 2018-05-13 20:43:26.0
Pushed: 2017-09-07 03:24:10.0
Homepage: null
Size: 178
Language: Julia
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Draw text into a Matrix.
g FreeTypeAbstraction
ad a font
= newface("hack_regular.ttf")
nder a character
metric = renderface(face, 'C')
nder a string into an existing matrix
ray = zeros(UInt8,100,100)
erstring(myarray, "hello", face, (10,10), 90, 10, halign=:hright)
credits to @aaalexandrov from whom most of the code stems.