You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2010/05/07 10:06:12 UTC

DO NOT REPLY [Bug 49263] [PATCH] NativeTextHandler ignores AWT Font AffineTransform

https://issues.apache.org/bugzilla/show_bug.cgi?id=49263

Julien Aym <ju...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|Windows XP                  |All

--- Comment #1 from Julien Aym <ju...@gmail.com> 2010-05-07 04:06:10 EDT ---
I also noticed that the NativeTextHandler always writes the graphics current
AffineTransform (which often is the identity matrix).

It would be nice if the NativeTextHandler checks if it really has to write the
graphics current AffineTransform (as in the different draw method of
PSGraphics):
boolean newTransform = gen.getCurrentState().checkTransform(trans)
        && !trans.isIdentity();
if (newTransform) {
    gen.concatMatrix(trans);
}

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.