Displaying 20 results from an estimated 5000 matches similar to: "Arial for pdf() on a Mac"
2012 Feb 09
1
Arial font in eps figures in R
Hi,
I am trying to create a graph using Arial font (as required by PLoS One). I have read probably all posts in R-help on this topic, as wells as R-news 2006.
The code I have been trying is following:
Arial <- Type1Font(family="Arial",
metrics=c("ArialMT.afm", "arial-BoldMT.afm", "Arial-ItalicMT.afm",
2011 Jul 03
1
using Arial font
To whom it may concern,
I am e-mailing you concerning the use of Arial Font in the program R and I
am using a mac.
I am trying to create graphs in R and the publisher I wish to publish an
article with needs the font to be Arial. I have tried looking around to find
out how to do this with no luck and must help on the topic is geared towards
Linux users - the only help available is from the PLoS
2010 Oct 28
2
How to enable Arial font for postcript/pdf figure on Windows?
Hi,
I need to generate some figure using the Arial font as a requirement for
PLoS.
Following their guidelines, I have converted the windows font files
arial.tff files to .afm using tff2afm (exec file from MikTeX), but when I
try to generate a postcript file, the postcript device does not recognize
the .afm files.
The code I use to test the new font is the following:
2003 Mar 14
1
Using Arial font in linux
Hi,
Late last year there was a thread on r-help about installing Arial
fonts on linux machines:
http://finzi.psych.upenn.edu/R/Rhelp02/archive/8548.html
I too would like to use Arial fonts in some R plots created on my
redhat machine. I've installed the TrueType fonts from
http://corefonts.sourceforge.net/ -- there is now a directory
/usr/share/fonts/msttcorefonts/ and xlsfonts reports
2009 May 12
1
times family unavailable in postscript device (Ubuntu Linux)
I'm running Ubuntu 9.04. I could use some advice about fonts in
postscript devices.
> sessionInfo()
R version 2.9.0 (2009-04-17)
i486-pc-linux-gnu
locale:
LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C
attached base
2009 Nov 17
3
CM Fonts in PDF output
Hi!
On Linux I try to produce pdf graphs with computer modern fonts so that they
look nice in LaTeX documents. I run for example:
------
CM <- Type1Font( "CM",
c("/usr/share/texmf-texlive/fonts/afm/public/cm-lgc/fcmr8a.afm",
"/usr/share/texmf-texlive/fonts/afm/public/cm-lgc/fcmb8a.afm",
"/usr/share/texmf-texlive/fonts/afm/public/cm-lgc/fcmri8a.afm",
2008 Sep 18
1
PDF fonts problem
Dear List,
I am writing a paper in Hungarian, that I Sweave and than pdfLaTeX.
Everything is fine, except for two accented letters in the graphs that
behave strange, though on the screen and in eps exports they look
perfect. The problem is that I need pdf graphs, since I would like to
have a PDF after LaTeX-ing.
For the example below I downloaded the following two font sets:
1. Latin Modern
2011 Feb 15
2
Sweave doesn't hand on width of special characters of Computer Modern fonts to LaTeX
Hello R users,
Using R, Sweave and the cmsyase.afm font it is possible to write LaTeX
documents including R figures with text in the Computer Modern Fonts:
\documentclass{article}
\usepackage{Sweave}
\begin{document}
<<echo = false, results = hide>>=
CM <- Type1Font("CM",
c(file.path("C:/texlive/2009/texmf-dist/fonts/afm/public/cm-lgc",
2010 Sep 11
2
Latex fonts in R graphics
Hello, R users.
I am trying to embed Computer modern fonts to an R plot and I get the
following error.
CM <- Type1Font("CM",
+ c(paste("cm-lgc/fonts/afm/public/cm-lgc/",
+ c("fcmr8a.afm", "fcmb8a.afm", "fcmri8a.afm", "fcmbi8a.afm"), sep=""),
+ "./cmsyase.afm"))
> pdf("cm.pdf",
2009 Aug 30
3
Computer Modern Fonts in R graphic
Hello all,
I am trying to use computer modern fonts in my r grahics. I tried to do,
as described here: http://www.stat.auckland.ac.nz/~paul/R/CM/CMR.html
but unfortunately, it does not work.
First of all I downloaded the cm-lgc package and the AFM and PFB-files
from the page and put them in my R working directory, so far, so good.
Then I tried to run the following code:
> sn <-
2005 Dec 04
1
font inclusions in pdf files
I am stumbling into external font issues here and there. I presume using
external lucida fonts is fairly rare, so I am more likely to stumble onto
issues here. (of course, I often think I have stumbled onto bugs/features
that are not.) So, I hope I am not imposing by reporting the following.
[1] can R please not include fonts that it is not using?
luafmfiles <-
2008 Jan 24
1
R CMD check and postscript fonts
Hello,
I came across this by using R cmd check - otherwise I would probably not have
noticed.
One of my functions does something like this:
# postscript()
# plot(1, xlim = c(0, 10), ylim = c(0, 4), type = "n", ann = FALSE, axes = FALSE)
# text(1:10, 2, c("a","b"), cex = seqcex, family="mono",font=2)
Which results in the error:
Error in text.default(1:10, 2,
2006 Jul 21
1
: Arial font for text in lattice plots under Linux
Hi,
I have been asked by a publisher to change the font style of a lattice
plot in my manuscript. I have consulted documentation on trellis
graphics and the excellent book "R graphics", but am still not sure how
I could create plots with Arial as the font style for text in the plot.
I am running R (Version 2.3.1 (2006-06-01)) under debian Linux. I have
msttcorefonts installed.
2011 Jan 15
1
Truetype and Opentype font in pdf device
Deal all,
I want to know if truetype or opentype fonts are available in pdf
device (i.e., pdf() or dev.copy2pdf()), and if so, how to do it?
Now I can do as followings:
1. convert ttf to afm using ttf2afm, e.g.: $ ttf2afm Impact.ttf > Impact.afm
2. put the afm file in $R_HOME/library/grDevices/afm
3. register a new type1 font: pdfFonts(Impact=Type1Font("Impact",
2004 Aug 19
1
Use Font Frutiger in PDF-File
Hi,
I'd like to use the font "Frutiger" in my pdf files generated by R.
but I only manage this if I create a postscript file with
postscript() and the option family = c( "LT_14361.afm",
"LT_14363.afm", "LT_14373.afm", "LT_14375.afm" ) and convert this
postscript file to pdf.
If I specify the option 'family' like above ( =
2008 Jan 15
1
using LaTeX-fonts with R
Hi,
I try to use the sfrm1000.pfb Type-1 font with my postscript plots. When I
add family=CM to the postscript() command the output is empty. What am I
doing wrong?
# define font
CM <- Type1Font('ComputerModern', # font ID
c(file.path(getwd(), c('sfrm1000.afm', '', '', ''))), # font metrics
encoding='AdobeStd');
2001 Sep 22
2
"No program start menu found"
I've looked at the web page http://www.la-sorciere.de/wine/index.html and
http://wine.codeweavers.com. Still no luck, I'm getting the same error message:
My config file is attached below:
Here's what my director tree looks like:
/home/magreen/c/windows/Start Menu/Programs
What piece am I missing? TIA!
-------------- next part --------------
WINE REGISTRY Version 2
;; All keys
2009 Nov 19
2
PLoS, Arial, R & linux
Greetings All.
According to the PLoS (Public Library of Science) Guidelines
for Figure preparation, if a figure is submitted as EPS rather
than TIFF then "Figure text must be in Arial font" -- see:
[1]
http://www.plosntds.org/static/figureGuidelines.action#text
and also other sections in that web-page
[2]
http://www.plosntds.org/static/figureGuidelines.action
Now, Arial font is not
2009 Aug 12
2
Plotting sigma symbol with unicode and turning into pdf
Paul,
You solution worked out really well when I ran my code in R. However, when I try to turn the plot into a pdf, the unicode string no longer seems to function and instead of the sigma symbol there are just two periods (See example code below).
The following is the code working in the R environment just like I want it to look:
set.seed(1)
Data=rnorm(100,sd=10000)
plot(density(Data))
2005 May 11
1
PDF Arial, Helvetica and Pagemaker 7.0
Hello,
I can generate PDF documents and they look good on acrobat reader. However,
when I import the PDFs in Pagemaker 7.0 (on windows2K), I get an error
message saying it does not recognize the Helvetica font.
I got this from ?pdf:
family
the font family to be used, one of "AvantGarde", "Bookman", "Courier",
"Helvetica", "Helvetica-Narrow",