pkgsrc-Changes archive

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

CVS commit: pkgsrc/fonts/R-textshaping



Module Name:    pkgsrc
Committed By:   mef
Date:           Sat Feb  8 08:12:35 UTC 2025

Modified Files:
        pkgsrc/fonts/R-textshaping: Makefile distinfo

Log Message:
(fonts/R-textshaping) Updated 0.3.6 to 1.0.0, make test passed

# textshaping 1.0.0

* Added `lorem_text()` and `lorem_bidi()` for generating nonsense text in
  various scripts
* Added `plot_shape()` to plot the result of a shaping along with the metrics
* Rewrite of the shaping engine to honor global direction of text. It introduces
  a `direction` argument to `shape_text()` that defaults to `auto`, meaning that
  it is deduced from the content of the shaped text. `align` gets two new
  settings that responds to the global direction of the text. `"auto"` will
  chose between `"left"` and `"right"` and `"justified"` will choose between
  `"justified-left"` and `"justified-right"` depending of the global direction
  is ltr or rtl. Lastly the soft break locations are now based on ICU and thus
  better support ideographic scripts such as Han/Kanji/Hangul.
* Textshaping now properly supports soft hyphens in that a hyphen is rendered if
  a soft-wrap happens at a soft hyphen (#52)

# textshaping 0.4.1

* Make compiled code somewhat less assumptive about the correctness of the input
* Fix a bug from too agressive early exiting shaping of strings with no max
  width (#45)
* Fixed a mismatch between the default values of the `width` argument in
  `shape_text()` and `systemfonts::match_fonts()` (#44)
* Updated `text_width()` to take the same inputs as `shape_text()`

# textshaping 0.4.0

* Full rewrite of `shape_text()` to allow proper font-fallback, bidi text
  support, support for font-features, spacers, new align settings, etc.

# textshaping 0.3.7

* Prepare for Arm Windows


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/fonts/R-textshaping/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/fonts/R-textshaping/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/fonts/R-textshaping/Makefile
diff -u pkgsrc/fonts/R-textshaping/Makefile:1.3 pkgsrc/fonts/R-textshaping/Makefile:1.4
--- pkgsrc/fonts/R-textshaping/Makefile:1.3     Sun Nov 12 13:21:25 2023
+++ pkgsrc/fonts/R-textshaping/Makefile Sat Feb  8 08:12:35 2025
@@ -1,14 +1,26 @@
-# $NetBSD: Makefile,v 1.3 2023/11/12 13:21:25 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2025/02/08 08:12:35 mef Exp $
 
 R_PKGNAME=     textshaping
-R_PKGVER=      0.3.6
-PKGREVISION=   2
+R_PKGVER=      1.0.0
 CATEGORIES=    fonts
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 COMMENT=       Bindings to the 'HarfBuzz' and 'Fribidi' Libraries for Text Shaping
 LICENSE=       mit     # + file LICENSE
 
+DEPENDS+=      R-stringi-[0-9]*:../../textproc/R-stringi
+
+TEST_DEPENDS+= R-covr-[0-9]*:../../devel/R-covr
+TEST_DEPENDS+= R-knitr-[0-9]*:../../print/R-knitr
+TEST_DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown
+TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat
+
+TEST_DEPENDS+= tex-ec-[0-9]*:../../fonts/tex-ec
+TEST_DEPENDS+= tex-inconsolata-[0-9]*:../../fonts/tex-inconsolata
+TEST_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
+TEST_DEPENDS+= tex-url-[0-9]*:../../print/tex-url
+TEST_DEPENDS+= tex-xkeyval-[0-9]*:../../print/tex-xkeyval
+
 USE_TOOLS+=    pkg-config
 USE_LANGUAGES= c c++
 

Index: pkgsrc/fonts/R-textshaping/distinfo
diff -u pkgsrc/fonts/R-textshaping/distinfo:1.1 pkgsrc/fonts/R-textshaping/distinfo:1.2
--- pkgsrc/fonts/R-textshaping/distinfo:1.1     Sat Dec 17 14:35:09 2022
+++ pkgsrc/fonts/R-textshaping/distinfo Sat Feb  8 08:12:35 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2022/12/17 14:35:09 mef Exp $
+$NetBSD: distinfo,v 1.2 2025/02/08 08:12:35 mef Exp $
 
-BLAKE2s (R/textshaping_0.3.6.tar.gz) = 301739928ebff95575958f0f0bd37afb2236d3cf8a5baf7583cb0dbca577a1f7
-SHA512 (R/textshaping_0.3.6.tar.gz) = 191e3c467f7a27dc7f1df3c7aa01ebc19314b72787493e2ebc5e2b5d3a76d825c4155d69a1d119a97f8076cd525fdf4453e3227feb7b8e5d049ea58b8ebf5847
-Size (R/textshaping_0.3.6.tar.gz) = 35722 bytes
+BLAKE2s (R/textshaping_1.0.0.tar.gz) = ed9cca654d9f95bc39784a6b3f582f49bdd924ef989a20377c648b58a7795ea9
+SHA512 (R/textshaping_1.0.0.tar.gz) = 1ab864aaa843f10dddd0159bd07d15848a8de958b16342e52e38ac9d8f623fe1f6cb27ef38cc1f0744735fe37eaaf70c33b8de5eefeaada0eefb604af7eac6dd
+Size (R/textshaping_1.0.0.tar.gz) = 75510 bytes



Home | Main Index | Thread Index | Old Index