Re: I'd like to make a Japanese font for vertical writing.
I'm unfamiliar with inkscape, do you mean that
"I have an OpenType font which some advanced applications
can show the glyphs for vertical writing mode, but inkscape
cannot, because inkscape cannot choose appropriate glyph via
OpenType extensions, so I want to make a font whose glyph ID
is set to the glyph for vertical writing mode by default" ?
If the glyph ID is only the problem, the process would
be something like (I've not tried).
1) decode a font into SFD format
2) SFD file may include some glyphs with the name
including OpenType vertical writing mode layout feature,
like "xxxx.vert" or "xxxx.vrt2". Also there are
corresponding glyphs with the name without suffix, "xxxx",
that would be for the horizontal writing mode.
3) Change the glyph name with the suffix "vert" "vrt2" to
the name without the suffix. Of course, it causes the
glyph name conflict. So, you will have to change the
name of glyphs for horizontal writing mode. I don't know
the layout feature to specify horizontal writing mode,
so maybe "aalt" or "ss01" .. "ss20" could be the candidates.
4) after changing SFD, regenerate an OpenType.
However, CJK vertical writing mode requires the centerline
alignment, it is different from baseline alignment for
popular Latin horizontal baseline alignment. I'm afraid
that the text layout system without the consideration of
the vertical writing mode lacks this feature, and the
resulted text might be something like a poor emulation of
vertical text made by the insertion of newline between
between every character.
服部 頼義 wrote:
> inkscape can't change a Japanese font for vertical writing.
> I'd like to make a Japanese font for vertical writing.
> I'd like to replace in glyph for vertical writing for the change in the Japanese font.
> I'd like to know the way to replace.