./fonts/R-textshaping, Bindings to the HarfBuzz and Fribidi Libraries for Text Shaping

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.0.0, Package name: R-textshaping-1.0.0, Maintainer: pkgsrc-users

Provides access to the text shaping functionality in the 'HarfBuzz'
library and the bidirectional algorithm in the 'Fribidi' library.
'textshaping' is a low-level utility package mainly for graphic
devices that expands upon the font tool-set provided by the
'systemfonts' package.


Required to run:
[converters/fribidi] [graphics/freetype2] [math/R] [fonts/harfbuzz] [lang/R-cpp11] [fonts/R-systemfonts]

Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2025-02-08 09:12:35 by Makoto Fujiwara | Files touched by this commit (2)
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
   2023-11-12 14:24:43 by Thomas Klausner | Files touched by this commit (2570)
Log message:
*: revebump for new brotli option for freetype2

Addresses PR 57693
   2023-01-29 22:18:34 by Ryo ONODERA | Files touched by this commit (2527)
Log message:
*: Recursive revbup from graphics/freetype2
   2022-12-17 15:53:22 by Makoto Fujiwara | Files touched by this commit (1)
Log message:
(fonts/R-textshaping) Add new file buildlink3.mk
   2022-12-17 15:35:09 by Makoto Fujiwara | Files touched by this commit (3)
Log message:
fonts/R-textshaping: import R-textshaping-0.3.6

Provides access to the text shaping functionality in the 'HarfBuzz'
library and the bidirectional algorithm in the 'Fribidi' library.
'textshaping' is a low-level utility package mainly for graphic
devices that expands upon the font tool-set provided by the
'systemfonts' package.