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

Clean name for new output directory #40

Merged
merged 1 commit into from
Oct 11, 2015

Conversation

zuphilip
Copy link
Collaborator

The font may be saved below in the file tree and therefore the new direcotry will start with ../ which is by default a invisible file. E.g.

ocropus-linegen -t ../text-generation/text.txt -f ../text-generation/font.ttf -m 5 -o ../text-generation/linegen

will create a directory /text-generation/linegen/.._font/ which is mostly invisible and the naming in this case is really ugly.

This should be an easy and safe fix.

The font may be saved below in the file tree and therefore the new direcotry will start with `../` which is by default a invisible file. E.g.
```
ocropus-linegen -t ../text-generation/text.txt -f ../text-generation/font.ttf -m 5 -o ../text-generation/linegen
```
will create a directory `/text-generation/linegen/.._font/`.

This should be an easy and safe fix.
tmbdev added a commit that referenced this pull request Oct 11, 2015
Clean name for new output directory
@tmbdev tmbdev merged commit 90e2f27 into ocropus-archive:master Oct 11, 2015
@zuphilip zuphilip deleted the patch-1 branch October 11, 2015 18:48
kba pushed a commit to kba/ocropy that referenced this pull request Dec 16, 2017
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

Successfully merging this pull request may close these issues.

2 participants