Tags:

7 hours ago

I wish it was as simple as the title... But it isn't.

What I want is to add Japanese text with right orientation (up to down, right to left), and if there's such a thing, furigana as well.

Gimp fails at it, and I've read "there's better programs to do that" but they didn't remember to add "like insert name"...

Krita has a way of getting in my nerves, as it sometimes crashes after entering editing mode (as soon as it opens or creates a file). And it's moody, when Ubuntu restarts, it sometimes works, it sometimes goes back to crashing. I'm not sure if it has or not this feature, but since there's this problem, I'd like another.

Random image out of google as example: http://ginsaji-blog.img.jugem.jp/20120713_70049.jpg

So that's it I guess. Hope someone can help me. :)

21 hours ago

One possible option is Inkscape. You can import your image with File/Import..., then add your text with the Text tool. Vertical orientation is available through the dropdown at the right end of the toolbar (Orientation/Vertical).

You can of course add furigana using the same method, by shrinking the text and aligning it appropriately. It can be a bit tedious for a bunch of text though, so another idea I had was to use the formatting available in latex, build a pdf and then import that into Inkscape. Here is an example file:

\documentclass{article}

\usepackage{CJK, CJKvert}
\usepackage[CJK, overlap]{ruby}

\pagenumbering{gobble}

\begin{document}
\begin{CJK*}{UTF8}{min}
\CJKvert
\ruby{å¥å¨}{ãããã}ãªã\ruby{é­}{ãã¾ãã}ã¯ã

\ruby{å¥å¨}{ãããã}ãªã\ruby{ç²¾ç¥}{ãããã}ã¨

\end{CJK*}
\end{document}


This can be built into a pdf with pdflatex, though it is going to require at least the latex-cjk-japanese package. The pdf can then be imported with File/Import... in Inkscape.