Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package fcft for openSUSE:Factory checked in 
at 2022-05-20 17:50:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fcft (Old)
 and      /work/SRC/openSUSE:Factory/.fcft.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fcft"

Fri May 20 17:50:38 2022 rev:13 rq:978164 version:3.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/fcft/fcft.changes        2022-05-02 
16:25:12.776814415 +0200
+++ /work/SRC/openSUSE:Factory/.fcft.new.1538/fcft.changes      2022-05-20 
17:51:08.595248797 +0200
@@ -1,0 +2,7 @@
+Thu May 19 17:25:04 UTC 2022 - Arnav Singh <opens...@arnavion.dev>
+
+- Update to 3.1.2:
+  * Fixed SVG glyphs failing with ???bad argument??? if LCD subpixel rendering 
is
+    enabled.
+
+-------------------------------------------------------------------

Old:
----
  fcft-3.1.1.tar.gz

New:
----
  fcft-3.1.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ fcft.spec ++++++
--- /var/tmp/diff_new_pack.vJAOmW/_old  2022-05-20 17:51:09.859249948 +0200
+++ /var/tmp/diff_new_pack.vJAOmW/_new  2022-05-20 17:51:09.867249955 +0200
@@ -18,7 +18,7 @@
 
 %define libname libfcft4
 Name:           fcft
-Version:        3.1.1
+Version:        3.1.2
 Release:        0
 Summary:        A library for font loading and glyph rasterization using 
FreeType/pixman
 License:        MIT

++++++ fcft-3.1.1.tar.gz -> fcft-3.1.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcft/CHANGELOG.md new/fcft/CHANGELOG.md
--- old/fcft/CHANGELOG.md       2022-05-01 18:00:12.000000000 +0200
+++ new/fcft/CHANGELOG.md       2022-05-19 16:21:16.000000000 +0200
@@ -1,5 +1,6 @@
 # Changelog
 
+* [3.1.2](#3-1-2)
 * [3.1.1](#3-1-1)
 * [3.1.0](#3-1-0)
 * [3.0.1](#3-0-1)
@@ -33,14 +34,24 @@
 * [1.1.7](#1-1-7)
 
 
+## 3.1.2
+
+### Fixed
+
+* SVG glyphs failing with ???bad argument??? if LCD subpixel rendering is
+  enabled ([#1069][foot-1069]).
+
+[foot-1069]: https://codeberg.org/dnkl/foot/issues/1069
+
+
 ## 3.1.1
 
 ### Fixed
 
 * Crash when multiple SVG glyphs are rasterized in parallel (i.e. the
-  SVG backend is now thread safe) ([#51](51)).
+  SVG backend is now thread safe) ([#51][51]).
 * Crash when rasterizing SVG glyphs with transforms (e.g. synthetic
-  slanting). Transforms are now completely ignored ([#51](51)).
+  slanting). Transforms are now completely ignored ([#51][51]).
 
 [51]: https://codeberg.org/dnkl/fcft/issues/51
 
@@ -49,9 +60,9 @@
 
 ### Added
 
-* OT-SVG support ([#49](49)). Note that FreeType does not rasterize
+* OT-SVG support ([#49][49]). Note that FreeType does not rasterize
   SVG glyphs by itself. Instead, fcft does this via FreeType hooks,
-  using a bundled [nanosvg](nanosvg) as backend. Enabled by default,
+  using a bundled [nanosvg][nanosvg] as backend. Enabled by default,
   but can be disabled with `-Dsvg-backend=none`. FreeType >= 2.12 is
   required.
 * `FCFT_CAPABILITY_SVG` added to `fcft_capabilities()`.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcft/PKGBUILD new/fcft/PKGBUILD
--- old/fcft/PKGBUILD   2022-05-01 18:00:12.000000000 +0200
+++ new/fcft/PKGBUILD   2022-05-19 16:21:16.000000000 +0200
@@ -1,5 +1,5 @@
 pkgname=fcft
-pkgver=3.1.1
+pkgver=3.1.2
 pkgrel=1
 pkgdesc="Simple font loading and glyph rasterization library"
 changelog=CHANGELOG.md
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcft/doc/fcft_capabilities.3.scd 
new/fcft/doc/fcft_capabilities.3.scd
--- old/fcft/doc/fcft_capabilities.3.scd        2022-05-01 18:00:12.000000000 
+0200
+++ new/fcft/doc/fcft_capabilities.3.scd        2022-05-19 16:21:16.000000000 
+0200
@@ -1,4 +1,4 @@
-fcft_capabilities(3) "3.1.1" "fcft"
+fcft_capabilities(3) "3.1.2" "fcft"
 
 # NAME
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcft/doc/fcft_clone.3.scd 
new/fcft/doc/fcft_clone.3.scd
--- old/fcft/doc/fcft_clone.3.scd       2022-05-01 18:00:12.000000000 +0200
+++ new/fcft/doc/fcft_clone.3.scd       2022-05-19 16:21:16.000000000 +0200
@@ -1,4 +1,4 @@
-fcft_clone(3) "3.1.1" "fcft"
+fcft_clone(3) "3.1.2" "fcft"
 
 # NAME
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcft/doc/fcft_destroy.3.scd 
new/fcft/doc/fcft_destroy.3.scd
--- old/fcft/doc/fcft_destroy.3.scd     2022-05-01 18:00:12.000000000 +0200
+++ new/fcft/doc/fcft_destroy.3.scd     2022-05-19 16:21:16.000000000 +0200
@@ -1,4 +1,4 @@
-fcft_destroy(3) "3.1.1" "fcft"
+fcft_destroy(3) "3.1.2" "fcft"
 
 # NAME
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcft/doc/fcft_fini.3.scd new/fcft/doc/fcft_fini.3.scd
--- old/fcft/doc/fcft_fini.3.scd        2022-05-01 18:00:12.000000000 +0200
+++ new/fcft/doc/fcft_fini.3.scd        2022-05-19 16:21:16.000000000 +0200
@@ -1,4 +1,4 @@
-fcft_fini(3) "3.1.1" "fcft"
+fcft_fini(3) "3.1.2" "fcft"
 
 # NAME
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcft/doc/fcft_from_name.3.scd 
new/fcft/doc/fcft_from_name.3.scd
--- old/fcft/doc/fcft_from_name.3.scd   2022-05-01 18:00:12.000000000 +0200
+++ new/fcft/doc/fcft_from_name.3.scd   2022-05-19 16:21:16.000000000 +0200
@@ -1,4 +1,4 @@
-fcft_from_name(3) "3.1.1" "fcft"
+fcft_from_name(3) "3.1.2" "fcft"
 
 # NAME
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcft/doc/fcft_init.3.scd new/fcft/doc/fcft_init.3.scd
--- old/fcft/doc/fcft_init.3.scd        2022-05-01 18:00:12.000000000 +0200
+++ new/fcft/doc/fcft_init.3.scd        2022-05-19 16:21:16.000000000 +0200
@@ -1,4 +1,4 @@
-fcft_init(3) "3.1.1" "fcft"
+fcft_init(3) "3.1.2" "fcft"
 
 # NAME
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcft/doc/fcft_kerning.3.scd 
new/fcft/doc/fcft_kerning.3.scd
--- old/fcft/doc/fcft_kerning.3.scd     2022-05-01 18:00:12.000000000 +0200
+++ new/fcft/doc/fcft_kerning.3.scd     2022-05-19 16:21:16.000000000 +0200
@@ -1,4 +1,4 @@
-fcft_kerning(3) "3.1.1" "fcft"
+fcft_kerning(3) "3.1.2" "fcft"
 
 # NAME
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcft/doc/fcft_log_init.3.scd 
new/fcft/doc/fcft_log_init.3.scd
--- old/fcft/doc/fcft_log_init.3.scd    2022-05-01 18:00:12.000000000 +0200
+++ new/fcft/doc/fcft_log_init.3.scd    2022-05-19 16:21:16.000000000 +0200
@@ -1,4 +1,4 @@
-fcft_log_init(3) "3.1.1" "fcft"
+fcft_log_init(3) "3.1.2" "fcft"
 
 # NAME
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcft/doc/fcft_precompose.3.scd 
new/fcft/doc/fcft_precompose.3.scd
--- old/fcft/doc/fcft_precompose.3.scd  2022-05-01 18:00:12.000000000 +0200
+++ new/fcft/doc/fcft_precompose.3.scd  2022-05-19 16:21:16.000000000 +0200
@@ -1,4 +1,4 @@
-fcft_precompose(3) "3.1.1" "fcft"
+fcft_precompose(3) "3.1.2" "fcft"
 
 # NAME
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcft/doc/fcft_rasterize_char_utf32.3.scd 
new/fcft/doc/fcft_rasterize_char_utf32.3.scd
--- old/fcft/doc/fcft_rasterize_char_utf32.3.scd        2022-05-01 
18:00:12.000000000 +0200
+++ new/fcft/doc/fcft_rasterize_char_utf32.3.scd        2022-05-19 
16:21:16.000000000 +0200
@@ -1,4 +1,4 @@
-fcft_rasterize_char_utf32(3) "3.1.1" "fcft"
+fcft_rasterize_char_utf32(3) "3.1.2" "fcft"
 
 # NAME
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcft/doc/fcft_rasterize_grapheme_utf32.3.scd 
new/fcft/doc/fcft_rasterize_grapheme_utf32.3.scd
--- old/fcft/doc/fcft_rasterize_grapheme_utf32.3.scd    2022-05-01 
18:00:12.000000000 +0200
+++ new/fcft/doc/fcft_rasterize_grapheme_utf32.3.scd    2022-05-19 
16:21:16.000000000 +0200
@@ -1,4 +1,4 @@
-fcft_rasterize_grapheme_utf32(3) "3.1.1" "fcft"
+fcft_rasterize_grapheme_utf32(3) "3.1.2" "fcft"
 
 # NAME
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcft/doc/fcft_rasterize_text_run_utf32.3.scd 
new/fcft/doc/fcft_rasterize_text_run_utf32.3.scd
--- old/fcft/doc/fcft_rasterize_text_run_utf32.3.scd    2022-05-01 
18:00:12.000000000 +0200
+++ new/fcft/doc/fcft_rasterize_text_run_utf32.3.scd    2022-05-19 
16:21:16.000000000 +0200
@@ -1,4 +1,4 @@
-fcft_rasterize_text_run_utf32(3) "3.1.1" "fcft"
+fcft_rasterize_text_run_utf32(3) "3.1.2" "fcft"
 
 # NAME
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcft/doc/fcft_set_emoji_presentation.3.scd 
new/fcft/doc/fcft_set_emoji_presentation.3.scd
--- old/fcft/doc/fcft_set_emoji_presentation.3.scd      2022-05-01 
18:00:12.000000000 +0200
+++ new/fcft/doc/fcft_set_emoji_presentation.3.scd      2022-05-19 
16:21:16.000000000 +0200
@@ -1,4 +1,4 @@
-fcft_set_emoji_presentation(3) "3.1.1" "fcft"
+fcft_set_emoji_presentation(3) "3.1.2" "fcft"
 
 # NAME
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcft/doc/fcft_set_scaling_filter.3.scd 
new/fcft/doc/fcft_set_scaling_filter.3.scd
--- old/fcft/doc/fcft_set_scaling_filter.3.scd  2022-05-01 18:00:12.000000000 
+0200
+++ new/fcft/doc/fcft_set_scaling_filter.3.scd  2022-05-19 16:21:16.000000000 
+0200
@@ -1,4 +1,4 @@
-fcft_set_scaling_filter(3) "3.1.1" "fcft"
+fcft_set_scaling_filter(3) "3.1.2" "fcft"
 
 # NAME
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcft/doc/fcft_size_adjust.3.scd 
new/fcft/doc/fcft_size_adjust.3.scd
--- old/fcft/doc/fcft_size_adjust.3.scd 2022-05-01 18:00:12.000000000 +0200
+++ new/fcft/doc/fcft_size_adjust.3.scd 2022-05-19 16:21:16.000000000 +0200
@@ -1,4 +1,4 @@
-fcft_size_adjust(3) "3.1.1" "fcft"
+fcft_size_adjust(3) "3.1.2" "fcft"
 
 # NAME
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcft/doc/fcft_text_run_destroy.3.scd 
new/fcft/doc/fcft_text_run_destroy.3.scd
--- old/fcft/doc/fcft_text_run_destroy.3.scd    2022-05-01 18:00:12.000000000 
+0200
+++ new/fcft/doc/fcft_text_run_destroy.3.scd    2022-05-19 16:21:16.000000000 
+0200
@@ -1,4 +1,4 @@
-fcft_text_run_destroy(3) "3.1.1" "fcft"
+fcft_text_run_destroy(3) "3.1.2" "fcft"
 
 # NAME
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcft/fcft.c new/fcft/fcft.c
--- old/fcft/fcft.c     2022-05-01 18:00:12.000000000 +0200
+++ new/fcft/fcft.c     2022-05-19 16:21:16.000000000 +0200
@@ -1229,6 +1229,14 @@
         bgr = false;
     }
 
+#if FREETYPE_MAJOR >= 3 || (FREETYPE_MAJOR >= 2 && FREETYPE_MINOR >= 12)
+    if (inst->face->glyph->format == FT_GLYPH_FORMAT_SVG) {
+        /* Up to, and include, 2.12.1, FreeType rejects everything
+         * else with ???bad argument??? */
+        render_flags = FT_RENDER_MODE_NORMAL;
+    }
+#endif
+
     /*
      * LCD filter is per library instance, hence we need to re-set it
      * every time. But only if we need it, and only if we _can_, to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcft/meson.build new/fcft/meson.build
--- old/fcft/meson.build        2022-05-01 18:00:12.000000000 +0200
+++ new/fcft/meson.build        2022-05-19 16:21:16.000000000 +0200
@@ -1,5 +1,5 @@
 project('fcft', 'c',
-        version: '3.1.1',  # Don't forget to update version in man pages
+        version: '3.1.2',  # Don't forget to update version in man pages
         license: 'MIT',
         meson_version: '>=0.58.0',
         default_options: [
@@ -20,7 +20,7 @@
 so_version = [
   '4',      # MAJOR: increment on non-backward compatible ABI changes
   '1',      # MINOR: increment with backward compatible ABI changes
-  '1',      # PATCH: increment with non-ABI affecting changes
+  '2',      # PATCH: increment with non-ABI affecting changes
 ]
 
 is_debug_build = get_option('buildtype').startswith('debug')

Reply via email to