justjoheinz / cl-sdl2-hershey

Support for hershey fonts, sdl2 and COMMON LISP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Readme

https://github.com/justjoheinz/cl-sdl2-hershey/actions/workflows/ci.yaml/badge.svg

cl-sdl2-hershey

This repository adds the capability to use Hershey vector fonts with cl-sdl2.

Install

It is highly recommended to use the environment provided by qlot. Execute

ros install qlot # if it is not installed yet
qlot install

The library is neither on ultralisp nor quicklisp, so you will need to checkout the repository.

Usage

The API is still subject to change. Currently minimalistic string printing without safety net is supported. See the example for code.

Example

./fonts.png

(ql:quickload :cl-sdl2-hershey/example)
(cl-sdl2-hershey/example:main)

or

make example

from the command line.

Origin

Hershey Fonts

I think it is appropriate that one of the oldest programming languages should make use one of the oldest public vector fonts.

A description of the data format can be found here.

About

Support for hershey fonts, sdl2 and COMMON LISP


Languages

Language:Common Lisp 94.5%Language:Makefile 5.5%