search for: afm

Displaying 20 results from an estimated 280 matches for "afm".

Did you mean: af
2009 May 12
1
times family unavailable in postscript device (Ubuntu Linux)
..."Japan1GothicBBB" "Japan1Ryumin" [28] "Korea1" "Korea1deb" "CNS1" [31] "GB1" > example(postscriptFonts) pstscF> postscriptFonts() $serif $family [1] "Times" $metrics [1] "Times-Roman.afm" "Times-Bold.afm" "Times-Italic.afm" [4] "Times-BoldItalic.afm" "Symbol.afm" $encoding [1] "default" attr(,"class") [1] "Type1Font" $sans $family [1] "Helvetica" $metrics [1] "Helvetica.afm&quot...
2001 Mar 15
1
Printing problems with wine
...lo, 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] "Lpt1" = "/tmp/PRINTER1" [spooler] "LPT1:" = "/tmp/PRINTER1" [psdrv] "ppdfile" = "/usr/share/ppd/en/HP_DeskJet_500C.ppd" [afmfiles] "file1&...
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", "/usr/share/texmf-texlive/fonts/afm/public/cm-lgc/fcmbi8a.afm", "./cmsyase.afm" ) ) pdfFonts(CM=CM)...
2001 Jun 28
3
problem with afm on x86 Solaris 8
...one for `all'. make[2]: Leaving directory `/d1/wine-20010510/dlls/winmm/wineoss' make[2]: Entering directory `/d1/wine-20010510/dlls/wineps' gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fPIC -D__WINE__ -D_REENTRANT -I/usr/openwin/include -o afm.o afm.c afm.c: In function `CalcWindowsMetrics': afm.c:868: structure has no member named `sAscender' afm.c:869: structure has no member named `sDescender' afm.c:871: structure has no member named `sLineGap' afm.c:871: structure has no member named `sAscender' afm.c:871: structu...
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: postscript(file="try.ps", horizontal=F, onefile=F, width=4, height=4, family=c("C:/MyDoc...
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 followin...
2004 Mar 16
1
Changing ComputerModern in postscript(...): A first attempt at contributing....
...graphic. I think the text should use the italic font. For a quick overview of italic vs. slant vs. oblique see http://www.eyewire.com/magazine/columns/robin/italic/ A response from Brian Ripley pointed me to the src/main/devPS.c file, and I traced this behaviour to the use of the slanted/oblique afm font files, rather than the italic afm font files. Anyway, I did some homework and realised that making the change may not be too difficult, except for needing the Computer Modern afm font files - not included in MikTeX (on my machine at least). Fortunately the Latin Modern fonts do include the a...
2005 Dec 04
1
font inclusions in pdf files
...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 <- 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", "/usr/share/texmf/fonts/afm/yandy/lucida/lbc...
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-di...
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", width=3, height=3, family="CM") > plot(1:length(y), y, xlab="ss", ylab=...
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 ( = c("...afm", ..., ... ... ) ) in the function pdf(), I'll get the error message: "length(famil...
2008 Sep 18
1
PDF fonts problem
....org/get/fonts/ps-type1/cm-super.zip Both are specifically made for Eastern European languages (among many other). The example is (I hope it is fully reproducible): Sys.setlocale(category="LC_CTYPE", locale="hungarian") LM <- Type1Font("LM", paste("lm/fonts/afm/public/lm/", c("lmb10.afm", "lmbx10.afm", "lmbo10.afm", "lmbxo10.afm"), sep="")) pdfFonts(LM=LM) postscriptFonts(LM=LM) CMS <- Type1Font("CMS", paste("cm-super/afm/", c("sfrm1000.afm", "sfrb1000.afm&quot...
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 <- seq(1,7,length=100) > sm <- seq(0,4,length=100) > f <- function(x,y) {5.64080973 + 0.12271038*x - 0.27725481 * y + 0.29281216*x*y} > z <- o...
2011 Jul 03
1
using Arial font
...h 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 ONE site: Enable the use of Arial in R First, convert the Arial .ttf files to afm: ttf2afm /usr/share/fonts/msttcorefonts/arial.ttf > ~/arial.afm ttf2afm /usr/share/fonts/msttcorefonts/ariali.ttf > ~/ariali.afm ttf2afm /usr/share/fonts/msttcorefonts/arialbd.ttf > ~/arialbd.afm ttf2afm /usr/share/fonts/msttcorefonts/arialbi.ttf > ~/arialbi.afm and the...
2002 Feb 25
2
Converting pfm to afm files
Hi, I need a ascii format of the type1 metric file (.afm) but I have a binary metric file (.pfm) only. Is there a way to convert pfm to afm format? -- Gruss Marcus Marcus Roeckrath -- Vikarsbusch 8 -- D-48308 Senden -- Germany Phone : +49-2536-9944 -- Mailer/BBS/Fax : +49-2536-9943 (V34, X75) FidoNet: 2:2449/523 E-Mail : marcus.roeckrath@gmx.de WW...
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 AdobeStandardEncoding to ISOLatin1Encoding? Or will I have to bite the bullet and do it by han...
2005 Aug 22
2
pdf font embedding --- again
dear R wizards--- I would like to do some book-on-demand printing at a popular printer named lulu, but lulu requires inclusion even of the basic postscript fonts. Interestingly, my book itself does not need the 14 base acrobat fonts, only the embedded R figures do. Of course, I really would like to get pdftex to embed the fonts, but how to do this is not obvious either. [This method seems
2016 Jul 05
1
GPFS AFM Export Problem
Hi All, I'm having a frustrating time exporting a GPFS Independent Writer AFM fileset through Samba. Native GPFS directories exported through Samba seem to work properly, but when creating an export which points to an AFM IW fileset, I get "Access Denied" errors when trying to create files from an SMB client and even more unusual "Failed to enumerate objects...
2003 Mar 14
1
Using Arial font in linux
...mal--0-0-0-0-p-0-iso8859-1 ... How do I specify to use the Arial family within a call to postscript()? The following code didn't work ... The thread after the suggestion to vist corefonts.sourceforge.net stopped, without saying how to then use the fonts within R. Do I first need to create .afm files so that I can use the second form of argument for family? postscript(file="try.ps", horizontal=F, onefile=F, width=4, height=4, family="Arial", pointsize=12) hist(rnorm(100)) dev.off() Thanks for any pointers, Stephen
2004 Feb 29
1
graphics device problems
...is line directly from the "postscript" help screen, I get the error messages that follow it: > postscript("foo.ps") Error in PS(file, old$paper, old$family, old$encoding, old$bg, old$fg, : unable to start device PostScript In addition: Warning message: cannot read afm file hvo_____.afm I have a similar problem with the pdf device (which I think is my preferred device for my present job): > pdf("myfile.pdf") Error in PDF(file, old$family, old$encoding, old$bg, old$fg, width, height, : unable to start device pdf In addition: Warning messa...