- Updated to 3.3.1:
* Fixed binary incompatibility with 3.2 and earlier.
- 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.
OBS-URL: https://build.opensuse.org/request/show/1253873
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fcft?expand=0&rev=23
* 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.
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=39
- 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.
OBS-URL: https://build.opensuse.org/request/show/1250467
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fcft?expand=0&rev=22
* 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.
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=37
- 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.
OBS-URL: https://build.opensuse.org/request/show/1217386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fcft?expand=0&rev=20
* 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.
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=31
* 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.
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=23
* 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/
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=19
- 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.
OBS-URL: https://build.opensuse.org/request/show/974220
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fcft?expand=0&rev=12
* 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.
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=15
- 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.
OBS-URL: https://build.opensuse.org/request/show/951809
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fcft?expand=0&rev=10
* 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.
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=13
* 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.
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=12
- 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
OBS-URL: https://build.opensuse.org/request/show/931251
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fcft?expand=0&rev=8
* 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
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=11
* 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.
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=10
* 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.
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=9
* 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).
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=7
* 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.
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fcft?expand=0&rev=4