Skip to content

Fix file path parser for font files #3

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

Closed
chrissimpkins opened this issue Mar 30, 2016 · 4 comments
Closed

Fix file path parser for font files #3

chrissimpkins opened this issue Mar 30, 2016 · 4 comments
Labels

Comments

@chrissimpkins
Copy link
Member

Active bug identified in v0.5.3

From @Phantom-code in Hack repository source-foundry/Hack#188 (comment):

I've run font-line percent 20 ./Hack-Regular.ttf and got the following error:

[font-line] ERROR: Unable to modify the line spacing in the font file './Hack-Regular.ttf'. [Errno 2] No such file or directory: '-linegap20./Hack-Regular'

@chrissimpkins
Copy link
Member Author

Failing tests added

@chrissimpkins
Copy link
Member Author

Fixed in Unix/Linux

@chrissimpkins
Copy link
Member Author

Fixed in Windows

@chrissimpkins
Copy link
Member Author

cc: @Phantom-code

Fixes released as v0.5.4. Now available on PyPI and can be installed with pip:

$ pip install --upgrade font-line

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

No branches or pull requests

1 participant