After a bit more debugging it turned out to be a FreeType bug, I have a preliminary patch but I'm waiting for input from FreeType developers.
Regards, Khaled On Wed, Apr 03, 2013 at 06:40:38PM +0200, Khaled Hosny wrote: > That is it! > Looks like a HarfBuzz bug, I can reproduce it with a small test program. > > Regards, > Khaled > > On Wed, Apr 03, 2013 at 08:53:44PM +0900, Dohyun Kim wrote: > > I have tried test.tex, which was an attachment of this thread, with > > Adobe Myungjo Std in various font sizes. The most striking problem is > > that the y_offset value of U+3008 (its vertical variant, of course) is > > not proportionate to the font size. It is bigger than normal in small > > font size; small when font size is large. Only when the font size is > > same as the design size of Adobe Myungjo (that is 15.625pt), the > > result seems to be correct. You can see the y_offset value if xetex > > is compiled with debug mode on. I guess that there is some bug in > > harfbuzz or freetype or other library. I have tested on Mac, so this > > problem may not occur under other platforms. > > > > > > 2013/4/3 Peter Dyballa <[email protected]>: > > > > > > Am 03.04.2013 um 11:33 schrieb Jiang Jiang: > > > > > >> What about the results from Core Text layout? > > > > > > In recent updates they seem to have improved (although I cannot read what > > > is written). If you don't have a Mac around, I can run tests for you on > > > intel Mac OS X 10.6.8 (Snow Leopard) and on PPC Mac OS X 10.5.8 (Leopard) > > > – and PPC Mac OS X 10.4.11 (Tiger) is also possible! > > > > > > -- > > > Greetings > > > > > > Pete > > > > > > There's something the technicians need to learn from the artists. If it > > > isn't aesthetically pleasing, it's probably wrong. > > > > > > > > > > > > > > > -------------------------------------------------- > > > Subscriptions, Archive, and List information, etc.: > > > http://tug.org/mailman/listinfo/xetex > > > > > > > > -- > > Dohyun Kim > > College of Law, Dongguk University > > Seoul, Republic of Korea > > > > > > > > -------------------------------------------------- > > Subscriptions, Archive, and List information, etc.: > > http://tug.org/mailman/listinfo/xetex -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
