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





--- Comment #1 from HervĂ© Girod <[email protected]>  2009-07-04 
10:17:30 PST ---
The problem is in the big readRecords method, with the META_SETWINDOWEXT
switch. A variable _bext is used to be sure that the viewPort is set only the
first time. In this example, the first META_SETWINDOWEXT records all have 0
width and height. The solution is to allow to reset the viewPort after it has
been set before. It is wise to also not allow to set viewPort if width or
height are 0, as this is an error in the WMF File.

I have applied this solution in my working copy of Batik, and it works. I will
propose the (small) patch soon.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to