On Thu, 2015-10-22 at 10:23 -0700, Chris Tooley wrote:
I think I might be able to shed some light, I have encountered a problem with vertical writing recently too - which I had to kind of munge to get around.
When I write any Japanese text which requires a dash (choonpu: https://en.wikipedia.org/wiki/Ch%C5%8Donpu) or parentheses, the parentheses or dash do not get rendered vertically (i.e. rotated 90 degrees), they only get placed vertically along with the rest of the text. I am unsure if this is a font issue or something else, but my solution ended up being to put a space in the text, then create a new text object with the characters I wanted, then rotate them 90 degrees. This is not optimal though :P
I've attached an example inkscape svg (with the font used, and the rendered png), which shows the text as it is typed, vs the text as it should be. Hopefully I've made it clear enough :P (OS of svg origin: Linux, Inkscape v. 0.91)
Perhaps the new 'text-orientation' property will solve this. I haven't tried it yet :)
My 'text-orientation' code does render the 'choonpu' in the correct directions. I'm not 100% clear on the exact font/shaper interactions for this glyph. The font you attached has a normal 'choonpu' as well as a vertical alternate. Since this is vertical text, the vertical alternate should be selected. The alternate glyph is shown in FontForge in the vertical orientation but then if you select it to edit it, it shows it in a horizontal orientation. Inkscape partially uses Pango for text layout. I've implemented 'text-orientation' using Pango's 'gravity' concept which automatically orientates glyphs according to Unicode tables. I am guessing that Pango should be rotating the 'choonpu' according to the writing mode which it seems that it does.
On Thu, Oct 22, 2015 at 1:32 AM, 服部 頼義 <yori5070@...1147...> wrote:
I'm sorry , we have to change the permissions.
https://drive.google.com/open?id=0Bw6vYjcFltUVYW0wXzExRDVQZXM https://drive.google.com/open?id=0Bw6vYjcFltUVcmlTTlh1ZmNBNUE
Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-us
Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user