Displaying 20 results from an estimated 10000 matches similar to: "Problems using Computer Modern fonts"
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",
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 <-
2001 Aug 15
0
Computer Modern Fonts in R
About a month ago I sent a message to the list about some changes which
could allow R to fully utilize the (La)TeX Computer Modern fonts. I didn't
get any replies indicating the changes would be accepted in some form,
what could be improved in them, or that the changes were not wanted.
The patches and other files needed are available from:
http://hussle.harvard.edu/~durso/CM_R.tar.gz
Even if
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",
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
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 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');
2004 Feb 04
2
Latin 2 encoding + fonts
Hi,
In the FAQ I read about options to specify different fonts than the default
ones for the console (in the file Rprofile) and for the graphical output
(Rdevga). I would however like to replace Latin 1 with Latin 2 enconding for
both (console and graphical) output in Windows and just graphical output in
Linux.
I guess it is possible but I did not find the way.
How can I use the fonts
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,
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
2001 Oct 19
3
Type1 Fonts
I've narrowed the my Cups printing problem down to Wine not loading my
Type 1 fonts.
I have several Type 1 fonts installed in 3 places, all of which are in
my fontpath ("xset q" lists them). I can use the Type 1 fonts in X and
with KDE-2.2.1 even as AntiAliased, however, when I try to print from an
app under wine I get a memory error and a message at the command line
stating
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:
2005 Mar 16
2
TINY fonts
Hello there,
am I really the only one, who compiled wine20050211 source,
run wineinstall script, changed [fonts] section in config to match
my dirs (ttf, afm) on my Mandrake 10.1 system AND STILL HAVING ALMOST
UNREADABLE FONTS in applications using standard windows fonts (not its
own)? (I'm not using any M$ stuff, including fonts - just those in
X windows (xfs running)).
Nyyr
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",
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",
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
2004 Mar 16
1
Changing ComputerModern in postscript(...): A first attempt at contributing....
Hi
First off, thanks to all the various R developers, your package is very
impressive.
I'm not sure what the protocols are for contributing, and I've not done this
before, so please excuse nay obvious errors or oversights... Also I'm by no
means an R,TeX/LaTeX, or typesetting expert, I have largely stumbled my way
to this point.
Objective: I'd like to get R postscript(...) to
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:
2000 Sep 18
1
Latin1 encoded AFM files
Hi,
I patched my R-1.1.1 sources to add support for a couple more fonts to
the postscript device.
It works for alphanumeric characters, but I notice that I should be
supplying an AFM file with ISOLatin1Encoding (I'm using a standard AFM
for now, and get some parsing errors from R when I open the postscript
device).
Is there a program/script which will re-encode my AFM files from