Skip to content
This repository has been archived by the owner on Sep 15, 2020. It is now read-only.

fix windows path issue #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix windows path issue #3

wants to merge 1 commit into from

Conversation

witwall
Copy link
Owner

@witwall witwall commented Jul 30, 2015

use basename to let get_filename support both Windows and Linux path

use basename to let get_filename support both Windows and Linux path
@joseluisct
Copy link

joseluisct commented Jan 24, 2018

I have an error converting some pdf files, it is:
Internal Error: File Offset wrong for ttf table (name-data), -1 expected 174
Cannot save font to C:\Users\test\AppData\Local\Temp//pdf2htmlEX-a14136/__tmp_font1.ttf

As you can see, Path contains Windows and Linux bar... It is related to this issue?

I'm using Windows last executable:

pdf2htmlEX version 0.14.6
Copyright 2012-2015 Lu Wang [email protected] and other contributors
Libraries:
poppler 0.33.0
libfontforge 20150621
cairo 1.12.18
Supported image format: png jpg svg

Thanks.

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

Successfully merging this pull request may close these issues.

2 participants