Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fontforge crashes when using pdf2htmlEX,is resolved by using branch of fork of fontforge-- why? #2751

Closed
rorycforster opened this issue Jul 22, 2016 · 2 comments

Comments

@rorycforster
Copy link

Summary:
When I run pdf2htmlEX on this pdf with the current version of fontforge, it segfaults. I believe this has to do with fontforge because it does not segfault and successfully converts when I use this branch of this fork of fontforge: https://github.com/coolwanglu/fontforge/tree/pdf2htmlEX I'm using Fontforge version 20160404 on an Ubuntu OS.

Output of pdf2htmlEX --debug 1 test.pdf
Add new temporary file: /tmp/pdf2htmlEX-xZD5TS/f2c9.woff
Add new temporary file: /tmp/pdf2htmlEX-xZD5TS/bg1f0.png
Install font 2ca: (23938 0) Helvetica-Bold
Embed font: /usr/share/fonts/type1/gsfonts/n019004l.pfb 714
Add new temporary file: /tmp/pdf2htmlEX-xZD5TS/__raw_font_2ca.pfb
em size: 1000
Add new temporary file: /tmp/pdf2htmlEX-xZD5TS/f2ca.map
space width: 0.278
Add new temporary file: /tmp/pdf2htmlEX-xZD5TS/f2ca.woff
Segmentation fault (core dumped)

When I try to attach the last mentioned font file(f2ca.woff) to this post, I get the error that the file is empty.
When I try to open it in the fontforge GUI:
screen shot 2016-07-22 at 11 49 42 am

@rorycforster rorycforster changed the title Internal Error: assembly tables at wrong place FontForge crashes using pdf2html, resolved by using https://github.com/coolwanglu/fontforge/tree/pdf2htmlEX Jul 22, 2016
@rorycforster rorycforster changed the title FontForge crashes using pdf2html, resolved by using https://github.com/coolwanglu/fontforge/tree/pdf2htmlEX fontforge crashes using pdf2html, resolved by using branch of fork of fontforge-- why? Jul 22, 2016
@rorycforster rorycforster changed the title fontforge crashes using pdf2html, resolved by using branch of fork of fontforge-- why? fontforge crashes when using pdf2htmlEX,is resolved by using branch of fork of fontforge-- why? Jul 22, 2016
@QGB
Copy link

QGB commented Jan 23, 2020

hi @rorybudnick
i got “Internal Error: assembly tables at wrong place” too
how to solve that

@ctrlcctrlv
Copy link
Member

This is not a valid bug. Of course you are supposed to use @‌coolwanglu's fork of FontForge with pdf2htmlEX, which, besides, is no longer maintained.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants