Skip to content
Prev 872 / 919 Next

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 14 Fonts ...

"These fonts have built-in encodings that are unique to each
font."

... and ...

"These fonts, or their font metrics and suitable substitution fonts, 
must be available to the consumer application."

In other words, R passes the buck to the viewer to either have access to 
the Adobe Symbol font or use a substitute that has all of the necessary 
glyphs (and in that case, presumably to also take care of satisfying the 
Adobe Symbol Encoding).

It is possible for the R user to specify a different font name for the 
symbol font for PDF output, but that font has to have all of the 
necessary glyphs and it has to follow the Adobe Symbol Encoding or all 
bets are off.

Paul
On 12/03/24 06:59, I?aki Ucar wrote: