Hi all
On -current (#562), R's X11cairo device doesn't render the default font properly, I get the "hex number inside a square" characters, instead, e.g.: > plot(density(rnorm(1000))) According to X11.options(), the default fonts are -adobe-helvetica and -adobe-symbol-medium: > X11.options()$fonts [1] "-adobe-helvetica-%s-%s-*-*-%d-*-*-*-*-*-*-*" [2] "-adobe-symbol-medium-r-*-*-%d-*-*-*-*-*-*-*" which are properly rendered by xfontsel, so I think this is strictly Cairo-related. If the device is initialized with a different font, all text is properly rendered: > dev.new(family = 'DejaVu Sans') > plot(density(rnorm(1000)) The pdf() device also seems to work properly (with its default font) i.e. > pdf() > plot(density(rnorm(1000)) > dev.off() produces a PDF which is rendered properly by mupdf on the same machine. --
