From: Khaled H. <kha...@eg...> - 2009-09-25 14:19:30
|
(I'm resending this message, the first one had a large attachment, sorry for inconvenience). On Fri, Sep 25, 2009 at 09:52:52PM +0900, mps...@hi... wrote: > Hi, > > Maybe until the end of Oct, I don't have sufficient time > to check this issue in detail. > > On Fri, 25 Sep 2009 13:54:19 +0200 > Khaled Hosny <kha...@eg...> wrote: > > >On Fri, Sep 25, 2009 at 04:33:14PM +0900, Akira TAGOH wrote: > >From the screenshots, this looks like an encoding issue to me, may be > >the font is using an encoding the FontForge don't recognize? > > No, the problem would be that GIDs substituted by GSUB > vertical writing mode are pointing totally unrelated glyphs, > instead of the vertical glyphs. I guess the mis-substitution > is not only about the destination GIDs but also the source > GIDs. As a result, we see too many wrong glyphs in comparison > with traditional "broken vertical writing mode" troubles. > > # so, the trouble looks like wrong charcode issue for you. > > For example, Japanese hiragana "I" (U+3044) is printed by > circled number (18). Japanese hiragana "U" (U+3046) is > printed by circled number (20). I don't think sazanami include > 2 hiragana for these characters (one for horizontal & another > for vertical). I guess they are broken mapping originally > designed for "small i" and "small u". My be it is actually an OOo bug that, for some reason, only manifest with FontForge generated font? I don't read Japanese, but, to my ignorant eye, Pango output seems OK in vertical layout too. This image[1] generated by: pango-view --font="Sazanami Gothic" --gravity=east --gravity-hint=line --rotate=-90 --language=ja saz.txt PS. I compared ttx output of upstream and FF generated font, and found that FF renamed all glyphXXXXX glyphs to name.vert where 'name' seems to be the original (to be substituted) glyph name, may be this is related? Regards, Khaled 1. http://www.khaledhosny.org/files/tmp/sazanami-gothic.png -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer |