naitoh / rbpdf

Ruby on Rails TCPDF plugin
GNU Lesser General Public License v2.1
30 stars 21 forks source link

Please bundle the source of ttf2ufm #31

Open enricotagliavini opened 8 years ago

enricotagliavini commented 8 years ago

Source code for tt2ufm is missing from the gem and the provided binaries are limited. The gem should not bundle pre-compiled binaries, but compile them at install time.

naitoh commented 8 years ago

tt2ufm source code is 577ab37b317022c8d3317a59f4fda70be3937fc8.

clandmeter commented 8 years ago

Please do not include pre-compiled binaries, Alpine Linux is musl libc based, so this will not work. Please add support for building it from source in your gem.

btlogy commented 5 years ago

I was trying to package this gem on CentOS 7 and I was wondering why it AutoRequires glibc.i686 on a x64_86 arch:

rbpdf-font-1.19.1/lib/fonts/ttf2ufm/ttf2ufm: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

I guess building ttf2ufm from source within the gem will also fix this problem. But I'm not going to have time to PR on this, sorry.