fix wrong u? and y? glyphs
[terpinus.git] / copy.rb
blob5de9f3a4370003c8889851e9b2317059c1fcbeda
1 #!/usr/bin/ruby
2 # this program copies Vietnamese glyphs from source bdf to target bdf,
3 # overwriting the old ones if exist. It is used to bring your modified
4 # glyphs back to source bdf as fontforge-generated bdf is usually too
5 # different from the source bdf
6 # Usage: ./copy.rb modified.bdf source.bdf output.bdf
7 # Once you check that output.bdf is okay, overwrite source.bdf
8 # with output.bdf
9 require 'bdf'
10 a = BDF.new(ARGV[0])
11 b = BDF.new(ARGV[1])
12 b.copy_all(a)
13 b.write(ARGV[1])