Displaying 20 results from an estimated 7000 matches similar to: "Embedding R's math expressions fonts for graphics generated by pdf() and postscript()"
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 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 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 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
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
>>>>> 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
2024 Mar 11
1
evince not showing "greek" and "math" in *.pdf plots
This problem has bugged me for several years now,
and our own IT staff has tried a few things, but then never
cared enough to persist fixing it.
It *is* a bug in evince, the standard pdf viewer on Fedora and
IIUC also quite few other Linux distributions, and
*not* a bug in R; hence I am asking for help/hints here.
A very simple example:
2024 Mar 11
1
evince not showing "greek" and "math" in *.pdf plots
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 Viewer 45.0
$ R --version
R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
Copyright (C) 2024 The R Foundation for Statistical
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
2006 May 15
1
PDF viewer?
Hi,
I'm looking for a usable PDF viewer with CentOS 4.3. On my previous install
(Slack running XFCE with a handful of GNOME libs), I used Evince, which is just
great. Looks like this is an Achilles' heel in CentOS, as I tested three
available PDF viewers (ggv, gsview, acroread) with various PDF documents
downloaded from the internet (which all display perfectly with Evince): either
the
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
2009 Feb 08
2
Embedding fonts in pdf graphics
I know you can control this with the cairo package, but I was hoping
that embedFonts( ) would provide a way to embed all fonts, not just the
non-standard ones. I'm submitting graphics to a journal that wants
Helvetica and Helvetica-bold embedded for some reason. Is there an easy
way to do this on a pdf graphic created wit pdf()? A linux system
command would be excellent for my purpose.
2008 Mar 05
1
embedFonts() side-effect under 2.6.2 ?
I received the following as a Debain bug report (cf
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469560)
To reproduce:
1) Run the following commands:
filename <- 'test.pdf'
pdf(filename)
plot(1:10)
dev.off()
2) Open test.pdf (I use Evince, but the same with Adobe Acrobat). Make
sure there are ten hollow points in the plot. This is correct.
2008 Mar 08
2
pdflatex: fuzzy fonts in Evince, but not on paper output
Hi,
I've been using LaTeX for a few years on Mac OS X, and I'd like to use
it on CentOS now. I installed a complete environment using 'yum
groupinstall "Authoring and Publishing"' and then installing tetex-xdvi,
plus manually installing the 'memoir' class.
I can run 'latex document.tex' ok: the resulting .dvi looks nice in
xdvi. When running
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 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')
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
2010 Dec 14
1
postscript failure manifests in plot.TukeyHSD
Hello R Developers,
Dear R-developers,
I ran some standard tests with currently (today morning) compiled R release
candidate in Linux R 2.12.1 RC (2010-12-13 r53843). Some of these tests used
plot.TukeyHSD function. This worked OK on the screen (X11 device), but
PostScript file could not be rendered. The following example had the problem
with me:
postscript(file="tukeyplot.ps")