Popularity
3.4
Growing
Activity
0.0
Stable
4
1
3
Monthly Downloads: 0
Programming language: Haskell
License: LicenseRef-PublicDomain
Tags:
Graphics
freetype-simple alternatives and similar packages
Based on the "Graphics" category.
Alternatively, view freetype-simple alternatives based on common mentions on social networks and blogs.
-
implicit
A math-inspired CAD program in haskell. CSG, bevels, and shells; 2D & 3D geometry; 2D gcode generation... -
log-warper
DISCONTINUED. Logging library to provide more convenient, extremely configurable but simple monadic interface with pretty output
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
Promo
getstream.io

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of freetype-simple or a related project?
README
freetype-simple
Single line text rendering with opengles package available in Hackage.
Example
import Graphics.OpenGLES
import Graphics.Rendering.FreeType.Simple
prepareTexture :: String -> GL (Texture R8)
prepareTexture singleText = do
font <- readFont "/usr/share/fonts/TTF/DejaVuSansMono.ttf"
(bitmap, wh, bbox) <- textLine font 120.0 singleText
glLoadTex2D Nothing True bitmap (fromIntegral <$> wh)
draw :: GL ()
draw = withGL $ do
tex <- prepareTexture "The quick brown fox jumps over the lazy dog"
setSampler tex (Sampler (clampToEdge,clampToEdge,Nothing) 16.0 (magLinear,minLinear))
glDraw triangleStrip textShader
[ texSlot 0 tex ] -- set the texture to slot 0
[{- Uniform Variables -}]
vao
(takeFrom 0 4) -- make a billboard
LISENCE
Under Public Domain
Contact Information
Contributions and bug reports are welcome!