Displaying 20 results from an estimated 37 matches for "pdffont".
Did you mean:
pdffonts
2013 Apr 30
0
Extrafont package: Fonts are not successfully installed
...s already registered in fonts
database. Skipping.
C:\WINDOWS\Fonts\wingding.ttf : Wingdings-Regular already registered in
fonts database. Skipping.
Found FontName for 0 fonts.
Scanning afm files in C:/Program Files/RStudio/R/library/extrafontdb/metrics
> loadfonts()
Registering font with R using pdfFonts(): Arial Black
Registering font with R using pdfFonts(): Arial
Registering font with R using pdfFonts(): Braille
Registering font with R using pdfFonts(): Comic Sans MS
Registering font with R using pdfFonts(): Courier New
Registering font with R using pdfFonts(): cwTeXFangSong
Registering font wi...
2008 Sep 18
1
PDF fonts problem
...t 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", "sfti1000.afm", "sfsl1000.afm"), sep=""))
pdfFonts(CMS=CMS)
postscriptFonts(CMS=CMS)
#Default
pdf("tryfont...
2005 Dec 04
1
font inclusions in pdf files
...m",
"/usr/share/texmf/fonts/afm/yandy/lubright/lbr.afm")
grDevices::postscriptFonts(lucida=grDevices::postscriptFont("Lucida",
metrics=luafmfiles));
pdf(file="testincfonts.pdf");
par(family="lucida");
plot( c(0,0), c(1,1) );
dev.off();
# pdffonts testincfonts.pdf
name type emb sub uni object ID
------------------------------------ ------------ --- --- --- ---------
ZapfDingbats Type 1 no no no 5 0
Helvetica Type 1 no no no...
2009 Nov 17
3
CM Fonts in PDF output
...xlive/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)
pdf( "test.pdf", width = 5, height = 4, family = "CM" )
plot(c(-1,0,1))
dev.off()
-----
which works fine except that R has problems with the minus sign for the
labels and axis and I get the following warnings:
---
... font width unknown for character 0x2d ...
---
The...
2011 Feb 15
2
Sweave doesn't hand on width of special characters of Computer Modern fonts to LaTeX
...o = false, results = hide>>=
CM <- Type1Font("CM",
c(file.path("C:/texlive/2009/texmf-dist/fonts/afm/public/cm-lgc",
c("fcmr8a.afm", "fcmb8a.afm", "fcmri8a.afm", "fcmbi8a.afm")),
"./cmsyase.afm"))
pdfFonts(CM = CM)
postscriptFonts(CM = CM)
pdf.options(family = "CM", pointsize = 11)
ps.options(family = "CM", pointsize = 11)
@
<<fig = true, echo = false, include = true>>=
x <- c(1,2,3)
y <- c(1,2,1)
plot(y~x, xlab = "1 - 3 units") # The "-" si...
2008 Apr 18
1
Embedding fonts in pdfs
Hi all,
I'm having problems embedding fonts in my graphics - and I've tried
embedFonts to no avail. I have a pdf file and pdffonts tells me:
name type emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
ZapfDingbats Type 1 no no no 5 0
Helvetica Type 1 n...
2005 Nov 10
0
Fonts, Plus
...ntax that worked for lucida
pdf(file="test.pdf", fonts="CMitalic", version="1.4");
par(family="CMitalic");
plot( c(0,1),c(0,1) );
myeq <- bquote((w[I]==.(1/7)));
text( 0.5, 0.3, myeq );
text( 0.5, 0.7, "this is computer modern");
dev.off();
Now, pdffonts test.pdf (from the xpdf distribution) gives me
$ pdffonts test.pdf
name type emb sub uni object ID
------------------------------------ ------------ --- --- --- ---------
Error (4149): Dictionary key must be a name object
Error (4152): Dictionary key must b...
2011 Jan 15
1
Truetype and Opentype font in pdf device
...pe 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",
rep("Impact.afm", 4), encoding = "TeXtext.enc"))
4. specify the fontfamily in gpar: grid.text('hello grid world',
gp=gpar(fontfamily="Impact"))
but obviously, it is better if truetype or opentype fonts are directly
availab...
2007 Aug 22
1
Sweave(), pdf(), and fonts
...re:
1) Does anyone know if Sweave() has a way to "swap out" the call to
pdf() with another device, say Cairo()? I think this would be the
easiest way to solve her problem.
2) Does anyone know how to do this with pdf()? I suspect that the font
databases can be updated via the commands pdfFonts() or
postscriptFonts(), but are there suitable debian font packages that
contain font information that can be supplied to these functions? Are
any font packages needed at all?
The pdf plots don't necessarily need to embed the fonts, but they need
enough info in them to say "Use the A...
2024 Mar 11
1
evince not showing "greek" and "math" in *.pdf plots
...paste0("embedded-example", pdfil), "&"))
}
Or you can do it in the terminal:
gs -dNOPAUSE -dBATCH -dPDFSETTINGS=/prepress -sDEVICE=pdfwrite -
dEmbedAllFonts=true -sOutputFile=plotmath-example-output_embedded.pdf -
f plotmath-example_R432.pdf
Compare:
Embedded:
? pdffonts plotmath-example-output_embedded.pdf
name type encoding emb sub uni object ID
---------------------- -------- -------- --- --- --- ------ ---
KHEPSB+Helvetica Type 1C Custom yes yes no 10 0
WNPVSJ+Symbol Type 1C Custom yes yes no 12 0
MQBKOK...
2011 Aug 09
1
embedFonts() does not embed fonts?
...graphics grDevices utils datasets methods base
> Sys.getlocale()
[1] "LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
States.1252;LC_MONETARY=English_United
States.1252;LC_NUMERIC=C;LC_TIME=English_United
States.1252"
>
------------------------------------
pdffonts.exe test_em.pdf
name type emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
ZapfDingbats Type 1 no no yes 10 0
Times-Roman Type 1...
2024 Mar 11
2
evince not showing "greek" and "math" in *.pdf plots
...>
>
> Or you can do it in the terminal:
>
>
> gs -dNOPAUSE -dBATCH -dPDFSETTINGS=/prepress -sDEVICE=pdfwrite -
> dEmbedAllFonts=true -sOutputFile=plotmath-example-output_embedded.pdf -
> f plotmath-example_R432.pdf
>
>
> Compare:
>
>
> Embedded:
>
> ? pdffonts plotmath-example-output_embedded.pdf
> name type encoding emb sub uni object ID
> ---------------------- -------- -------- --- --- --- ------ ---
> KHEPSB+Helvetica Type 1C Custom yes yes no 10 0
> WNPVSJ+Symbol Type 1C Custom yes yes n...
2009 May 12
1
times family unavailable in postscript device (Ubuntu Linux)
...stscF+ "Adobe-Japan1-UniJIS-UCS2-H.afm",
pstscF+ "Adobe-Japan1-UniJIS-UCS2-H.afm",
pstscF+ "Adobe-Japan1-UniJIS-UCS2-H.afm"),
pstscF+ "UniJIS-UCS2-H", "UCS-2")
pstscF> pdfFonts(`Jp_UCS-2` = `Jp_UCS-2`)
pstscF> names(pdfFonts())
[1] "serif" "sans" "mono"
[4] "AvantGarde" "Bookman" "Courier"
[7] "Helvetica" "Helvetica-Narrow&quo...
2023 Jan 16
1
Printing special characters
...ituted for <89>
conversion failure on 'EVENT ? 30 sec' in 'mbcsToSbcs': dot substituted for <a5>
BTW, a simple one liner for testing is
plot(1, type="n", axes=FALSE, main = "EVENT ? 30 sec")
Note that help(pdf) contains
See Also:
pdfFonts, pdf.options, embedFonts, Devices, postscript.
cairo_pdf and (on macOS only) quartz for other devices that
can produce PDF.
More details of font families and encodings and especially
handling text in a non-Latin-1 encoding and embedding fonts can be
found...
2024 Mar 12
1
evince not showing "greek" and "math" in *.pdf plots
...dNOPAUSE -dBATCH -dPDFSETTINGS=/prepress -sDEVICE=pdfwrite -
> > dEmbedAllFonts=true -sOutputFile=plotmath-example-
> > output_embedded.pdf -
> > f plotmath-example_R432.pdf
> >
> >
> > Compare:
> >
> >
> > Embedded:
> >
> > ? pdffonts plotmath-example-output_embedded.pdf
> > name? ? ? ? ? ? ? ? ? ?type? ? ?encoding emb sub uni object ID
> > ---------------------- -------- -------- --- --- --- ------ ---
> > KHEPSB+Helvetica? ? ? ?Type 1C? Custom? ?yes yes no? ? ? 10? ?0
> > WNPVSJ+Symbol? ? ? ? ? Type 1C...
2024 Mar 12
1
evince not showing "greek" and "math" in *.pdf plots
...in the terminal:
>
>
> gs -dNOPAUSE -dBATCH -dPDFSETTINGS=/prepress -sDEVICE=pdfwrite -
> dEmbedAllFonts=true -sOutputFile=plotmath-example-output_embedded.pdf -
> f plotmath-example_R432.pdf
>
>
> Compare:
>
>
> Embedded:
>
> ? pdffonts plotmath-example-output_embedded.pdf
> name? ? ? ? ? ? ? ? ? ?type? ? ?encoding emb sub uni object ID
> ---------------------- -------- -------- --- --- --- ------ ---
> KHEPSB+Helvetica? ? ? ?Type 1C? Custom? ?yes yes no? ? ? 10? ?0
> WNPVSJ+Symbol? ? ? ? ? Type 1C? Cu...
2011 Mar 01
0
unicode&pdf font problem RESOLVED
...>
>>>> Consulted the help pages
>>>> points {graphics}
>>>> postscript {grDevices}
>>>> pdf {grDevices}
>>>> charsets {tools}
>>>> postscriptFonts {grDevices}
>>>>
>>>> I have tried a variety of the pdfFonts installed on my Mac without
>>>> success. You can perhaps make a list of fonts on your machines with
>>>> names(pdfFonts()). Perhaps the range of fonts and the glyphs they
>>>> contain is different on your machines. I get consistently warning
>>>> me...
2024 Mar 13
1
evince not showing "greek" and "math" in *.pdf plots
...E -dBATCH -dPDFSETTINGS=/prepress -sDEVICE=pdfwrite -
> > dEmbedAllFonts=true
> -sOutputFile=plotmath-example-output_embedded.pdf -
> > f plotmath-example_R432.pdf
> >
> >
> > Compare:
> >
> >
> > Embedded:
> >
> > ? pdffonts plotmath-example-output_embedded.pdf
> > name type encoding emb sub uni object ID
> > ---------------------- -------- -------- --- --- --- ------ ---
> > KHEPSB+Helvetica Type 1C Custom yes yes no 10 0
> > WNPVSJ+Symbol...
2018 Mar 02
5
evince
We have some small networks with connectivity to the Internet
through firewall routers.? The smallest has one Windows 7
system and three Linux systems including both CentOS 6 and
CentOS 7 machines.? The Windows 7 systems have full Adobe
packages that are updated regularly and are trouble free.
On the Linux systems, evince has been our go to product for
viewing and printing .pdf documents.? This
2007 Oct 04
3
pdf() device uses fonts to represent points - data alteration?
...ly harm the graphic.
Examples of code:
pdf("test.pdf")
plot(0,0,xlab="",ylab="",bty="n",xaxt="n",yaxt="n"); grid(lty=1);
dev.off()
embedFonts("test.pdf","pdfwrite","test_embed.pdf")
visualize the fonts:
pdffonts test.pdf
and a package with the two pdf files and bitmaps of how they render
or are interpreted in various programs:
http://jo.irisson.free.fr/dropbox/test_R_pdf_fonts.zip
Thank you in advance for your attention and help.
JiHO
---
http://jo.irisson.free.fr/