Displaying 20 results from an estimated 130 matches similar to: "times family unavailable in postscript device (Ubuntu Linux)"
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))
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",
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",
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 <-
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",
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
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,
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');
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",
2009 Sep 30
1
Arial for pdf() on a Mac
Hi,
I'd like to use Arial for the font in the PDF's and TIFF's I produce
in R on my Mac (running 10.5.5). I've found the following archived
help file on how to do it in Linux (http://tolstoy.newcastle.edu.au/R/e4/help/08/08/19847.html
) but don't understand how to do this on my system. Are *.afm files
freely available and do they come with the *.enc file that
2005 Nov 07
1
pdf device and TeXencoding?
Dear R wizards:
[a] I believe that the pdf device does not yet fully support TeXencoding. (under R-2.2.0, the pdf file created with Textext as font encoding still dies when post-processed by ghostscript.) are there any workarounds, or are there utilities that would allow a TeXencoded font to be re-encoded/converted into ISOLatin, perhaps, which R could then handle beautifully?
[b] is there a
2010 Aug 19
2
One possible cause for incorrect symbols in X11() output
There have been spasmodic reports of symbols such as pi and infinity
in plotmath being reproduced incorrectly on the X11 device on some
Linux systems (at least Ubuntu 10 and Fedora 12/13), and we've managed
to track down one cause whilst investigating PR#14355.
Some systems have Wine and hence the Wine symbol font installed.
'fontconfig', which is used by cairographics in
2007 Jan 10
1
Recent vulnerabilities in xorg-server
Colin, good day!
Spotted two patches for x11-servers/xorg-server port: see entries for
x11r6.9.0-dbe-render.diff and x11r6.9.0-cidfonts.diff at
http://xorg.freedesktop.org/releases/X11R6.9.0/patches/index.html
Seems like they are not applied to the xorg-server-6.9.0_5. May be
it should be added to the VuXML document?
There is a ports/107733 issue that incorporates these patches. May
be you
2007 Nov 18
1
Exporting a plot with the LaTeX font lmodern
Dear All,
I would like to export, as a pdf file, a plot with the LaTeX font
lmodern as the font of my graph. Could somebody please help me?
Thanks in advance,
Paul
2007 Feb 25
0
dev.print and postscript device problem
Hello to the list,
I noticed something that it seems weird to me with postscript device in
dev.print function.
Suppose this little code:
x<-1:10
par(family="sans")
plot(x, main="main")
Using dev.print with pdf device brings no problem
dev.print(device=pdf, file="test.pdf")
But using postscript device
dev.print(device=postscript, file="test.ps")
I get
2011 Apr 21
0
automatic font selection, please help
Hi there,
With the helps from this list, I can set specific CJK fonts for
character string using text() function. for example:
song <- CIDFont("SimSun", "GBK-EUC-H", "GBK", "")
postscriptFonts(song = song)
postscript("test.ps", height = 7, width =7, family = "Times", fonts =
c("song"), horizontal = FALSE, onefile =
2005 Jan 24
1
R 'postscript' plot - not a valid postscript (PR#7559)
Full_Name: Mr. Daniel Murray Bolser
Version: R 2.0.0 (2004-10-04)
OS: Linux beagle 2.4.20-31.9 #1 Tue Apr 13 17:38:16 EDT 2004 i686 athlon i386 GNU/Linux
Submission from: (NULL) (193.60.81.207)
Trying to execute the following code produces a 'not a valid postscript' error
from various postscript readers (gv, ggv, ghostscript). A very similar code
works fine.
<CODE>
postscript()
2013 Jul 20
0
problem with minus signs when using postscript/pdf functions with ComputerModernItalic family
When I use the postscript with the ComputerModernItalic family, minus signs are not properly displayed, but are changed into capital gammas. The attached test-postscript.pdf file illustrates the problem, which I created starting with the following R code:
> postscript("test-postscript.eps", family = "ComputerModernItalic")
> plot(seq(-5,5,1),seq(-5,5,1))
> dev.off()
2007 Aug 09
0
Mac OSX fonts in R plots
I had been looking for information about including OSX fonts in R
plots for a long time and never quite found the answer. I spent an
hour or so gathering together the following solution which, as far as
I have tested, works. I'm posting this for feedback and and
archiving. I'd be interested in any caveats about the brittleness of
the technique.
Thanks.
F
-----
1. Find font
system