pdf2htmlEX
pdf2htmlEX copied to clipboard
Segmentation fault (core dumped) error but the font f1 can be opened in fontforge
there is only one char in the pdf, however, crashed with error
app@server:~/test$ pdf2htmlEX --debug 10 --zoom 1.3 test0.pdf temporary dir: /tmp/pdf2htmlEX-soSG7H Preprocessing: 1/1 Add new temporary file: /tmp/pdf2htmlEX-soSG7H/__css Add new temporary file: /tmp/pdf2htmlEX-soSG7H/__outline Add new temporary file: /tmp/pdf2htmlEX-soSG7H/__pages Install font 1: (5 0) ABCDEE+Arial Unicode MS Add new temporary file: /tmp/pdf2htmlEX-soSG7H/f1.ttf Embed font: /tmp/pdf2htmlEX-soSG7H/f1.ttf 1 The following table(s) in the font have been ignored by FontForge Ignoring 'DSIG' digital signature table Ignoring 'LTSH' linear threshold table Ignoring 'hdmx' horizontal device metrics table Add new temporary file: /tmp/pdf2htmlEX-soSG7H/__raw_font_1.ttf em size: 2048 Add new temporary file: /tmp/pdf2htmlEX-soSG7H/f1.map Missing space width in font 1: set to 1 space width: 1 Add new temporary file: /tmp/pdf2htmlEX-soSG7H/__tmp_font1.ttf Add new temporary file: /tmp/pdf2htmlEX-soSG7H/__tmp_font2.ttf Segmentation fault (core dumped)
there are f1.ttf and __raw_font_1.ttf in the dir "pdf2htmlEX-soSG7H" , I can open them by the latest fontforge ( 2016-10-04 Release )
pdf2htmlex ( 0.14.6 )
ubuntu server 16.04.02
thanks for the help
iam getting similar issue
...
NOTIFICATION OF LICENSE AGREEMENT
pdf2htmlex_1 |
pdf2htmlex_1 | You may use this font as permitted by the EULA for the product in which this font is included to display and print content. You may only (i) embed this font in content as permitted by the embedding
pdf2htmlex_1 | Add new temporary file: /tmp/pdf2htmlEX-9lZwFc/__raw_font_9.ttf
pdf2htmlex_1 | em size: 2048
pdf2htmlex_1 | Add new temporary file: /tmp/pdf2htmlEX-9lZwFc/f9.map
pdf2htmlex_1 | Missing space width in font 9: set to 1
pdf2htmlex_1 | space width: 1
pdf2htmlex_1 | Add new temporary file: /tmp/pdf2htmlEX-9lZwFc/f9.woff
pdf2htmlex_1 | Install font a: (36 0) ABCDEE+MS Mincho
pdf2htmlex_1 | Add new temporary file: /tmp/pdf2htmlEX-9lZwFc/fa.ttf
pdf2htmlex_1 | Embed font: /tmp/pdf2htmlEX-9lZwFc/fa.ttf 10
pdf2htmlex_1 | Add new temporary file: /tmp/pdf2htmlEX-9lZwFc/__raw_font_a.ttf
pdf2htmlex_1 | em size: 256
pdf2htmlex_1 | Add new temporary file: /tmp/pdf2htmlEX-9lZwFc/fa.map
pdf2htmlex_1 | Missing space width in font a: set to 1
pdf2htmlex_1 | space width: 1
Segmentation fault (core dumped)
pdf2htmlEX version 0.12
Copyright 2012-2014 Lu Wang <[email protected]> and other contributors
Libraries:
poppler 0.26.5
libfontforge 20120731
Default data-dir: /usr/share/pdf2htmlEX
Supported image format: png jpg
Warning: pdf2htmlEX has been built with a too old version of Fontforge, which is not supported.
is there a way for us to get paid service to fix this?
@wangtao @u007 Are you still experiencing this problem?
I was having the same issue on Ubuntu 16. I fixed it by installing @coolwanglu's fork of fontforge and rebuilding pdf2htmlEX.
the fork of fontforge is available here: https://github.com/coolwanglu/fontforge