pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/pango pango: Update to 1.50.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f8cd8d0d3a87
branches:  trunk
changeset: 375196:f8cd8d0d3a87
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Wed Mar 09 14:07:28 2022 +0000

description:
pango: Update to 1.50.5

* Update HOMEPAGE to follow redirect.

Changelog:
Overview of changes in 1.50.5, 03-03-2022
=========================================
* Fix compiler warnings
* Enable cairo by default
* pango-view: Show more baselines
* layout: Handle baselines
* Windows: build cleanups

Overview of changes in 1.50.4, 09-02-2022
=========================================
* Tweak synthetic space sizes
* itemize: Try harder to avoid NULL fonts
* docs: Some additions
* Pass synthetic slant to harfbuzz
* Make sloped carets work with uneven scales
* Fix serialiation on arm
* Avoid an uninitialized variable warning
* Reinstate previous behavior of pango_attr_list_splice
* Deprecated pango_coverage_ref/unref
* Fix serialization on non-glibc systems
* Fix allow-breaks handling

Overview of changes in 1.50.3, 21-12-2021
=========================================
* pango-view: Add --serialize-to option for easy bug reporting
* Revert a transformation change that broke metrics for vertical text
* Handle fonts without space glyph (such as icon fonts) better
* Fix some corner cases of line width accounting
* Fix line height with emulated Small Caps

Overview of changes in 1.50.2, 16-12-2021
=========================================
* Fix a problem with font fallback for Arabic
* Fix handling of fonts without a space glyph
* Various documentation improvements
* Fix build issues

Overview of changes in 1.50.1, 10-12-2021
=========================================
* Fix a crash in tab handling
* Fix tab positioning without line wrapping
* Fix an assertion failure found by fuzzing
* Make underlines work again for broken fonts

Overview of changes in 1.50.0, 02-12-2021
=========================================
* Fix glyph placement in gravity east
* Fix line heights in improper gravities
* Only shown selected ignorables with nicks
* Support tab alignments other than left
* Support custom decimal points on decimal tabs
* Fix a pango-view crash
* Optimize handling of many tabs
* Drop json-glib dependency

Overview of changes in 1.49.4, 27-11-2021
=========================================
* Require fontconfig 2.13
* Require harfbuzz 2.6
* Many fixes to line breaking accuracy
* coretext: Correctly clamp text weights at min/max values
* Add serialization api for PangoLayout, PangoFont and PangoAttrList
* Require json-glib
* tests: Use serialized layouts for test cases
* tests: Include fonts in git
* pango-view: Accept serialized layouts
* Fix a rounding problem with font metrics
* Fix visible space display using ␣

Overview of changes in 1.49.3
=============================
* Fix hinting of glyph metrics
* Fix logical glyph extents in vertical gravities
* Visualize more default-ignorable glyphs
* Fix advance widths in transformed contexts
* Implement Small Caps and other casing variations

Overview of changes in 1.49.2
=============================
* Update Unicode data to Unicode 14
* Fix underlining of spaces
* Round font metrics when appropriate
* Fix some corner cases of cursor positioning
* Handle Catalan middle-dot in text segmentation

Overview of changes in 1.49.1
=============================
* Only recompute log attrs when needed
* Validate log attrs
* Fix conformance issues in Thai and Indic linebreaking
* Add pango_attr_break to support customizing line and word breaks
* Add font-dependent baseline shifts and sizing for super- and subscripts
* Improve hyphenation support
* pango-view: Visualize caret positions and slopes
* pango-view: Show glyph rects
* pango-view: Make --annotate easier to use
* Add pango_layout_get_caret_pos to support sloped carets
* Improve caret positioning for ligatures
* Better under- and overline placement
* layout: Allocate a bit less
* layout: Fix cluster extents with rise
* Add pango_layout_iter_get_run_baseline
* Add pango_glyph_string_index_to_x_full
* coretext: Set size on font descriptions
* Add color information to PangoGlyphVisAttr

Overview of changes in 1.49.0
=============================
* Rename git `master` branch to `main` (#579)
* Bump version to 1.49
* Require fribidi 1.0.6
* Fix threadsafety issues with Thai
* Fix a rounding problem on i386
* Fix font choice for ellipsis (#575)
* New api: pango_font_get_languages
* New api: Introspection helpers for attributes (#476)
* Ignore width in horizontal context when itemizing (#503)
* markup: Allow specifying size and rise in points (#67)
* markup: Allow specifying size as percentage (#23)
* Rewrite pango_layout_move_cursor_visually (#157, #585, #587)
* Add a line-height attribute and make logical line extents respect it
* Add pango_justify_last_line (#74)
* Add pango_shape_item
* Add a text-transform attribute and implement it
* Clean up fribidi api usage
* Fix a bug in the gravity data table (#597)
* pango-view: Improve the --annotate option
* Fix a possible crash in rendering strikethroughs (#599)

diffstat:

 devel/pango/Makefile                                    |   6 +-
 devel/pango/PLIST                                       |  13 ++-
 devel/pango/distinfo                                    |   9 +-
 devel/pango/patches/patch-pango_pangocoretext-fontmap.c |  46 -----------------
 4 files changed, 15 insertions(+), 59 deletions(-)

diffs (141 lines):

diff -r b73ee897f425 -r f8cd8d0d3a87 devel/pango/Makefile
--- a/devel/pango/Makefile      Wed Mar 09 09:10:16 2022 +0000
+++ b/devel/pango/Makefile      Wed Mar 09 14:07:28 2022 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.248 2022/02/15 10:12:55 adam Exp $
+# $NetBSD: Makefile,v 1.249 2022/03/09 14:07:28 ryoon Exp $
 
-DISTNAME=      pango-1.48.11
+DISTNAME=      pango-1.50.5
 CATEGORIES=    devel fonts
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/pango/${PKGVERSION_NOREV:R}/}
 EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://www.pango.org/
+HOMEPAGE=      https://pango.gnome.org/
 COMMENT=       Library for layout and rendering of text
 LICENSE=       gnu-lgpl-v2
 
diff -r b73ee897f425 -r f8cd8d0d3a87 devel/pango/PLIST
--- a/devel/pango/PLIST Wed Mar 09 09:10:16 2022 +0000
+++ b/devel/pango/PLIST Wed Mar 09 14:07:28 2022 +0000
@@ -1,10 +1,11 @@
-@comment $NetBSD: PLIST,v 1.82 2022/02/15 10:12:55 adam Exp $
+@comment $NetBSD: PLIST,v 1.83 2022/03/09 14:07:28 ryoon Exp $
 bin/pango-list
 bin/pango-segmentation
 bin/pango-view
 include/pango-1.0/pango/pango-attributes.h
 include/pango-1.0/pango/pango-bidi-type.h
 include/pango-1.0/pango/pango-break.h
+include/pango-1.0/pango/pango-color.h
 include/pango-1.0/pango/pango-context.h
 include/pango-1.0/pango/pango-coverage.h
 include/pango-1.0/pango/pango-direction.h
@@ -13,6 +14,7 @@
 include/pango-1.0/pango/pango-features.h
 include/pango-1.0/pango/pango-font.h
 include/pango-1.0/pango/pango-fontmap.h
+include/pango-1.0/pango/pango-fontset-simple.h
 include/pango-1.0/pango/pango-fontset.h
 include/pango-1.0/pango/pango-glyph-item.h
 include/pango-1.0/pango/pango-glyph.h
@@ -20,6 +22,7 @@
 include/pango-1.0/pango/pango-item.h
 include/pango-1.0/pango/pango-language.h
 include/pango-1.0/pango/pango-layout.h
+include/pango-1.0/pango/pango-markup.h
 include/pango-1.0/pango/pango-matrix.h
 include/pango-1.0/pango/pango-modules.h
 include/pango-1.0/pango/pango-ot.h
@@ -45,16 +48,16 @@
 ${PLIST.x11}lib/girepository-1.0/PangoXft-1.0.typelib
 lib/libpango-1.0.so
 lib/libpango-1.0.so.0
-lib/libpango-1.0.so.0.4800.11
+lib/libpango-1.0.so.0.5000.5
 lib/libpangocairo-1.0.so
 lib/libpangocairo-1.0.so.0
-lib/libpangocairo-1.0.so.0.4800.11
+lib/libpangocairo-1.0.so.0.5000.5
 lib/libpangoft2-1.0.so
 lib/libpangoft2-1.0.so.0
-lib/libpangoft2-1.0.so.0.4800.11
+lib/libpangoft2-1.0.so.0.5000.5
 ${PLIST.x11}lib/libpangoxft-1.0.so
 ${PLIST.x11}lib/libpangoxft-1.0.so.0
-${PLIST.x11}lib/libpangoxft-1.0.so.0.4800.11
+${PLIST.x11}lib/libpangoxft-1.0.so.0.5000.5
 lib/pkgconfig/pango.pc
 lib/pkgconfig/pangocairo.pc
 lib/pkgconfig/pangofc.pc
diff -r b73ee897f425 -r f8cd8d0d3a87 devel/pango/distinfo
--- a/devel/pango/distinfo      Wed Mar 09 09:10:16 2022 +0000
+++ b/devel/pango/distinfo      Wed Mar 09 14:07:28 2022 +0000
@@ -1,11 +1,10 @@
-$NetBSD: distinfo,v 1.134 2022/02/15 10:12:55 adam Exp $
+$NetBSD: distinfo,v 1.135 2022/03/09 14:07:28 ryoon Exp $
 
-BLAKE2s (pango-1.48.11.tar.xz) = efcfe5930e344f9476b90d66a4ef47a0e7397d96ab13f3038300ee4eef15cf8d
-SHA512 (pango-1.48.11.tar.xz) = b3199fcf9cbb794b717ec25a9a5a7181c61a3ef4a868dc062c83ac2cdfbe65eca72e0d6ebc5efaa9b79db837f4b20143dcfff0ff3dcc525535007366d042f426
-Size (pango-1.48.11.tar.xz) = 2922564 bytes
+BLAKE2s (pango-1.50.5.tar.xz) = daf8c629b301534e68148233fc15249be42379b903cf15f3f5710ef7b970a82a
+SHA512 (pango-1.50.5.tar.xz) = 6e898945ca9682ad113cea8a5702068d6141d39bc51a27093c6c1627c10825005155c73778cb5acab99551689dd1b47069f7d5ea102db11f00416ddcf747b8c6
+Size (pango-1.50.5.tar.xz) = 4291708 bytes
 SHA1 (patch-pango_pangocairo-coretextfont.c) = cfef0e1372d5770d5988af411d435ee87fdfd0bd
 SHA1 (patch-pango_pangocairo-coretextfontmap.c) = 395cb1f8472a319c4b1c58ea137e36452bc44cc6
-SHA1 (patch-pango_pangocoretext-fontmap.c) = dcac1ad8c187523f7ab30b105cf541a5e421130c
 SHA1 (patch-pango_pangocoretext-private.h) = 0d7d61cd7e7b9da34bf8a0d5d1c6e7734341cadf
 SHA1 (patch-pango_pangocoretext.c) = 465a66b5027c3dda5dd97c0cf33edebb4e173a1e
 SHA1 (patch-pango_pangocoretext.h) = d6817eb02f0020c102ab95d63202f9508a70e647
diff -r b73ee897f425 -r f8cd8d0d3a87 devel/pango/patches/patch-pango_pangocoretext-fontmap.c
--- a/devel/pango/patches/patch-pango_pangocoretext-fontmap.c   Wed Mar 09 09:10:16 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,46 +0,0 @@
-$NetBSD: patch-pango_pangocoretext-fontmap.c,v 1.2 2021/04/08 08:38:55 adam Exp $
-
-From 60df2b006e5d4553abc7bb5fe9a99539c91b0022 Mon Sep 17 00:00:00 2001
-From: Tom Schoonjans <Tom.Schoonjans%diamond.ac.uk@localhost>
-Date: Fri, 20 Jul 2018 12:30:34 +0100
-Subject: [PATCH] Revert "Restore scaling of CoreText fonts."
-
-This reverts commit f661cdbf8cfbdb2ba7241d8dfa4a579c6dfe0a94.
-
---- pango/pangocoretext-fontmap.c.orig 2018-08-06 02:47:22.000000000 +0000
-+++ pango/pangocoretext-fontmap.c
-@@ -806,7 +806,6 @@ get_context_matrix (PangoContext *contex
- /*
-  * Helper functions for PangoCoreTextFontsetKey
-  */
--static const double ppi = 72.0; /* typographic points per inch */
- 
- static double
- pango_core_text_font_map_get_resolution (PangoCoreTextFontMap *fontmap,
-@@ -818,7 +817,7 @@ pango_core_text_font_map_get_resolution 
-   /* FIXME: acquire DPI from CoreText using some deafault font */
-   g_warning ("FIXME: returning default DPI");
- 
--  return ppi;
-+  return 72.0;
- }
- 
- static int
-@@ -827,16 +826,8 @@ get_scaled_size (PangoCoreTextFontMap   
-                  const PangoFontDescription *desc)
- {
-   double size = pango_font_description_get_size (desc);
--  PangoMatrix *matrix = pango_context_get_matrix (context);
--  double scale_factor = pango_matrix_get_font_scale_factor (matrix);
--  
--  if (!pango_font_description_get_size_is_absolute(desc))
--  {
--    double dpi = pango_core_text_font_map_get_resolution (fontmap, context);
--    size *= (dpi/ppi);
--  }
- 
--  return .5 +  scale_factor * size;
-+  return .5 + pango_matrix_get_font_scale_factor (pango_context_get_matrix (context)) * size;
- }
- 
- 


Home | Main Index | Thread Index | Old Index