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

Font file for Calvin is missing...? #17

Closed
osher opened this issue Jan 15, 2015 · 2 comments
Closed

Font file for Calvin is missing...? #17

osher opened this issue Jan 15, 2015 · 2 comments

Comments

@osher
Copy link

osher commented Jan 15, 2015

I'm using figlet to draw a success banner in a prepublish hook,
I've been using it happily for quite a while, where the success banner choses a font in random - but I have encountered today the following error:

ERROR <proj>-compiler - processing ended { [Error: ENOENT, open '/opt/jenkins/jobs/<project>/workspace/node_modules/<utility-package>node_modules/figlet/lib/../fonts/Calvin.flf']
  errno: 34,
  code: 'ENOENT',
  path: '/opt/jenkins/jobs/<project>/workspace/node_modules/<utility-pkg>/node_modules/figlet/lib/../fonts/Calvin.flf' }
Error: ENOENT, open '/opt/jenkins/jobs/<project>/workspace/node_modules/<utility-pkg>/node_modules/figlet/lib/../fonts/Calvin.flf'
FATAL osg-rules-compiler:CLI - compilation complete with errors
npm ERR! weird error 1
npm ERR! not ok code 0

I could note that the font file for Calvin is missing on the disk...
I can see there Calvin S though...

maybe something is lost with names?

@osher
Copy link
Author

osher commented Jan 15, 2015

Oi. My bad.
The list of fonts to random from got an error.
One of us decided that not all of the fonts look good, made a list and the error is there...

@osher osher closed this as completed Jan 15, 2015
@patorjk
Copy link
Owner

patorjk commented Jan 15, 2015

I double checked and it looks like Calvin S was one of the fonts I converted over from TheDraw. I only converted over a hand full of fonts - do you think Calvin should be added? It's been a while since I looked. I only did a hand full because my process for converting over required some manual work.

Essentially I have a script that decodes TheDraw files (puts it into unicode and strips out the color information) as best as it can and then I paste the output into this editor - http://patorjk.com/figlet-editor/#/edit

A script that fully converts the files would be better, but I wasn't able to fully figure out the file format, so some manual work is needed to make sure all of the characters are correct.

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

2 participants