Displaying 20 results from an estimated 2000 matches similar to: "Changing ComputerModern in postscript(...): A first attempt at contributing...."
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
2004 Mar 15
1
Correct Computer Modern font in postscript(..) output
Hi,
I'm trying to get the correct font used when generating italic text in an R
grahic. I have a set of labels that print correctly except it seems the
italic text is justr a slanted version of the TeX computer modern normal
font... I'm using R v1.8.1 on Windows XP, and I get the same result if I
build the pdf using Adobe Acrobat or using MikTeX
The labels:
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');
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 <-
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
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))
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:
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,
2005 Nov 10
0
Fonts, Plus
Dear R Wizards:
sorry, I need more help. hopefully, it will help others in the future.
I am using R 2.2.0 Patched (2005-11-07 r36217).
[a]
# copy from the postscriptFont documentation
CMitalic <- postscriptFont("ComputerModern",
c("CM_regular_10.afm", "CM_boldx_10.afm",
"cmti10.afm", "cmbxti10.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
2001 Jun 29
1
Problems using Computer Modern fonts
I have been trying to use the Computer Modern fonts in postscript output
from R, but I have run into a few problems and limitations. I did read and
follow the instructions in the documentation.
The first problem is that R sometimes needs to use a minus sign in the
text in plots, but the non-symbol computer modern fonts contain only a
hyphen. There is no way that I can find to tell R to use a
2001 Jun 29
1
Problems using Computer Modern fonts
I have been trying to use the Computer Modern fonts in postscript output
from R, but I have run into a few problems and limitations. I did read and
follow the instructions in the documentation.
The first problem is that R sometimes needs to use a minus sign in the
text in plots, but the non-symbol computer modern fonts contain only a
hyphen. There is no way that I can find to tell R to use a
2005 Aug 30
0
TeXtext font encoding?
Dear R wizards:
Has anyone gotten the TeXtext font encoding to work? If I execute:
if (is.null(postscriptFonts()$lucida)) {
luafmfiles <- c("/usr/share/texmf/fonts/afm/yandy/lubright/lbr.afm",
"/usr/share/texmf/fonts/afm/yandy/lubright/lbd.afm",
"/usr/share/texmf/fonts/afm/yandy/lubright/lbi.afm",
2006 May 27
4
MSWord97 installs properly but still won't launch (or save?) -- 3 more data files
Dear friends:
Forgot to include three more data files:
http://www.websher.net/tmp/user.reg
http://www.websher.net/tmp/system.reg
http://www.websher.net/tmp/userdef.reg
Thank you again.
Benjamin
I've been trying for some time to install my copy of Word97 (which I
own, having purchased it directly from Microsoft with my own license
number). I have tried the latest Wine 0.9.14. To do
2001 May 21
1
printing font scale issues
I'm using Wine-20010510 to run Quickbooks. Printing seems to work okay, as
long as I use the "default" forms.
When I try to modify the defaults, by changing the fonts on parts of forms,
the printed result is that the font is tiny. For example, 18-pt Helvetica
looks printed out like 4-point Helvetica (or maybe even smaller!)
Is there something in the configuration that I
2008 May 04
2
Categorizing Fonts using Statistical Methods
Dear list members,
Every "modern" OS comes with dozens of useless fonts, so that the
current font drop-down list in most programs is overcrowded with fonts
one never will use. Selecting a useful font becomes a nightmare.
In an attempt to ease the selection of useful fonts, I began looking
into sorting fonts using some statistical techniques. I summed my ideas
on the OpenOffice.org
2001 Mar 15
1
Printing problems with wine
Hello,
I have some Problems with getting WINE to print. I'm using wine on a
non-Windows machine with Debian Potato. Everything works fine except
printing. When I try to print something I always get something like
"Printer not setup properly".
The errormessage from wine is
err:psdrv:PSDRV_AFMGetCharMetrics No whitespace found.
My .wine/config -file looks like this:
[parallelports]
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",
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",