-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
If you happen to be using Ubunu, you can install ipaexm.ttf with
sudo apt-get install fonts-ipaexfont-mincho
I then get the following error:
> library(extrafont)
Registering fonts with R
> font_import()
Importing fonts may take a few minutes, depending on the number of fonts and the speed of the system.
Continue? [y/n] y
Scanning ttf files in /usr/share/fonts/ ...
Extracting .afm files from .ttf files...
/usr/share/fonts/opentype/ipaexfont-mincho/ipaexm.ttf*** Error in `/usr/local/lib/R/site-library/Rttf2pt1/exec//ttf2pt1': corrupted double-linked list: 0x0000000001da16d0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x77725)[0x7ff98a19f725]
/lib/x86_64-linux-gnu/libc.so.6(+0x80679)[0x7ff98a1a8679]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7ff98a1ababc]
/lib/x86_64-linux-gnu/libc.so.6(fclose+0x103)[0x7ff98a195313]
/usr/local/lib/R/site-library/Rttf2pt1/exec//ttf2pt1[0x403aec]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7ff98a148830]
/usr/local/lib/R/site-library/Rttf2pt1/exec//ttf2pt1[0x404969]
======= Memory map: ========
00400000-00425000 r-xp 00000000 08:02 8788508 /usr/local/lib/R/site-library/Rttf2pt1/exec/ttf2pt1
00624000-00625000 r--p 00024000 08:02 8788508 /usr/local/lib/R/site-library/Rttf2pt1/exec/ttf2pt1
00625000-00627000 rw-p 00025000 08:02 8788508 /usr/local/lib/R/site-library/Rttf2pt1/exec/ttf2pt1
00627000-00a30000 rw-p 00000000 00:00 0
01da1000-09414000 rw-p 00000000 00:00 0 [heap]
7ff984000000-7ff984021000 rw-p 00000000 00:00 0
7ff984021000-7ff988000000 ---p 00000000 00:00 0
7ff9895b1000-7ff9895c7000 r-xp 00000000 08:02 5116362 /lib/x86_64-linux-gnu/libgcc_s.so.1
7ff9895c7000-7ff9897c6000 ---p 00016000 08:02 5116362 /lib/x86_64-linux-gnu/libgcc_s.so.1
7ff9897c6000-7ff9897c7000 rw-p 00015000 08:02 5116362 /lib/x86_64-linux-gnu/libgcc_s.so.1
7ff9897c7000-7ff98a128000 rw-p 00000000 00:00 0
7ff98a128000-7ff98a2e8000 r-xp 00000000 08:02 5116324 /lib/x86_64-linux-gnu/libc-2.23.so
7ff98a2e8000-7ff98a4e7000 ---p 001c0000 08:02 5116324 /lib/x86_64-linux-gnu/libc-2.23.so
7ff98a4e7000-7ff98a4eb000 r--p 001bf000 08:02 5116324 /lib/x86_64-linux-gnu/libc-2.23.so
7ff98a4eb000-7ff98a4ed000 rw-p 001c3000 08:02 5116324 /lib/x86_64-linux-gnu/libc-2.23.so
7ff98a4ed000-7ff98a4f1000 rw-p 00000000 00:00 0
7ff98a4f1000-7ff98a5f9000 r-xp 00000000 08:02 5116394 /lib/x86_64-linux-gnu/libm-2.23.so
7ff98a5f9000-7ff98a7f8000 ---p 00108000 08:02 5116394 /lib/x86_64-linux-gnu/libm-2.23.so
7ff98a7f8000-7ff98a7f9000 r--p 00107000 08:02 5116394 /lib/x86_64-linux-gnu/libm-2.23.so
7ff98a7f9000-7ff98a7fa000 rw-p 00108000 08:02 5116394 /lib/x86_64-linux-gnu/libm-2.23.so
7ff98a7fa000-7ff98a820000 r-xp 00000000 08:02 5116296 /lib/x86_64-linux-gnu/ld-2.23.so
7ff98a9ec000-7ff98a9ef000 rw-p 00000000 00:00 0
7ff98aa1c000-7ff98aa1f000 rw-p 00000000 00:00 0
7ff98aa1f000-7ff98aa20000 r--p 00025000 08:02 5116296 /lib/x86_64-linux-gnu/ld-2.23.so
7ff98aa20000-7ff98aa21000 rw-p 00026000 08:02 5116296 /lib/x86_64-linux-gnu/ld-2.23.so
7ff98aa21000-7ff98aa22000 rw-p 00000000 00:00 0
7ffd288a6000-7ffd288cf000 rw-p 00000000 00:00 0 [stack]
7ffd289aa000-7ffd289ac000 r--p 00000000 00:00 0 [vvar]
7ffd289ac000-7ffd289ae000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
I've seen this on a few systems, but this particular output is from Ubuntu 16.04 and:
$ R --version
R version 3.3.0 (2016-05-03) -- "Supposedly Educational"
> packageVersion("Rttf2pt1")
[1] ‘1.3.4’
> packageVersion("extrafont")
[1] ‘0.17’
Finally, thank you for your work on these packages! They are quite useful.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels