-
2.2.10705f95b · ·
Release 2.2.1 Changed ------- * Color bitmap glyphs with a pixel-size fixup factor other than 1.0 are now pre-scaled. Previously, fcft would only set a pixman scale transform on the glyph, causing actual scaling to occur **every** time the glyph was blended. This improves the performance when rendering color emojis.
-
2.2.0aef83384 · ·
Release 2.2.0 Changed ------- * Internal representation of the primary and fallback fonts. * Do not load a fallback font if it does not contain the requested glyph. Deprecated ---------- * `fcft_size_adjust()`
-
-
2.1.2ca3a2117 · ·
Release 2.1.2 Changed ------- * Glyph cache now resizes dynamically. This fixes a performance problem when loading **a lot** of glyphs, as we ended up scanning very long lists when looking up a glyph in the cache.
-
2.1.110be435b · ·
Release 2.1.1 Changed ------- * Prefer user-provided `charset`. This can be used to e.g. limit a fallback font's usage to a custom Unicode point range. Fixed ----- * LCD RGB/BGR modes were reversed.
-
2.1.0e177f167 · ·
Release 2.1.0 Added ----- * When looking for a glyph in the fallback fonts, don't discard (destroy/unload) the fonts that did not contain the glyph. This improves performance massively when loading lots of glyphs that does not exist in the primary font, or in the first fallback font(s). * Synthetic bold and italics (FontConfig's _embolden_ and _matrix_ properties). * `fcft_precompose()` - combines a base- and a combining wide character into a single pre-composed character. Changed ------- * `fcft_from_name()` and `fcft_size_adjust()` no longer calls `setlocale()` to set a suitable locale for `FcParseName()`, as this was not thread safe. The caller is responsible for ensuring `LC_NUMERICAL` is set to a locale that correctly recognizes _x.y_ decimal values. Fixed ----- * `fcft_from_name()` was not thread safe * `fcft_clone()` was not thread safe * `fcft_size_adjust()` was not thread safe * `fcft_destroy` was not thread safe
-
2.0.0e7cf1f33 · ·
Release 2.0.0 Changed ------- * API: `font_` prefix changed to `fcft_`. * API: renamed `struct font` to `struct fcft_font`. * API: renamed `struct glyph` to `struct fcft_glyph`. * API: internal members of `struct fcft_glyph` removed. * API: renamed `enum subpixel_order` to `enum fcft_subpixel`, and `ORDER` was removed from the enum values. * API: renamed `fcft_glyph.x_advance` to `fcft_glyph.advance.x`, and added `fcft_glyph.advance.y` * API: renamed `fcft_font.max_x_advance` to `fcft_font.max_advance.x` and added `fcft_font.max_advance.y`. * API: renamed `fcft_font.space_x_advance` to `fcft_font.space_advance.x` and added `fcft_font.space_advance.y`. * API: renamed `fcft_glyph_for_wc()` to `fcft_glyph_rasterize()`. * Require meson >= 0.54. * Use `meson.override_dependency()`. Fixed ----- * `fcft_kerning()` did not scale the returned kerning distances with the font's pixel size fixup multiplier.
-
-
1.1.6bd4388cf · ·
Release 1.1.6 Changed ------- * Set `FT_LOAD_FORCE_AUTOHINT` when `FC_AUTOHINT` has been set in the FontConfig pattern. Fixed ----- * Asan error in `font_destroy()` with NULL fallback pointers. * Clang compiler error due to unused function `pub2priv()` * FreeBSD build (added missing `stdthreads` library) This is an API+ABI backward compatible release.
-
1.1.5adad3fc6 · ·
Release 1.1.5 Fixed ----- * Glyph width/height not scaled when the pixel fixup factor wasn't 1.0
-
1.1.4b2030128 · ·
Release 1.1.4 * font_size_adjust() sometimes generated bad input patterns for fontconfig, resulting in e.g. DPI being "lost" (https://codeberg.org/dnkl/foot/issues/9)
-
1.1.38050470d · ·
Release 1.1.3 * Fix underline sometimes being positioned outside the font's line space.
-
1.1.23624fb88 · ·
Release 1.1.2 * Fix handling of non-integer sizes in non-C locales. This is an API+ABI backward compatible release.
-
1.1.1ad32925d · ·
Release 1.1.1 new API: font_size_adjust() This API returns a copy of a font instance, with its size adjusted by the specified amount. This is primarily to support 'ctrl-+' and 'ctrl--' operations. This is an ABI and API backward compatible change.
-
1.1.0362eb62b · ·
Release 1.1.0 * font_from_name(): swap 'count' and 'names' order. This is to be able to use the 'char *names[static count]' notation. * font_kerning(): x/y arguments are tagged with 'restrict'. They may thus *not* point to the same memory area.
-
1.0.1b77594ff · ·
Release 1.0.1 * Use 'index' from fontconfig. This fixes an issue where font _styles_ weren't applied correctly, when the styles where all packaged in a single font file.
-
1.0.095361c8d · ·
Release 1.0.0 * font_glyph_for_wc() now requires you to specify whether you want to allow subpixel antialiasing or not. You should only allow this if rendering to an opaque surface.
-
0.4.323a0d313 · ·
Release 0.4.3 This release addresses an issue with subpixel antialiased glyphs; it is not possible to do subpixel antialiasing when the background isn't fully opaque. * Add font_enable_subpixel_antialias() * Disable subpixel antialiasing by default. The user must call font_enable_subpixel_antialias() to enable it.
-
-
0.4.101ddd54f · ·
Release 0.4.1 * Ignore embeddedbitmap fontconfig property on non-scalable fonts * Optimize fallback loading by checking character exists in font _before_ loading it.