Skip to content

cobbpg/lafonten

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

LambdaCube Font Engine

Build status

This is a work-in-progress project to provide font rendering capabilities for LambdaCube 3D.

The basic idea behind the composite distance field approximation method is described in a blog post.

Setup

System Requirements

  • OS: Windows/Linux/OSX
  • Graphics: OpenGL 3.3 or better

On Linux install the following libraries.

i.e. on Ubuntu:

sudo apt install libgl1-mesa-dev libxi-dev libxcursor-dev libxinerama-dev libxrandr-dev zlib1g-dev libpulse-dev

For other Linux distributions make sure the corresponing packages are installed.

These libraries required for OpenGL development.

Compile & Run:

To compile you will need Haskell Stack.

stack setup
stack build
stack exec -- lafonten-test Ubuntu-R.ttf

Lafonten Demo

About

LambdaCube Font Engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published