From 38daf046ba53d4719d3171f0f96250c374c5c746 Mon Sep 17 00:00:00 2001 From: bonkmaykr Date: Sat, 12 Sep 2026 06:45:24 +0000 Subject: [PATCH] Add README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..fc9008e --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +# allegro_schrift +Drop-in replacement for Allegro_TTF that contains libschrift, instead of using FreeType2. + +It is 100% API compatible with the vanilla TrueType addon. Compile Allegro with these files inside of `/addons/ttf`. + +Caveats: +- Stretching is not implemented. Maybe later. +- The entire caching system is gone, fonts are baked to textures immediately and no further. If your usecase doesn't need every fancy rendering feature and can use schrift, you probably aren't supporting enough characters and languages to need on-the-fly caching. + - The `cache_text` setting in allegro5.cfg is now reused to determine what glyphs can be rendered at all. `skip_cache_misses` has no effect. \ No newline at end of file