Vertical Text Rendering Plug-in for GIMP2
Index
This plug-in is used for rendering vertical writing text. It support not only
vertical text but japanese specific typesetting rules (ruby, horizontal line
in vertical line (called tate-chu-yoko)), emphasized dot mark, combining voice
sound marks, unicode ivs and etc...
layer.
Microsoft Window
Get pre-compiled binary. It contains tategaki.exe and gimp20-tategaki.po (japanese locale).
Copy tategaki.exe to plug-in folder. By the default, the folder is may be
C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins.
Unix/Linux
configure, make, make install.
Apple OS X
Copy tategaki to /Applications/GIMP.app/Contents/Resources/lib/gimp/2.0/plug-ins/
Start from <Filter>/ReddogPlug/Tategaki...
You must set Font directory to use fonts.
- Font
- Select Fonts
- Font Size
- Select font size and units.
- text dir
- Select text direction. vertical or horizontal.
- Line Align
- Select Line alignment.Top, Center, Bottom, Both.
- Yakumono
- Yakumono means Japanese punctuation mark. Select yakumono spacing.
BetaGumiDoes not spacing. It use advance of font.
YakuTsumeyakumono that has EM square size makes half size advance.
JISX4051yakumono are treated as defined by JISX4051.
- Line Pitch
- Pitch of lines.
- Tracking
- Pitch of chars.
- Kerning
- Enable kerning.
- Antialias
- Enable antialias.
- Edging
- Draw font edge used background color.
Allow to use another font according to char class.
- Enable Ruby Transform
- If ruby-string is longer than parent-string, transform ruby-string.
- Ruby Max Transform Rate
- max transfrom rate.
Ruby Command
Use ruby command to set ruby.
[ruby parent-string ruby-string]
Args
- parent-string
- string of base(parent).
- ruby-string
- string of ruby.
Example
[ruby 京都 きようと]
space is used for split tokens, use \ to escape it.
ruby commands
ruby | same as rjje |
rt | top |
rc | center |
rb | bottom |
rja | both(0:1:0) |
rjj | 1:2:1(JIS X 4051) |
If ruby is longer than parent, then parent have empty spaces. |
rte | top |
rce | center |
rbe | bottom |
rjae | both(0:1:0) |
rjje | 1:2:1(JIS X 4051) |
It is calld tate-chu-yoko.
- Auto Yoko
- Sequence of Ascii number and ! and ? are rotated 90 digree in vertical text direction automatically
- Auto Yoko Digits
- sequence max digits of tate-chu-yoko.
Yoko Command
[yoko string]
[yoko string trans-rate]
[yoko string trans-rate alignment]
- string
- string for horizontal
- trans-rate
- 0(default) makes the object to EM square. If 1.0 then not compressed.
- alignment
- t(top), c(center), b(bottom)
Example
[yoko km]
[yoko !!!!! 1]
[yoko '90 1 bottom]
Use dot command to put it on side (or top) of chars.
- Ignore Yakumono
- Does not put dot on punctuation marks
- Align dot
- Align dots if glyph size is not same.
Dot command
It support dot and goma(sesame dot).
[dot string]
[goma string]
[dot 猛犬注意]
[goma 猛猫注意]
Use scaling command to shrink strings.
Scale command
[scale string trans-rateA]
[scale string trans-rateA trans-rateB]
- string
- string to scale.
- trans-rateA
- if text-dir is vertical then x, when horizontal then y. 1.0 has no scaling. 0.5 is half size.
- trans-rateB
- if text-dir is vertical then y, when horizontal then x.
[scale 巨大文字 2]
[scale 長い文字 0.5 1]
Tools for test.
Enable to save paramters to preset. and restore it.
- Load
- Restore from preset.
- Save
- Save current parameter to preset.
- Delete
- Remove preset from preset list.
- Update List
- Update preset list.
Set Font directory in FontDir Tab.
And then restart tategaki plug-in.
- Modify
- If selected layer is created by tategaki plugin, enter modify mode and
you can change parameters. Press Apply button to save it again.
- Apply
- Apply changed paramter to layer and exit modify mode.
- Cancel
- exit modify mode
- Create
- create new tategaki plugin layer.
- Close
- Close dialog window.
- Hide...
- Hide parameter tabs.
- Topmost
- Topmost the dialog.
OHTSUKA, Yoshio <ohtsuka.yoshio@gmail.com>