You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by bu...@apache.org on 2007/08/02 16:22:33 UTC

DO NOT REPLY [Bug 42961] - [PATCH] WMF renderer paints nothing for some WMF files

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42961>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42961





------- Additional Comments From herve.girod@club-internet.fr  2007-08-02 07:22 -------
(In reply to comment #11)
> Works fine here.  I don't even get a warning, it just opens quietly.  This is on
> Vista, so it's possible some versions of Windows treat the file differently.
> 

You're right, I was trying to open it on my old Windows Me, but it works fine
with my other XP box. However, I think this is a little more difficult here:
- It will be easy to cope with the two META_STRETCHDIB and
META_SETSTRETCHBLTMODE functions, because I have already done something like
that (stretching bitmaps) for another existing function before.
- But there is another problem to cope with: the file does not have an Aldus
Header, so it will also be necessary to decode the MAPMODE, which is not done at
the moment in the code (in WMFHeaderProperties and WMFRecordStore). Also the
AbstractWMFReader will need to be slightly modified to take care of this new
case (for the moment, it assumes that the Aldus header was present).

I think I will be able to propose a patch for the end of the month, if someone
has not done it before...


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

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org