Skip to content

Releases: r-lib/textshaping

textshaping 1.0.0

20 Jan 10:59
Compare
Choose a tag to compare
  • 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

09 Dec 09:36
44178e8
Compare
Choose a tag to compare
  • 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

27 May 07:04
Compare
Choose a tag to compare
  • 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

10 Oct 07:39
4530805
Compare
Choose a tag to compare
  • Prepare for Arm Windows

textshaping 0.3.6

13 Oct 11:58
Compare
Choose a tag to compare
  • Fix a bug in fallback font loading which would crash the process if the font
    failed to load (#23)
  • Fixed bug that would reset fallback to the original font for short strings
    (#25)

textshaping 0.3.5

09 Jun 13:56
d66e459
Compare
Choose a tag to compare
  • Address an UBCSAN issue in packages linking to textshaping
  • Remove a few compiler warnings

textshaping 0.3.4

11 May 12:10
9650d85
Compare
Choose a tag to compare
  • Prepare textshaping for UCRT support
  • Address upstream changes in cpp11

textshaping 0.3.3

17 Mar 19:45
Compare
Choose a tag to compare

textshaping 0.3.2

10 Mar 12:57
89f6f8b
Compare
Choose a tag to compare
  • Avoid overindexing fallbacks when no fallback is found

textshaping 0.3.1

22 Feb 19:49
4043fb7
Compare
Choose a tag to compare
  • Try to avoid ASAN issue reported by CRAN