[Rd] Undocumented 4.2.0 changes in grid text handling?

Jan Netík net|kj@ @end|ng |rom gm@||@com
Thu Apr 21 17:38:42 CEST 2022

Hello everyone,

I've been testing R 4.2.0 release candidates for some time and have spotted
a few changes that are not documented in
general R NEWS, nor in this blogpost

In R 4.1.3, grid::gpar(fontface= "bold") results in a gpar "list" with
$fontface and (legacy?) $font entries, but in R 4.2.0, there is only $font.
In the manual, font is described only for backward compatibility.

I think there are more possibly subtle changes around text rendering
because bold fontface and inter-word spacing in the package {gridtext}
happened to stop working, see the issue at
https://github.com/wilkelab/gridtext/issues/24. Turns out it is pretty hard
to debug and to solve. Do you have some hints about other changes in grid
that could explain so different behaviour?

Many thanks and kind regards!

	[[alternative HTML version deleted]]

More information about the R-devel mailing list