Releases: r-lib/textshaping
Releases · r-lib/textshaping
textshaping 1.0.4
textshaping 1.0.3
- Fixed a signed integer overflow in the the fix for ragg#193
textshaping 1.0.2
- Fixed a bug in bidi embedding arrangement when shaping a single line
(ggplot2#6497) - Fixed a bug in shape caching due to a weak vector hash implementation
(ragg#193) - Fixed a bug in line positioning when line containes mix of different sizes
textshaping 1.0.1
- Fixed a bug where hard line breaks where ignored if the line consisted of
multiple embeddings (marquee#58) - Fixed a bug where newline characters would increase the width of a line and
lead to an empty line getting inserted in some situations (marquee#55)
textshaping 1.0.0
- Added
lorem_text()andlorem_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
adirectionargument toshape_text()that defaults toauto, meaning that
it is deduced from the content of the shaped text.aligngets 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
widthargument in
shape_text()andsystemfonts::match_fonts()(#44) - Updated
text_width()to take the same inputs asshape_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
textshaping 0.3.6
textshaping 0.3.5
- Address an UBCSAN issue in packages linking to textshaping
- Remove a few compiler warnings