Displaying 20 results from an estimated 6000 matches similar to: "embedFonts() side-effect under 2.6.2 ?"
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
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
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)
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
2007 Oct 08
3
embedFonts rotates figure
Dear All,
Consider the following code:
pdf(file="figure.pdf",family="URWPalladio")
curve(dlnorm(x,0,1.5),0,10,xlim=c(0,10),ylim=c(0,0.85),axes=F,xlab="",ylab="f")
segments(exp(-1.5^2),0,exp(-1.5^2),dlnorm(exp(-1.5^2),0,1.5),lty="dashed")
segments(1,0,1,dlnorm(1,0,1.5),lty="dashed")
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
2023 Jan 16
1
Printing special characters
>>>>> Rui Barradas
>>>>> on Mon, 16 Jan 2023 08:46:43 +0000 writes:
> ?s 08:31 de 16/01/2023, Jeff Newmiller escreveu:
>> Use the Cairo PDF device?
>>
>> On January 16, 2023 12:18:48 AM PST, Dennis Fisher
>> <fisher at plessthan.com> wrote:
>>> R 4.2.2 OS X
>>>
>>>
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 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')
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",
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
2007 Sep 30
1
Problem with Palatino font in pdf figures
Dear All,
Consider the following piece of code:
pdf(file="figure.pdf", family="Palatino")
plot(0,0,type='n', xlim=c(-20,20), ylim=c(0,2),xlab="",ylab="",axes=F)
text(-1.4,1.168,expression(italic("The font looks different when this
is seen with Acrobat Reader!")),xpd=T)
dev.off()
When viewing the produced figure.pdf with kpdf (on Linux),
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
2009 Jan 16
3
basic boxplot questions
dear R experts:
I am playing with boxplots for the first time. most of it is
intuitive, although there was less info on the web than I had hoped.
alas, for some odd reason, my R boxplots have some fat black dots, not
just the hollow outlier plots. Is there a description of when R draws
hollow vs. fat dots somewhere?
[and what is the parameter to change just the size of these dots?]
Also, let
2010 Jun 04
7
Wrong symbol rendering in plots (Ubuntu)
Hi I am having problems with the rendering of scientific symbols (mu and
degree) in my plots. Whenever I use these symbols they are rendered
changed (mu is changed to the proportionality symbol and degree is
changed to something resembling a gamma) in the X-device. If I make a
pdf of the plot and open the file in Evince or Okular symbols are also
rendered wrong, however if I open the file
2010 Jun 04
7
Wrong symbol rendering in plots (Ubuntu)
Hi I am having problems with the rendering of scientific symbols (mu and
degree) in my plots. Whenever I use these symbols they are rendered
changed (mu is changed to the proportionality symbol and degree is
changed to something resembling a gamma) in the X-device. If I make a
pdf of the plot and open the file in Evince or Okular symbols are also
rendered wrong, however if I open the file
2010 Jun 04
7
Wrong symbol rendering in plots (Ubuntu)
Hi I am having problems with the rendering of scientific symbols (mu and
degree) in my plots. Whenever I use these symbols they are rendered
changed (mu is changed to the proportionality symbol and degree is
changed to something resembling a gamma) in the X-device. If I make a
pdf of the plot and open the file in Evince or Okular symbols are also
rendered wrong, however if I open the file
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