mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 06:07:00 +02:00
pango: update to 1.50.12
This commit is contained in:
parent
5413a10e27
commit
e035eb0633
2 changed files with 4 additions and 25 deletions
|
@ -1,21 +0,0 @@
|
|||
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
|
||||
index a1c47203..b8eeede0 100644
|
||||
--- a/pango/pango-layout.c
|
||||
+++ b/pango/pango-layout.c
|
||||
@@ -5707,13 +5707,14 @@ pango_layout_run_get_extents_and_height (PangoLayoutRun *run,
|
||||
}
|
||||
else
|
||||
{
|
||||
- double xscale, yscale;
|
||||
+ double xscale = 0, yscale = 0;
|
||||
|
||||
if (!metrics)
|
||||
metrics = pango_font_get_metrics (run->item->analysis.font,
|
||||
run->item->analysis.language);
|
||||
|
||||
- pango_font_get_scale_factors (run->item->analysis.font, &xscale, &yscale);
|
||||
+ if (G_LIKELY(run->item->analysis.font))
|
||||
+ pango_font_get_scale_factors (run->item->analysis.font, &xscale, &yscale);
|
||||
*height = pango_font_metrics_get_height (metrics) * MAX (xscale, yscale);
|
||||
}
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'pango'
|
||||
pkgname=pango
|
||||
version=1.50.10
|
||||
revision=2
|
||||
version=1.50.12
|
||||
revision=1
|
||||
build_style=meson
|
||||
build_helper=gir
|
||||
configure_args="-Dintrospection=$(vopt_if gir enabled disabled)"
|
||||
|
@ -13,8 +13,8 @@ maintainer="cinerea0 <cinerea0@protonmail.com>"
|
|||
license="LGPL-2.1-or-later"
|
||||
homepage="https://www.pango.org/"
|
||||
changelog="https://gitlab.gnome.org/GNOME/pango/-/raw/main/NEWS"
|
||||
distfiles="${GNOME_SITE}/pango/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||
checksum=7e5d2f1e40854d24a9a2c4d093bafe75dcdbeccdf1de43e4437332eabed64966
|
||||
distfiles="${GNOME_SITE}/pango/${version%.*}/pango-${version}.tar.xz"
|
||||
checksum=caef96d27bbe792a6be92727c73468d832b13da57c8071ef79b9df69ee058fe3
|
||||
make_check=no # doesn't pass its own tests
|
||||
|
||||
# Package build options
|
||||
|
|
Loading…
Add table
Reference in a new issue