mirror of
https://github.com/sunaku/tamzen-font.git
synced 2024-09-11 11:55:40 +03:00
revert encoding after appeasing bitmap-font-patcher
This commit is contained in:
parent
5633e890b7
commit
8205664b6f
3
Rakefile
3
Rakefile
@ -162,9 +162,10 @@ file '.powerline' => ['.tamzen', 'bitmap-font-patcher'] do
|
||||
source_font
|
||||
else
|
||||
IO.popen('bitmap-font-patcher/fontpatcher.py', 'w+') do |patcher|
|
||||
# XXX: patcher *only* operates on ISO10646 encoded fonts
|
||||
patcher.write File.read(src).gsub('ISO8859', 'ISO10646')
|
||||
patcher.close_write
|
||||
Font.new(nil, patcher.read)
|
||||
Font.new(nil, patcher.read.gsub('ISO10646', 'ISO8859'))
|
||||
end
|
||||
end
|
||||
File.write dst, target_font.to_s.gsub(*rename)
|
||||
|
Loading…
Reference in New Issue
Block a user