patorjk / figlet.js

A FIG Driver written in JavaScript which aims to fully implement the FIGfont spec.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Font name problem

ulwanski opened this issue · comments

I just spend a few days, debuging problems with rpm build in my project. I discover, that package was unable to build because of ' character in fonts name (node_modules/figlet/fonts/Patorjk's?Cheese.flf), it's causing some strange errors in building package.
Is there any possibility to change this font name to "PatorjksCheese.flf" or similar?

Fonts causing problems:

  • node_modules/figlet/fonts/Patorjk's?Cheese.flf
  • node_modules/figlet/importable-fonts/Patorjk's?Cheese.js

I'd need a little more info. That's a valid filename, so I'm confused why it would be causing you build issues. What OS are you using? Are you using that font in your app? If not, you could have your scripts delete that font. If you are using that font, you could create a separate file with a different file name and just point figlet to that file.

I have error during building rpm package on CentOS 7.
I will use script deleting that font, thanks for help :)