Displaying 4 results from an estimated 4 matches for "arialmt".
Did you mean:
arial
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", "Arial-BoldItalicMT.afm"))
postscriptFonts(Arial=Arial)
postscript("testArial.eps", horizontal=F, onefile=F, width=4, height=4)
par(family="Arial")
plot(1:10, 1:10)
dev.off()
but getting the foll...
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:
2013 Apr 30
0
Extrafont package: Fonts are not successfully installed
...)
> library(ggplot2)
> library(extrafont)
> font_import()
Importing fonts may take a few minutes, depending on the number of fonts
and the speed of the system. Continue? [y/n] y
Scanning ttf files in C:\WINDOWS\Fonts ...
Extracting .afm files from .ttf files...
C:\WINDOWS\Fonts\arial.ttf : ArialMT already registered in fonts database.
Skipping.
C:\WINDOWS\Fonts\arialbd.ttf : Arial-BoldMT already registered in fonts
database. Skipping.
C:\WINDOWS\Fonts\arialbi.ttf : Arial-BoldItalicMT already registered in
fonts database. Skipping.
C:\WINDOWS\Fonts\ariali.ttf : Arial-ItalicMT already register...
2010 Dec 11
0
is there a packge or code to generate markov chains in R
...created afm
files with a text editor (ex Notepad++) and correct the following things:
? Remove the copyright line (or make it start zith comment and get rid of
the (c) copyright symbol )
? At the beginning of 4 of the first lines, the variable name is missing, so
add it. Eg in arial.afm:
o FontName ArialMT
o FullName Arial
o FamilyName Arial
o Weight Normal
Now you can use these fonts with the postscript function in R with the
following line:
postscript(file="try.ps", horizontal=F, onefile=F, width=4, height=4,
pointsize=12,
family=c (
?C:/ttf2afm/arial.afm",
?C:/ttf2afm/arial-Bold....