Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sanette/tsdl-ttf
SDL2_ttf bindings for Ocaml with Tsdl
https://github.com/sanette/tsdl-ttf
ocaml ocaml-bindings sdl2 sdl2-ttf ttf
Last synced: 4 months ago
JSON representation
SDL2_ttf bindings for Ocaml with Tsdl
- Host: GitHub
- URL: https://github.com/sanette/tsdl-ttf
- Owner: sanette
- License: bsd-3-clause
- Fork: true (tokenrove/tsdl-ttf)
- Created: 2021-09-08T10:12:48.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-03-07T07:30:37.000Z (11 months ago)
- Last Synced: 2024-06-19T15:12:56.861Z (7 months ago)
- Topics: ocaml, ocaml-bindings, sdl2, sdl2-ttf, ttf
- Language: OCaml
- Homepage: https://sanette.github.io/tsdl-ttf/
- Size: 404 KB
- Stars: 1
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
tsdl-image — SDL2\_ttf bindings for OCaml with Tsdl
---------------------------------------------------*WARNING*: These bindings are subject to change.
Tsdl\_ttf provides bindings to
[SDL2_ttf](https://wiki.libsdl.org/SDL_ttf/) intended to
be used with [Tsdl](http://erratique.ch/software/tsdl).It has as siblings [tsdl-image](https://github.com/sanette/tsdl-image)
and [tsdl-mixer](https://github.com/sanette/tsdl-mixer).Note that these bindings are at an early stage and have only been used
minimally. The interface may change. Comments and bug reports are
welcome through the
[github page](https://github.com/sanette/tsdl-ttf).## Installation
Via [opam](https://opam.ocaml.org/):
opam install tsdl-ttf
## Documentation
Documentation is
[here](https://sanette.github.io/tsdl-ttf/Ttf/index.html), it can be
generated with `dune build @doc`, (or `./make_doc.sh`) but the binding
follows the SDL2_ttf interface closely, so it may be sufficient to
consult
[its documentation](https://wiki.libsdl.org/SDL_ttf/).Starting from version 0.3, the library is usable in a toplevel (with
`#require "tsdl-ttf"`).## WARNING V0.3 Breaking change
Starting from 0.3, the library name is the same as the opam package
name `tsdl-ttf`. (The library name used to be `tsdl_ttf`, which
was confusing).## CI
https://ci.ocamllabs.io/github/sanette/tsdl-ttf