[R] fonts not rendering during plot

David Winsemius dwinsemius at comcast.net
Thu Apr 25 01:45:11 CEST 2013

On Apr 24, 2013, at 7:29 AM, George Dietz wrote:

> Hi,
> I am having a problem where sometimes fonts for text in plots don't get rendered-the text just shows up as boxes. If I call R from a certain directory the problem goes away, otherwise the fonts don't render (but plots get made). In both cases, my PANGO_RC and FONTCONFIG_FILE do not change…

Offering the OS details is more courteous than omitting them. (And there are several other courtesies expected of you listed in the Fine Posting Guide.) If this happens to be on a Mac, it may mean your screen fonts are corrupt. You can see their names with: names(quartzFonts()).  Using Fontbook.app will sometimes reveal that there are two copies of one of the screen graphics fonts and that one of them displays as blanks. These should be deleted with Fontbook.app.


David Winsemius
Alameda, CA, USA

More information about the R-help mailing list