An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20120206/65131af2/attachment.pl>
Lion, Quartz and text issue
4 messages · Manu N, David Winsemius
12 days later
On Feb 6, 2012, at 2:39 PM, Manu N wrote:
Hello, I'm running R.app on Mac OS X.7.3. I have an issue :
a = c(1,2,3) plot(a)
produces a plot on a quartz window but without any text (labels, etc.)
This has been reported multiple times on this list. It generally
means fonts used by that device have been corrupted. In this case you
should look to see what quartzFonts() produces and if the missing
text was the "sans" flavor:
> quartzFonts("sans")
$sans
[1] "Helvetica" "Helvetica-Bold" "Helvetica-Oblique"
[4] "Helvetica-BoldOblique"
Use Font Book.app to investigate. If I'm right, you will find a
(possibly duplicated) blank version for Helvetica. Delete it.
David.
>
>> a = c(1,2,3)
>> pdf("/Users/myhome/Desktop/test.pdf")
>> plot(a)
>> dev.off()
>
> produces the expected pdf file with axis labels, x values and y
> values.
>
> Here's some info on my system :
>
>> sessionInfo()
> R version 2.14.1 (2011-12-22)
> Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
>
> locale:
> [1] fr_FR.UTF-8/fr_FR.UTF-8/fr_FR.UTF-8/C/fr_FR.UTF-8/fr_FR.UTF-8
>
> attached base packages:
> [1] stats graphics grDevices utils datasets methods base
>
>> quartzFonts()
> $serif
> [1] "Times-Roman" "Times-Bold" "Times-Italic"
> [4] "Times-BoldItalic"
>
> $sans
> [1] "Helvetica" "Helvetica-Bold"
> [3] "Helvetica-Oblique" "Helvetica-BoldOblique"
>
> $mono
> [1] "Courier" "Courier-Bold" "Courier-Oblique"
> [4] "Courier-BoldOblique"
>
>
> Do you have any idea on what could cause this issue ?
> Thanks,
> Manuel
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
David Winsemius, MD
West Hartford, CT
Thanks David, I already read your answer on february 9 https://stat.ethz.ch/pipermail/r-sig-mac/2012-February/008999.html and sent an answer saying that your advice was the correct one. https://stat.ethz.ch/pipermail/r-sig-mac/2012-February/009000.html Manuel 2012/2/19 David Winsemius <dwinsemius at comcast.net>:
On Feb 6, 2012, at 2:39 PM, Manu N wrote:
Hello, I'm running R.app on Mac OS X.7.3. I have an issue :
a = c(1,2,3) plot(a)
produces a plot on a quartz window but without any text (labels, ?etc.)
This has been reported multiple times on this list. It generally means ?fonts used by that device have been corrupted. In this case you should look to see what quartzFonts() ?produces and if the missing text was the "sans" flavor:
quartzFonts("sans")
$sans [1] "Helvetica" ? ? ? ? ? ? "Helvetica-Bold" ? ? ? ?"Helvetica-Oblique" [4] "Helvetica-BoldOblique" Use Font Book.app to investigate. If I'm right, you will find a (possibly duplicated) blank version for Helvetica. Delete it. -- David.
a = c(1,2,3)
pdf("/Users/myhome/Desktop/test.pdf")
plot(a)
dev.off()
produces the expected pdf file with axis labels, x values and y values. Here's some info on my system :
sessionInfo()
R version 2.14.1 (2011-12-22) Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit) locale: [1] fr_FR.UTF-8/fr_FR.UTF-8/fr_FR.UTF-8/C/fr_FR.UTF-8/fr_FR.UTF-8 attached base packages: [1] stats ? ? graphics ?grDevices utils ? ? datasets ?methods ? base
quartzFonts()
$serif [1] "Times-Roman" ? ? ?"Times-Bold" ? ? ? "Times-Italic" [4] "Times-BoldItalic" $sans [1] "Helvetica" ? ? ? ? ? ? "Helvetica-Bold" [3] "Helvetica-Oblique" ? ? "Helvetica-BoldOblique" $mono [1] "Courier" ? ? ? ? ? ? "Courier-Bold" ? ? ? ?"Courier-Oblique" [4] "Courier-BoldOblique" Do you have any idea on what could cause this issue ? Thanks, Manuel ? ? ? ?[[alternative HTML version deleted]]
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
David Winsemius, MD West Hartford, CT
On Feb 19, 2012, at 1:50 PM, Manu N wrote:
Thanks David, I already read your answer on february 9 https://stat.ethz.ch/pipermail/r-sig-mac/2012-February/008999.html and sent an answer saying that your advice was the correct one. https://stat.ethz.ch/pipermail/r-sig-mac/2012-February/009000.html
Oh. I guess my memory for names is not so good. This posting first appeared in my mailer this morning. It seems to have gotten help up in "the Internet" for an unreasonably long time. I sort my mail by date received. I didn't notice the sent date. (It's also got a different Subject than the Feb 9 posting, so I think there is some evidence that you sent two separate messages.) Why it was held up by the mail server at phil3.ethz.ch for 2 weeks before sending on to the list is a mystery to me, but that is what the headers are telling me.
David
Received: from imta05.emeryville.ca.mail.comcast.net (LHLO
imta05.emeryville.ca.mail.comcast.net) (76.96.30.45) by
sz0008.wc.mail.comcast.net with LMTP; Sun, 19 Feb 2012 16:16:53 +0000
(UTC)
Received: from hypatia.math.ethz.ch ([129.132.145.15]) by
imta05.emeryville.ca.mail.comcast.net with comcast id
bsGp1i00r0L9E8105sGqAh; Sun, 19 Feb 2012 16:16:51 +0000
Received: from hypatia.math.ethz.ch (hypatia [129.132.145.15]) by
hypatia.math.ethz.ch (8.14.1/8.14.1) with ESMTP id q1JGGTZH031937;
Sun, 19 Feb 2012 17:16:45 +0100
Received: from phil3.ethz.ch (phil3.ethz.ch [129.132.183.132]) by
hypatia.math.ethz.ch (8.14.1/8.14.1) with ESMTP id q16JdQeP001840 for <r-sig-mac at r-project.org
>; Mon, 6 Feb 2012 20:39:26 +0100
Received: from mail-we0-f169.google.com ([74.125.82.169]) by
phil3.ethz.ch with esmtp (Exim 4.69) (envelope-from
<audionuma at gmail.com>) id 1RuUPN-0003yt-Bo for r-sig-mac at r-
project.org; Mon, 06 Feb 2012 20:39:26 +0100
Received: by wera13 with SMTP id a13so5120336wer.28 for <r-sig-mac at r-project.org
>; Mon, 06 Feb 2012 11:39:24 -0800 (PST)
Received: by 10.216.136.98 with SMTP id v76mr3902328wei.
17.1328557164230; Mon, 06 Feb 2012 11:39:24 -0800 (PST)
Received: by 10.180.85.37 with HTTP; Mon, 6 Feb 2012 11:39:24 -0800
(PST)
>
> Manuel
>
> 2012/2/19 David Winsemius <dwinsemius at comcast.net>:
>>
>> On Feb 6, 2012, at 2:39 PM, Manu N wrote:
>>
>>> Hello,
>>> I'm running R.app on Mac OS X.7.3.
>>> I have an issue :
>>>
>>>> a = c(1,2,3)
>>>> plot(a)
>>>
>>>
>>> produces a plot on a quartz window but without any text (labels,
>>> etc.)
>>
>>
>> This has been reported multiple times on this list. It generally
>> means
>> fonts used by that device have been corrupted. In this case you
>> should look
>> to see what quartzFonts() produces and if the missing text was the
>> "sans"
>> flavor:
>>
>>> quartzFonts("sans")
>> $sans
>> [1] "Helvetica" "Helvetica-Bold" "Helvetica-
>> Oblique"
>> [4] "Helvetica-BoldOblique"
>>
>> Use Font Book.app to investigate. If I'm right, you will find a
>> (possibly
>> duplicated) blank version for Helvetica. Delete it.
>>
>> --
>> David.
>>>
>>>
>>>> a = c(1,2,3)
>>>> pdf("/Users/myhome/Desktop/test.pdf")
>>>> plot(a)
>>>> dev.off()
>>>
>>>
>>> produces the expected pdf file with axis labels, x values and y
>>> values.
>>>
>>> Here's some info on my system :
>>>
>>>> sessionInfo()
>>>
>>> R version 2.14.1 (2011-12-22)
>>> Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
>>>
>>> locale:
>>> [1] fr_FR.UTF-8/fr_FR.UTF-8/fr_FR.UTF-8/C/fr_FR.UTF-8/fr_FR.UTF-8
>>>
>>> attached base packages:
>>> [1] stats graphics grDevices utils datasets methods base
>>>
>>>> quartzFonts()
>>>
>>> $serif
>>> [1] "Times-Roman" "Times-Bold" "Times-Italic"
>>> [4] "Times-BoldItalic"
>>>
>>> $sans
>>> [1] "Helvetica" "Helvetica-Bold"
>>> [3] "Helvetica-Oblique" "Helvetica-BoldOblique"
>>>
>>> $mono
>>> [1] "Courier" "Courier-Bold" "Courier-Oblique"
>>> [4] "Courier-BoldOblique"
>>>
>>>
>>> Do you have any idea on what could cause this issue ?
>>> Thanks,
>>> Manuel
>>>
>>> [[alternative HTML version deleted]]
>>>
>>> _______________________________________________
>>> R-SIG-Mac mailing list
>>> R-SIG-Mac at r-project.org
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>
>>
>> David Winsemius, MD
>> West Hartford, CT
>>
David Winsemius, MD
West Hartford, CT