[R] fonts not rendering during plot

David Winsemius dwinsemius at comcast.net
Thu Apr 25 06:44:34 CEST 2013


On Apr 24, 2013, at 8:42 PM, George Dietz wrote:

> 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


You've slighted us. Kept us from our due. We LOVE gory OS and code details. Chop that chicken up. Throw dem bones.  Without the complete set of entrails our divinations are incomplete and we are unable to perform our wizardly deeds of daring-do.

-- 
David.

> (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 <dwinsemius at comcast.net> 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
>> 
> 

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list