68e0606653
- Update to 3.3.3: * Failure to set LCD filter is no longer fatal * COLRv1 fonts are now rejected or ignored as they are not supported.
Arnav Singh
2025-12-27 18:51:08 +00:00
102895cae4
- Updated to 3.3.2: * Fixed crash when failing to load a font. * Fixed memory leak in fcft_fini() if the font cache contained entries for fonts that had failed to load.
Arnav Singh
2025-07-16 15:10:49 +00:00
1773ad92c2
Accepting request 1253873 from X11:Wayland
Ana Guerrero2025-03-17 21:19:14 +00:00
cca959b232
- Updated to 3.3.1: * Fixed binary incompatibility with 3.2 and earlier.
Arnav Singh
2025-03-13 17:45:15 +00:00
3c24751599
- Updated to 3.3.0: * Added scaling_filter to fcft_font_options. The default value is FCFT_SCALING_FILTER_CUBIC. * Added new scaling filters: impulse, box, linear, gaussian, lanczos3 and lanczos3_stretched. * When scaling bitmap fonts (not emoji fonts), do not apply a scaling filter. In earlier versions, fcft applied a bilinear scaling filter. * Deprecated fcft_set_scaling_filter; use fcft_font_options::scaling_filter instead.
Arnav Singh
2025-03-12 09:09:58 +00:00
d105f18ef3
Accepting request 1250467 from X11:Wayland
Ana Guerrero2025-03-06 13:48:51 +00:00
8dadce513e
- Updated to 3.2.0: * Added fcft_from_name2, allowing you to instantiate fonts and override certain rendering defaults. * Added fcft_font_options_create and fcft_font_options_destroy, to be used with the new fcft_from_name2. * fcft can now decode color glyphs from sRGB to linear, and optionally render to higher precision pixman surfaces. See the new fcft_from_name2 and fcft_font_options_create(). * Unicode codepoints with the emoji components tag are no longer treated as emojis, when selecting font. This fixes an issue where e.g. 0..9 were loaded from a fallback font instead of the primary font, if the primary font had the emoji language bit set. * Deprecated fcft_set_emoji_presentation - use fcft_from_name2 instead. * Fixed undefined behavior when using copies of mtx_t and pthread_rwlock_t objects. * Enable building tests and install additional build dependencies so that tests are actually built and run.
Arnav Singh
2025-03-05 16:10:34 +00:00
1ef736a8e3
Accepting request 1234597 from X11:Wayland
Ana Guerrero2025-01-05 14:28:45 +00:00
fd6c636c47
- Update to 3.1.10: * Unicode data files updated to 16.0 * Character (terminal) width is now evaluated using utf8proc_charwidth instead of wcwdith.
Arnav Singh
2025-01-02 17:16:27 +00:00
3455fb460b
Accepting request 1217386 from X11:Wayland
Ana Guerrero2024-10-24 13:42:57 +00:00
162dad4661
Use signed source tarball.
Arnav Singh
2024-10-23 15:34:25 +00:00
4ab7172887
- Update to 3.1.9: * Unicode data files updated to 15.1 * FCFT_LOG_COLORIZE_AUTO now respects the NO_COLOR environment variable. * SVG glyphs are now centered on the line. * Fixed logs to respect specified log level. * Fcft now automatically ensures the LC_NUMERIC locale is correctly configured for FcNameParse(). * Failure to look up font name is now logged. * Now built against distribution nanosvg.
Arnav Singh
2024-10-23 15:26:18 +00:00
8054401f5f
Accepting request 1151907 from X11:Wayland
Ana Guerrero2024-02-26 18:50:34 +00:00
90a6c01cba
- Update to 3.1.8: * Fixed setting font size to do it in points instead of pixels so that it works with fractional pixel sizes.
Arnav Singh
2024-02-26 17:47:17 +00:00
74f57bd3b3
Accepting request 1133265 from X11:Wayland
Ana Guerrero2023-12-15 20:49:44 +00:00
cf38997511
- Update to 3.1.7: * Fixed infinite loop on certain invalid fontfeatures values.
Arnav Singh
2023-12-15 08:48:26 +00:00
f749096ccc
Accepting request 1098717 from X11:Wayland
Ana Guerrero2023-07-17 17:23:07 +00:00
ef1c7ece2e
- Update to 3.1.5: * SVG fonts now ignore user transformations instead of failing with "unimplemented feature". * Updated glyph advance width calculation for Harfbuzz 5.2 changes. The new calculation is incompatible with Harfbuzz 5.1 and earlier, so required version of Harfbuzz has been increased to 5.2.
Arnav Singh
2022-09-23 22:11:35 +00:00
bbd550a86b
- Update to 3.1.3: * Fixed bitmap font glyph advance width calculation when the user has enabled 10-scale-bitmap-fonts.conf in fontconfig. - Fix libfcft package missing license file, and remove redundant copy of doc files and license in $datadir/doc/fcft/
Arnav Singh
2022-08-22 18:38:15 +00:00
3d59ab6849
- Update to 3.1.1: * Added OT-SVG support using a bundled nanosvg as backend. FCFT_CAPABILITY_SVG has been added to fcft_capabilities to detect this. * Fixed fcft_font::name, and fcft_glyph::font_name not being set correctly for font collections (e.g. *.ttc files). * Fixed assertion inside HarfBuzz with fcft_rasterize_grapheme_ut32 when rasterizing a glyph fails. - Set all options and features explicitly instead of relying on auto-detection to ensure build fails if dependencies change.
Arnav Singh
2022-05-01 20:44:08 +00:00
46da671458
- Update to 3.0.1: * Added fcft_font.name member for the name of the primary font. * Added fcft_glyph.font_name member for the name of the font that the glyph was loaded from. * Added fcft_init and fcft_fini to initialize and deinitialize the library, which must now be called explicitly. Also, fcft_log_init has been removed, and logging is now initialized by fcft_init. * All wchar_t usage has been replaced with uint32_t. Also, fcft_{glyph,grapheme,text_run}_rasterize have been renamed to fcft_rasterize_{char,grapheme,text_run}_utf32 to emphasize this. * fcft_rasterize_grapheme_utf32 no longer accepts layout tags, unlike its predecessor fcft_grapheme_rasterize. They should be set using fontfeature when calling fcft_from_name. * Removed fcft_size_adjust. * Removed fcft_font.space_advance member. * Fixed bug in fcft_rasterize_text_run_utf32 due to uninitialized variable.
Arnav Singh
2022-02-05 23:26:31 +00:00
955e6b8ff1
- Update to 2.5.1: * fcft_set_scaling_filter now applies to color bitmap fonts only, ie emoji fonts. * Fixed incorrect value of FCFT_SCALING_FILTER_CUBIC constant. * Fixed pixman errors and program freezes when scaling bitmap fonts to very small sizes.
Arnav Singh
2021-12-08 20:33:08 +00:00
4404d195db
- Update to 2.5.0: * Added fcft_set_emoji_presentation that can be used to override emojis' default presentation style. * Changed fcft_*_rasterize so that emoji's default presentation is now accounted for when searching for a font containing the emoji codepoint, codepoints whose default presentation is "text" will no longer consider emoji fonts, and codepoints whose default presentation is "emoji" will no longer consider non-emoji fonts. * Improved handling of RTL scripts in fcft_text_run_rasterize
Arnav Singh
2021-11-13 12:37:41 +00:00
9f181769f4
- Update to 2.4.6: * Updated UnicodeData to 14.0 * Fixed fcft_glyph.wc to be the Unicode codepoint instead of font index. * Fixed assertion in glyph_cache_resize when rasterizing a large amount of code points. * Fixed bad performance of grapheme cache when rasterizing many grapheme clusters.
Arnav Singh
2021-10-26 05:41:29 +00:00
3e2e72ecb4
Accepting request 912100 from X11:Wayland
Richard Brown
2021-08-16 08:11:47 +00:00
0df2a52ecf
- Update to 2.4.5: * Fixed fcft_text_run_rasterize not checking if codepoint is in the font’s charset before attempting shaping. * Fixed crash when destroying a font with a grapheme cache entry representing a failed grapheme glyph.
Arnav Singh
2021-08-14 16:45:27 +00:00
476903a26c
- Update to 2.4.3: * Fixed bitmap/aliased font glyphs being mirrored on big-endian architectures. * Fixed color font glyphs having wrong colors on big-endian architectures. * Fixed crash when destroying a font that failed to load (typically happens when there are no fonts available at all).
Arnav Singh
2021-07-18 17:03:31 +00:00
f61cd3c533
- Update to 2.4.1: * Log messages are now printed to stderr instead of stdout. * fcft_grapheme_rasterize() now sets a minimum grapheme column count of 2 when the cluster ends with an Emoji variant selector (codepoint 0xFE0F). * Fixed compilation error when fallback definition for FCFT_EXPORT was used in meson.build.
Arnav Singh
2021-07-01 19:51:28 +00:00