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-08-23 14:29:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fcft (Old)
 and      /work/SRC/openSUSE:Factory/.fcft.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fcft"

Tue Aug 23 14:29:39 2022 rev:14 rq:998706 version:3.1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/fcft/fcft.changes        2022-05-20 
17:51:08.595248797 +0200
+++ /work/SRC/openSUSE:Factory/.fcft.new.2083/fcft.changes      2022-08-23 
14:29:52.651641543 +0200
@@ -1,0 +2,9 @@
+Mon Aug 22 18:19:13 UTC 2022 - Arnav Singh <[email protected]>
+
+- 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/
+
+-------------------------------------------------------------------

Old:
----
  fcft-3.1.2.tar.gz

New:
----
  fcft-3.1.3.tar.gz

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

Other differences:
------------------
++++++ fcft.spec ++++++
--- /var/tmp/diff_new_pack.CEeAAL/_old  2022-08-23 14:29:53.795643935 +0200
+++ /var/tmp/diff_new_pack.CEeAAL/_new  2022-08-23 14:29:53.823643994 +0200
@@ -18,7 +18,7 @@
 
 %define libname libfcft4
 Name:           fcft
-Version:        3.1.2
+Version:        3.1.3
 Release:        0
 Summary:        A library for font loading and glyph rasterization using 
FreeType/pixman
 License:        MIT
@@ -79,17 +79,18 @@
 
 %install
 %meson_install
+rm -r %{buildroot}/%{_datadir}/doc/%{name}/
 
 %post   -n %{libname} -p /sbin/ldconfig
 %postun -n %{libname} -p /sbin/ldconfig
 
 %files -n %{libname}
+%license LICENSE
 %{_libdir}/libfcft.so.*
 
 %files devel
 %license LICENSE
 %doc README.md CHANGELOG.md
-%{_datadir}/doc/%{name}/
 %{_includedir}/%{name}/
 %{_libdir}/libfcft.so
 %{_libdir}/pkgconfig/%{name}.pc

++++++ fcft-3.1.2.tar.gz -> fcft-3.1.3.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-19 16:21:16.000000000 +0200
+++ new/fcft/CHANGELOG.md       2022-08-22 14:47:56.000000000 +0200
@@ -1,5 +1,6 @@
 # Changelog
 
+* [3.1.3](#3-1-3)
 * [3.1.2](#3-1-2)
 * [3.1.1](#3-1-1)
 * [3.1.0](#3-1-0)
@@ -34,6 +35,16 @@
 * [1.1.7](#1-1-7)
 
 
+## 3.1.3
+
+### Fixed
+
+* Bitmap font glyph advance width calculation in
+  `fcft_rasterize_grapheme_utf32()` and
+  `fcft_rasterize_text_run_utf32()` when user had enabled
+  `10-scale-bitmap-fonts.conf` in FontConfig.
+
+
 ## 3.1.2
 
 ### Fixed
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcft/PKGBUILD new/fcft/PKGBUILD
--- old/fcft/PKGBUILD   2022-05-19 16:21:16.000000000 +0200
+++ new/fcft/PKGBUILD   2022-08-22 14:47:56.000000000 +0200
@@ -1,5 +1,5 @@
 pkgname=fcft
-pkgver=3.1.2
+pkgver=3.1.3
 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-19 16:21:16.000000000 
+0200
+++ new/fcft/doc/fcft_capabilities.3.scd        2022-08-22 14:47:56.000000000 
+0200
@@ -1,4 +1,4 @@
-fcft_capabilities(3) "3.1.2" "fcft"
+fcft_capabilities(3) "3.1.3" "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-19 16:21:16.000000000 +0200
+++ new/fcft/doc/fcft_clone.3.scd       2022-08-22 14:47:56.000000000 +0200
@@ -1,4 +1,4 @@
-fcft_clone(3) "3.1.2" "fcft"
+fcft_clone(3) "3.1.3" "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-19 16:21:16.000000000 +0200
+++ new/fcft/doc/fcft_destroy.3.scd     2022-08-22 14:47:56.000000000 +0200
@@ -1,4 +1,4 @@
-fcft_destroy(3) "3.1.2" "fcft"
+fcft_destroy(3) "3.1.3" "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-19 16:21:16.000000000 +0200
+++ new/fcft/doc/fcft_fini.3.scd        2022-08-22 14:47:56.000000000 +0200
@@ -1,4 +1,4 @@
-fcft_fini(3) "3.1.2" "fcft"
+fcft_fini(3) "3.1.3" "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-19 16:21:16.000000000 +0200
+++ new/fcft/doc/fcft_from_name.3.scd   2022-08-22 14:47:56.000000000 +0200
@@ -1,4 +1,4 @@
-fcft_from_name(3) "3.1.2" "fcft"
+fcft_from_name(3) "3.1.3" "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-19 16:21:16.000000000 +0200
+++ new/fcft/doc/fcft_init.3.scd        2022-08-22 14:47:56.000000000 +0200
@@ -1,4 +1,4 @@
-fcft_init(3) "3.1.2" "fcft"
+fcft_init(3) "3.1.3" "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-19 16:21:16.000000000 +0200
+++ new/fcft/doc/fcft_kerning.3.scd     2022-08-22 14:47:56.000000000 +0200
@@ -1,4 +1,4 @@
-fcft_kerning(3) "3.1.2" "fcft"
+fcft_kerning(3) "3.1.3" "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-19 16:21:16.000000000 +0200
+++ new/fcft/doc/fcft_log_init.3.scd    2022-08-22 14:47:56.000000000 +0200
@@ -1,4 +1,4 @@
-fcft_log_init(3) "3.1.2" "fcft"
+fcft_log_init(3) "3.1.3" "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-19 16:21:16.000000000 +0200
+++ new/fcft/doc/fcft_precompose.3.scd  2022-08-22 14:47:56.000000000 +0200
@@ -1,4 +1,4 @@
-fcft_precompose(3) "3.1.2" "fcft"
+fcft_precompose(3) "3.1.3" "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-19 
16:21:16.000000000 +0200
+++ new/fcft/doc/fcft_rasterize_char_utf32.3.scd        2022-08-22 
14:47:56.000000000 +0200
@@ -1,4 +1,4 @@
-fcft_rasterize_char_utf32(3) "3.1.2" "fcft"
+fcft_rasterize_char_utf32(3) "3.1.3" "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-19 
16:21:16.000000000 +0200
+++ new/fcft/doc/fcft_rasterize_grapheme_utf32.3.scd    2022-08-22 
14:47:56.000000000 +0200
@@ -1,4 +1,4 @@
-fcft_rasterize_grapheme_utf32(3) "3.1.2" "fcft"
+fcft_rasterize_grapheme_utf32(3) "3.1.3" "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-19 
16:21:16.000000000 +0200
+++ new/fcft/doc/fcft_rasterize_text_run_utf32.3.scd    2022-08-22 
14:47:56.000000000 +0200
@@ -1,4 +1,4 @@
-fcft_rasterize_text_run_utf32(3) "3.1.2" "fcft"
+fcft_rasterize_text_run_utf32(3) "3.1.3" "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-19 
16:21:16.000000000 +0200
+++ new/fcft/doc/fcft_set_emoji_presentation.3.scd      2022-08-22 
14:47:56.000000000 +0200
@@ -1,4 +1,4 @@
-fcft_set_emoji_presentation(3) "3.1.2" "fcft"
+fcft_set_emoji_presentation(3) "3.1.3" "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-19 16:21:16.000000000 
+0200
+++ new/fcft/doc/fcft_set_scaling_filter.3.scd  2022-08-22 14:47:56.000000000 
+0200
@@ -1,4 +1,4 @@
-fcft_set_scaling_filter(3) "3.1.2" "fcft"
+fcft_set_scaling_filter(3) "3.1.3" "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-19 16:21:16.000000000 +0200
+++ new/fcft/doc/fcft_size_adjust.3.scd 2022-08-22 14:47:56.000000000 +0200
@@ -1,4 +1,4 @@
-fcft_size_adjust(3) "3.1.2" "fcft"
+fcft_size_adjust(3) "3.1.3" "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-19 16:21:16.000000000 
+0200
+++ new/fcft/doc/fcft_text_run_destroy.3.scd    2022-08-22 14:47:56.000000000 
+0200
@@ -1,4 +1,4 @@
-fcft_text_run_destroy(3) "3.1.2" "fcft"
+fcft_text_run_destroy(3) "3.1.3" "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-19 16:21:16.000000000 +0200
+++ new/fcft/fcft.c     2022-08-22 14:47:56.000000000 +0200
@@ -830,11 +830,10 @@
 #if defined(LOG_ENABLE_DBG) && LOG_ENABLE_DBG
     LOG_DBG("%s: size=%.2fpt/%.2fpx, dpi=%.2f, fixup-factor: %.4f, "
             "line-height: %dpx, ascent: %dpx, descent: %dpx, "
-            "x-advance (max/space): %d/%dpx, features:%s",
+            "x-advance (max): %dpx, features:%s",
             font->path, size, pixel_size, dpi, font->pixel_size_fixup,
             font->metrics.height, font->metrics.ascent, font->metrics.descent,
-            font->metrics.max_advance.x, font->metrics.space_advance.x,
-            features);
+            font->metrics.max_advance.x, features);
 #else
     LOG_INFO("%s: size=%.2fpt/%dpx, dpi=%.2f%s",
              font->path, size, (int)round(pixel_size), dpi, features);
@@ -2242,8 +2241,10 @@
 
         glyph->public.x += pos[i].x_offset / 64. * inst->pixel_size_fixup;
         glyph->public.y += pos[i].y_offset / 64. * inst->pixel_size_fixup;
-        glyph->public.advance.x = pos[i].x_advance / 64. * 
inst->pixel_size_fixup;
-        glyph->public.advance.y = pos[i].y_advance / 64. * 
inst->pixel_size_fixup;
+        glyph->public.advance.x = pos[i].x_advance / 64.
+            * (inst->pixel_fixup_estimated ? inst->pixel_size_fixup : 1.);
+        glyph->public.advance.y = pos[i].y_advance / 64.
+            * (inst->pixel_fixup_estimated ? inst->pixel_size_fixup : 1.);
 
         grapheme->public.glyphs[glyph_idx++] = &glyph->public;
     }
@@ -2356,8 +2357,10 @@
         glyph->public.font_name = NULL;
         glyph->public.x += pos->x_offset / 64. * inst->pixel_size_fixup;
         glyph->public.y += pos->y_offset / 64. * inst->pixel_size_fixup;
-        glyph->public.advance.x = pos->x_advance / 64. * 
inst->pixel_size_fixup;
-        glyph->public.advance.y = pos->y_advance / 64. * 
inst->pixel_size_fixup;
+        glyph->public.advance.x = pos->x_advance / 64. *
+            (inst->pixel_fixup_estimated ? inst->pixel_size_fixup : 1.);
+        glyph->public.advance.y = pos->y_advance / 64. *
+            (inst->pixel_fixup_estimated ? inst->pixel_size_fixup : 1.);
 
         if (run->public->count >= run->size) {
             size_t new_glyphs_size = run->size * 2;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fcft/meson.build new/fcft/meson.build
--- old/fcft/meson.build        2022-05-19 16:21:16.000000000 +0200
+++ new/fcft/meson.build        2022-08-22 14:47:56.000000000 +0200
@@ -1,5 +1,5 @@
 project('fcft', 'c',
-        version: '3.1.2',  # Don't forget to update version in man pages
+        version: '3.1.3',  # 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
-  '2',      # PATCH: increment with non-ABI affecting changes
+  '3',      # PATCH: increment with non-ABI affecting changes
 ]
 
 is_debug_build = get_option('buildtype').startswith('debug')

Reply via email to