package tsdl-ttf

  1. Overview
  2. Docs
SDL2_Ttf bindings to go with Tsdl

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.7.tar.gz
md5=ba79c3dbee29fa876cf211b55994de27
sha512=36da05d5e177f8ca8c90e9c2515c35deecbff61c1ca7fb1b80110b5c97d4668073a7375f48d441417e956a7c1a9db69592715751bd94f6187483578529c12b2b

doc/CHANGELOG.html

0.7 2026/04/04

  • (@zoggy) add Ttf.glyph_metrics32
  • (@jonahbeckford) Allow exact location of libSDL2_ttf-2.0.so.0 to be set in LIBSDL2_TTF_SHLIB for situations where you have a debug shared. library or you don't want pkg-config invoked.
  • WARNING removed dune configurator because of Windows incompatibilities. If you have trouble compiling, please report an issue on github.
  • (@zoggy) add Ttf.render_glyph32*
  • (@zoggy) add Ttf.glyph_is_provided32, see https://wiki.libsdl.org/SDL2_ttf/TTF_GlyphIsProvided32
  • Fix DLL lookup for current OPAM+MingW64 installations

0.6 2023/08/05 hide startup log

  • Use system category to log "Loading Sdl_ttf" message. (We now log only for dev versions.)
  • Fix typo environment lookup of LIBSLD2_PATH to be correct LIBSDL2_PATH.
  • Locate SDL2_ttf.dll on Windows.

0.5 2022/11/30 trying to autodetect library path

And add workflow for github actions for testing dynamic libraries from bytecode.

0.4 2022/11/22 Bug fix (calling ocaml on an *.ml file)

You can now (again) directly run a "toplevel file" with ocaml, for instance

#use "topfind";;
#thread;;
#require "tsdl-ttf";;
Tsdl_ttf.Ttf.init () |> ignore

0.3 Change library name (BREAKING)

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).

2021 new maintainer is sanette

https://github.com/sanette/tsdl-ttf