[R] embedd fonts in pdf generated by R

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Jan 10 20:48:08 CET 2014


On 10/01/2014 19:29, Adel ESSAFI wrote:
> Hello list
> I generated pdf files with R that I integrated
> in .tex file and compiled with pdflatex.
>
> however, all the fonts of my R figure not embadded. so the file is rejected
> from EDAS web site.
>
> Could you help please.

If you have suitable licenses for those fonts, see ?embedFonts (surely 
an obvious thing to search for!).

Otherwise, select fonts you do have a license to embed.

And see the posting guide: a reproducible example would have helped a 
lot here.

>
>
> [adel at localhost hcw]$  pdffonts hcw.pdf
> name                                 type              encoding         emb
> sub uni object ID
> ------------------------------------ ----------------- ---------------- ---
> --- --- ---------
> ZIMYVR+NimbusRomNo9L-Medi            Type 1            Custom           yes
> yes no       7  0
> EYECKV+NimbusRomNo9L-Regu            Type 1            Custom           yes
> yes no       8  0
> WKYGSZ+CMSY8                         Type 1            Builtin          yes
> yes no       9  0
> TEABSF+NimbusRomNo9L-ReguItal        Type 1            Custom           yes
> yes no      10  0
> MPLOPB+NimbusRomNo9L-MediItal        Type 1            Custom           yes
> yes no      11  0
> XSKVTD+CMMI10                        Type 1            Builtin          yes
> yes no      19  0
> NKXZUI+CMSY10                        Type 1            Builtin          yes
> yes no      20  0
> PVJEEI+CMR10                         Type 1            Builtin          yes
> yes no      21  0
> TEORRU+CMR7                          Type 1            Builtin          yes
> yes no      22  0
> NGESNP+CMMI7                         Type 1            Builtin          yes
> yes no      23  0
> ZDXXKY+CMMI5                         Type 1            Builtin          yes
> yes no      24  0
> VGZAHY+CMR5                          Type 1            Builtin          yes
> yes no      25  0
> NOPBSI+CMSY5                         Type 1            Builtin          yes
> yes no      26  0
> ZYGQZM+CMMI6                         Type 1            Builtin          yes
> yes no      27  0
> QRZPBZ+CMMI8                         Type 1            Builtin          yes
> yes no      28  0
> TZYURE+MSBM10                        Type 1            Builtin          yes
> yes no      29  0
> HIBZGW+Times-Roman                   Type 1C           WinAnsi          yes
> yes no      37  0
> QLAAJV+CMSY7                         Type 1            Builtin          yes
> yes no      46  0
> RMTRPB+CMEX10                        Type 1            Builtin          yes
> yes no      47  0
> BNPUIJ+Courier                       Type 1C           WinAnsi          yes
> yes no      60  0
> GZSZHC+Times-Roman                   Type 1C           WinAnsi          yes
> yes no      61  0
> QBHKPM+Times-Roman                   Type 1C           WinAnsi          yes
> yes no      70  0
> Symbol                               Type 1            Custom           no
> no  no      81  0
> ZapfDingbats                         Type 1            Custom           no
> no  yes     82  0
> Helvetica                            Type 1            Standard         no
> no  no      83  0

> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

PLEASE do.


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list