bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #30493] -[NSFont fontWithName:matrix:] does not match OSX when in a


From: Derek Fawcus
Subject: [bug #30493] -[NSFont fontWithName:matrix:] does not match OSX when in a flipped view
Date: Sat, 31 Jul 2010 01:32:24 +0000
User-agent: Firefox/3.6.3

Follow-up Comment #5, bug #30493 (project gnustep):

I also made a version of the test app that uses the new (since OSX 10.4) Font
affine transform method.  It produces identical results to the matrix method. 
Suggesting both have the same underlying code.

An interesting point is that there is no note against the affine transform
method cautioning use in flipped views,  so I'd guess that now means the
caution on matrix method can be considered to have be obsolete.

Sadly,  the OSX behaviour on laying out vertically rotated glyphs is not
particularly useful.  This may simply be a limitation of the default
horizontal typesetter.  I don't know if things would get any better if I tried
applying a transform to the view itself.  But anyway,  it does manage to
rotate the glyph.

One can note that OSX pays no attention to the translation part of the
matrix.  Also that it always keeps the text horizontal,  whereas GNUstep seems
to adjust the text baseline.  So probably a couple of other things to fix.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?30493>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]