FreeTypeAbstraction.jl
FreeTypeAbstraction.jl copied to clipboard
A Julian abstraction layer over FreeType.jl
Previously the example in the readme didn't run due to API changes.
Hello it is probably some simple mistake that I make But I get low quality of displayed text (mainly irregular thickenings..) as one see below I get this image by...
The example code in README.md has x0 before y0 in renderstring!, but the function accepts y0 before x0.
I'm trying to render a string over an existing image using a transparent `bcolor`. But `renderstring` seems to replace the existing values instead of blending them. Would it be useful...
I tried the examples in the readme but the `face = newface("hack_regular.ttf")` return type is `Ptr{FreeType.LibFreeType.FT_FaceRec_}` and it's not compatible with `renderface/renderstring!`, which needs `::FreeTypeAbstraction.FTFont`. As workaround I used `face...
currently `renderstring!` returns the img that is input. more useful i think would be to return the bounding box of the rendered text. if that makes sense, i could create...
The following code works properly on Windows, but outputs a zero array on Linux: ``` using FreeTypeAbstraction, Images, FileIO sz = (128,128) str = "c" pixelsize = sz[2] ÷ length(str)...