Popularity
3.6
Declining
Activity
0.0
Stable
4
2
3
Monthly Downloads: 8
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.
-
reanimate
Haskell library for building declarative animations based on SVG graphics -
Gifcurry
๐ The open-source, Haskell-built video editor for GIF makers. -
implicit
A math-inspired CAD program in haskell. CSG, bevels, and shells; 2D & 3D geometry; 2D gcode generation... -
threepenny-gui
GUI framework that uses the web browser as a display. -
diagrams
Embedded domain-specific language for declarative vector graphics (wrapper package) -
GPipe
Core library of new GPipe, encapsulating OpenGl and providing a type safe minimal library -
luminance
Type-safe, type-level and stateless Haskell graphics framework -
log-warper
Logging library to provide more convenient, extremely configurable but simple monadic interface with pretty output -
timeplot
Analyst's swiss army knife for visualizing data from ad-hoc log files -
unm-hip
The University of New Mexico's Haskell Image Processing Library -
diagrams-contrib
User-contributed extensions to diagrams -
processing-for-haskell
Graphics for kids and artists. Processing implemented in Haskell -
GLUtil
Utility functions for working with OpenGL BufferObjects, GLSL shaders, and textures. -
diagrams-reflex
reflex backend for diagrams drawing EDSL. -
graphics-drawingcombinators
Combinators for drawing 2D shapes and images in Haskell (using OpenGL)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Promo
www.influxdata.com
* 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!