Displaying 20 results from an estimated 7000 matches similar to: "Embedding fonts in pdf graphics"
2009 Mar 14
1
Problem with figure size when embedding fonts
Dear Colleagues:
I need to make a graphic that uses the Nimbus rather than Helvetica font
family so that the font can be embedded in the encapsulated postscript
file. This is to satisfy a requirement from a journal for electronic
submission of figures. I do the following:
postscript('lowess.eps', onefile=FALSE, pointsize=18, horizontal=FALSE,
family='NimbusSan')
2024 Mar 11
1
evince not showing "greek" and "math" in *.pdf plots
Hi Martin and Tim,
I also have this bug. Though I think not necessarily with all the same
fonts as Martin.
Using Martin's code:
https://imgur.com/a/ILUoe3H
Fedora 39, Evince 45.0
It's a bug with Evince. I think. I think it's substituting in a font
set that doesn't have all the required symbols. I think it should be
possible to install the required fonts, but I haven't
2024 Mar 13
1
evince not showing "greek" and "math" in *.pdf plots
I see. Peter, you are right about the font that causes the issue. Paul,
thanks for your insights. I'll bring this to the Fedora font experts to see
if we can arrive at a more permanent fix. I'll report back with any
conclusion.
@Martin: Meanwhile, at least you have options. One is to embed the fonts,
either as Peter suggested or using cairo_pdf instead. Alternatively, Peter
also has shown
2024 Mar 11
2
evince not showing "greek" and "math" in *.pdf plots
Martin, I wouldn't rule out an R issue yet. Fonts are... tricky. So I'm
cc'ing Paul Murrell here.
I tried several viewers here and I see the following: Chrome, Firefox and
Libreoffice Draw show the symbols; however, evince, okular and xournal++
agree on **not** showing the symbols. **If** there is a bug, the bug would
be in fontconfig, because these ones AFAIK properly delegate on
2024 Mar 12
1
evince not showing "greek" and "math" in *.pdf plots
HI I?aki,?
That's interesting.?
I may be wrong but I think it's the Symbol font that's got the
substitution bug, not Helvetica.?
? fc-match "Symbol"
StandardSymbolsPS.t1: "Standard Symbols PS" "Regular"
Is what I get, but then in the Evince properties it's telling me that
it's substituting Symbol with "Noto Sans Regular", despite the
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
2024 Mar 12
1
evince not showing "greek" and "math" in *.pdf plots
Hi
I don't think this is an R issue (it is separate from the Cairo Symbol
font problem).
For PDF output, R actually relies on the Symbol font having the Adobe
Symbol Encoding (Appendix D of the PDF Reference
https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/pdfreference1.7old.pdf)
and just outputs the font as "Symbol", which relies on it being one of
the Standard
2011 May 13
1
Embedding R's math expressions fonts for graphics generated by pdf() and postscript()
Dear list,
First, I am not writing to ask about embedding Computer Modern font in
graphics produced by R.
I am generating plots to be saved using pdf() and postscript() in R,
and I make use of some math expressions that are provided by R,
namely, some greek letters. My question is, do I need to embed the
fonts that include these math symbols (say, if they are going out for
publication, to have
2009 Sep 04
3
eps file with embedded font
Dear list,
I am trying to make eps file with embedded font.
I use:
postscript("ranking-exp-all.eps", horizontal=TRUE, onefile=FALSE,
paper="special", height=8, width=12, family="Helvetica")
# plot stuff
dev.off()
since R does not embed font, I then use:
embedFonts(file="indegdistr.eps", outfile="indegdistrEMB.eps",
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
2007 Oct 04
3
pdf() device uses fonts to represent points - data alteration?
Hello all,
I discovered that the pdf device uses fonts to represent "points"
symbols (as in plot(...,type="p",...) ). Namely it uses ZapfDingbats
with symbol U+25cf. This can lead to problems when the font is not
available, or available in another version (such as points being
replaced by other symbols, or worst: slightly displaced).
Furthermore, it also causes
2008 Oct 12
2
RFC: Kerning, postscript() and pdf()
Ei-ji Nakama has pointed out (from another Japanese user, I believe) that
postscript() and pdf() have not been handling kerning correctly, and this
is a request for opinions about how we should correct it.
Kerning is the adjustment of the spacing between letters from their
natural width, so that for example 'Yo' is usually typeset with the o
closer to the Y than 'Yl' would be.
2011 Aug 09
1
embedFonts() does not embed fonts?
Dear helpers,
I'm trying out the embedFonts() to embed fonts into my pdf files.
However, when I inspect the new pdf with a program designed to look
for embedded fonts, I see that the fonts have in fact not been
embedded. Below are my calls.
R version 2.13.1 (2011-07-08)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: i386-pc-mingw32/i386 (32-bit)
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",
2024 Mar 11
2
evince not showing "greek" and "math" in *.pdf plots
>>>>> Tim Taylor
>>>>> on Mon, 11 Mar 2024 11:42:35 +0000 writes:
> Hi Martin
> Probably not the answer you're looking for but on the latest Fedora 39 (workstation edition) both locally, and on a freshly installed VM (with just R-core installed), all fonts render correctly for me in evince.
> $ evince --version
> GNOME Document
2005 Jan 18
4
embedding fonts in eps files
Hi,
I have to make eps files with fonts embedded.
I use the following postscript command:
postscript("fig3a.eps", width = 5.2756, height = 7.27, pointsize =
7,horizontal = FALSE, onefile = FALSE, paper = "special",family =
"Times")
plot(...)
dev.off()
Are fonts automatically embedded in this way?
How can I see that?
If not, how to do it?
regards, Rudi.
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))
2008 Jan 22
2
X11 font at size 6 could not be loaded
I recently upgraded my OS to Fedora 8 from Red Hat Enterprise Work Station 3.
Before I upgraded certain operations would produce a warning to the effect that
a desired font was not available so one had been substituted, which was okay.
After the upgrade to Fedora 8, the plotting operation halts midway through and I
get the following error message:
"X11 font at size 6 could not be loaded"
2006 Oct 10
3
eps embedded fonts again
Dear friends,
I am sorry, I again rise that boring question about font embedding in
EPS figure.
I found some discussions on this topic but there were no strait solution.
The publisher (AIP) demands submission of separate EPS file
for each figure with all fonts embedded in it (even the standard
14 Adobe fonts).
As I understand the R does not do this embedding. It inserts only
comments what font
2007 Apr 13
1
Embedding Fonts in eps Files - Required by Publisher
The publisher requires embedded fonts and the eps files that R produces
don't pass its tests. How can I force the fonts (just default fonts) to
be embedded. embedFonts seems to only embed unusual fonts, not the
default ones that are used in a simple eps generated by using
"postscript".
I've tried:
ps2pdf14 -dPDFSETTINGS=/prepress bland-altman_v2.eps bland-altman_v2.pdf
pdftops