Skip to content
Prev 58266 / 63424 Next

Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds?

On 31/03/20 10:12 am, I?aki Ucar wrote:
I think R will retain the idea of a separate symbol font in at least the 
short term because of backward compatibility and cross-platform support 
and support for a range of graphics devices.  So this fix is just for 
cairo-based devices on Linux at most (probably only Fedora).

So this becomes just a decision about user interface and default settings.

I did consider the option of allowing the existing "family" parameter to 
be length-two (with the second one being an optional symbol font 
specification), but because of the overlaps of X11/cairo and different 
cairo-based device interfaces, this became awkward.  Hence the separate 
"symbolfamily" interface.  And in any case, this still means a separate 
"symbol" font specification (for the reasons above).

Regarding changing to a default symbolfamily=family on Linux generally 
(rather than just on Fedora), I have at least one counter-example (my 
Ubuntu 18.04) that shows that this would degrade output significantly. 
For one, the symbols are a LOT uglier, plus there are some incorrect 
glyphs.  So I think we have to stay with treating Fedora as a special 
case for now.

Thanks for your point about just using symbolfamily=family as the Fedora 
default.  That seems reasonable (and definitely better than it just 
being completely broken!).

That does still leave the problem of how to set the default value for 
"symbolfamily" JUST on Fedora.   I am not convinced we can use R code to 
detect Fedora >= 30 reliably (but happy to learn otherwise).  Is it a 
possibility for the Fedora distribution to include a .Rprofile.site file 
that sets the X11.options() ?

Paul

Thread (21 messages)

Gavin Simpson Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds? Mar 24 Iñaki Ucar Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds? Mar 25 Nicolas Mailhot Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds? Mar 25 Gavin Simpson Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds? Mar 25 Iñaki Ucar Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds? Mar 27 Paul Murrell Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds? Mar 29 Iñaki Ucar Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds? Mar 29 Paul Murrell Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds? Mar 29 Gabriel Becker Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds? Mar 29 Iñaki Ucar Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds? Mar 30 Nicolas Mailhot Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds? Mar 30 Paul Murrell Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds? Mar 30 Paul Murrell Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds? Mar 30 Iñaki Ucar Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds? Mar 30 Paul Murrell Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds? Mar 30 Nicolas Mailhot Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds? Mar 30 Paul Murrell Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds? Mar 30 Paul Murrell Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds? Mar 30 Nicolas Mailhot Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds? Mar 31 Iñaki Ucar Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds? Mar 31 Martin Maechler Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds? Mar 31