You'd just need to provide a %Katakana table which resembles the %Hiragana table. This maps romaji syllables to Unicode glyph codepoints. Note that for katakana, there are a couple differences to learn, such as how to support foreign sounds like "va."

--
[ e d @ h a l l e y . c c ]


In reply to Re^2: Practice your Hiragana with Image::Magick by halley
in thread Practice your Hiragana with Image::Magick by halley

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":