Ming/Ruby is a Ruby extensional
library for Ming which is
independent of SWIG.
Ming/Ruby also supports another version of Ming, called
which is an improvement of Ming to display Japanese characters and to
play sounds. To use Japanese fonts with JaMing, the letters must be
followed the UTF-8 formats.
which is an UTF-8 extension library for Ruby, can be used to convert
other Kanji encodings into Unicode.
Ming/Ruby version 0.1.6
is available. Please download and try it. :)
project history to check changes.
Ming/Ruby works with
Ruby version 1.6.7 and both
JaMing version 0.1.5.
Unfortunately, the current CVS version Ming is not
supported by Ruby/Ming because some interfaces are changed from Ming ver
0.2a. We need new codes to support future CVS versions.
Here is an example of Ming/Ruby with JaMing and Uconv
to display Japanese characters.
Have a fun to create your Flash movie with Ruby.
$KCODE = 'e'
s = Uconv.euctou8('$BF|K\8l(B')
m = SWFMovie.new
t = SWFText.new
f = SWFFont.new('some_japanese.fdb') # we have to prepare the Japanese font
t.set_color(0x00, 0x70, 0xc0)
i = m.add(t)
See also another examples.
Ming of stable version 0.2a cannot be installed with recent GNU
Bison (version > 1.35) because of a bug in the 'swf4compiler.y'.
I recommend to compile Ming with GNU Bison 1.35.