Open dingo-d opened 7 years ago
@dingo-d
.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fontcustom-1.3.8/lib/fontcustom.rb
and change line 22 to:
:templates => %w|css preview|
I will try this, thanks!
This was fixed in https://github.com/FontCustom/fontcustom/pull/346 (see https://github.com/FontCustom/fontcustom/issues/344), but a new version of the gem hasn't been released. You can install the fontcustom gem from github by following the instructions from the README, but replacing
gem install fontcustom
with
git clone https://github.com/FontCustom/fontcustom.git && cd fontcustom
gem build fontcustom.gemspec
gem install fontcustom-*.gem
Alternatively, if you're using bundler, you can change the entry in your Gemfile to
gem 'fontcustom', git: 'https://github.com/FontCustom/fontcustom.git'
@JakeBeresford Would it be possible to release a new minor version of the gem? A few people seem to be having trouble with it.
tried that and now get
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 508: ordinal not in range(128) error fontforge compilation failed.
I added new icons to my icons folder and tried to compile it using
fontcustom compile app/assets/icons/ --config=config/fontcustom.yml
But I get the following error
The project is using the latest fontcustom gem (2.0.0)