I apologize for not going in to too much detail-I didn't want to confuse people with the gory details of what I'm trying to do (trying to make a portable R installation bundled in to a mac app, among other things). I am on a mac, Mountain Lion. Anyhow, I figured out the problem was with the paths pango looks uses to search for font configuration files. I solved it by writing a script that sets these paths at run-time.
George On Apr 24, 2013, at 7:45 PM, David Winsemius <[email protected]> wrote: > > 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 > ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

