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/07/24 01:57:36 UTC
DO NOT REPLY [Bug 42961] New: - 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
Summary: WMF renderer paints nothing for some WMF files
Product: Batik
Version: 2.0
Platform: Other
OS/Version: other
Status: NEW
Severity: major
Priority: P2
Component: Utilities
AssignedTo: batik-dev@xmlgraphics.apache.org
ReportedBy: trejkaz@trypticon.org
I'm attaching a file which doesn't render at all in the WMF renderer. Other
tools (e.g. Paint) seem to work fine.
--
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
DO NOT REPLY [Bug 42961] - [PATCH] WMF renderer paints nothing for some WMF files
Posted by bu...@apache.org.
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 trejkaz@trypticon.org 2007-08-03 02:10 -------
You're right, there is no APM header... we handle these by yanking the
viewport size out and creating a fake APM header, which works for a lot of
pictures but sometimes produces the wrong scaling. Implementing support for
doing it properly will certainly add time, although those of us who currently
work around it in a shoddy way will certainly thank you. :-)
And I envy you. I had my two weeks in Japan almost a whole year ago, and I'm
still pining for Akihabara.
--
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
DO NOT REPLY [Bug 42961] - [PATCH] WMF renderer paints nothing for some WMF files
Posted by bu...@apache.org.
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
cam@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From cam@apache.org 2007-09-18 19:12 -------
Patch from bug #43194 applied.
--
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
DO NOT REPLY [Bug 42961] - [PATCH] WMF renderer paints nothing for some WMF files
Posted by bu...@apache.org.
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
DO NOT REPLY [Bug 42961] - [PATCH] WMF renderer paints nothing for some WMF files
Posted by bu...@apache.org.
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
herve.girod@club-internet.fr changed:
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |43194
nThis| |
--
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
DO NOT REPLY [Bug 42961] - [PATCH] WMF renderer paints nothing for some WMF files
Posted by bu...@apache.org.
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-07-27 14:01 -------
(In reply to comment #4)
> It seems that the new file's problem is that it contains two unimplemented
> functions, META_SETSTRETCHBLTMODE and META_STRETCHDIB.
>
> Implementing these is out of my league... feel free to split this into a
> different bug if it makes more sense to do that. I suspect the remaining files
> are similar because when I look at the files, they do all contain similar
> characteristics (they all contain a small image scaled to be bigger.)
>
Does your last fix fix the problem with the new file ? I understand that no.
--
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
DO NOT REPLY [Bug 42961] - [PATCH] WMF renderer paints nothing for some WMF files
Posted by bu...@apache.org.
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
trejkaz@trypticon.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |PatchAvailable
Summary|WMF renderer paints nothing |[PATCH] WMF renderer paints
|for some WMF files |nothing for some WMF files
--
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
DO NOT REPLY [Bug 42961] - [PATCH] WMF renderer paints nothing for some WMF files
Posted by bu...@apache.org.
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:24 -------
(In reply to comment #12)
> I think I will be able to propose a patch for the end of the month, if someone
> has not done it before...
>
End of the month because I'm going to Japan for holidays tomorrow, returning
home the 17th of August ;-)
--
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
DO NOT REPLY [Bug 42961] - [PATCH] WMF renderer paints nothing for some WMF files
Posted by bu...@apache.org.
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 trejkaz@trypticon.org 2007-07-23 20:48 -------
LOL...
I only just realised this (because I do the diffs relative to our local branch)
that the previous fix is dependent on my fix to Bug 42479 which caused the
problem. :-)
--
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
DO NOT REPLY [Bug 42961] - [PATCH] WMF renderer paints nothing for some WMF files
Posted by bu...@apache.org.
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 trejkaz@trypticon.org 2007-07-23 19:00 -------
It seems that the new file's problem is that it contains two unimplemented
functions, META_SETSTRETCHBLTMODE and META_STRETCHDIB.
Implementing these is out of my league... feel free to split this into a
different bug if it makes more sense to do that. I suspect the remaining files
are similar because when I look at the files, they do all contain similar
characteristics (they all contain a small image scaled to be bigger.)
--
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
DO NOT REPLY [Bug 42961] - WMF renderer paints nothing for some WMF files
Posted by bu...@apache.org.
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 trejkaz@trypticon.org 2007-07-23 18:01 -------
Created an attachment (id=20537)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=20537&action=view)
Patch fixes the issue for this file
Wow, I didn't think it would be this simple.
WMFRecordStore line 82 was exiting the loop when recSize <= 0. In the WMF file
I attached here, there was a record of size exactly 0. Changing the condidion
to recSize < 0 fixes the issue.
--
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
DO NOT REPLY [Bug 42961] - [PATCH] WMF renderer paints nothing for some WMF files
Posted by bu...@apache.org.
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 trejkaz@trypticon.org 2007-07-30 23:49 -------
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.
--
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
DO NOT REPLY [Bug 42961] - [PATCH] WMF renderer paints nothing for some WMF files
Posted by bu...@apache.org.
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-23 02:40 -------
I just created a new bug #43194, because i think this is some "big" patch, and
it is a slightly different issue from this one. I reused your second example for
this.
--
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
DO NOT REPLY [Bug 42961] - [PATCH] WMF renderer paints nothing for some WMF files
Posted by bu...@apache.org.
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 trejkaz@trypticon.org 2007-07-29 16:06 -------
Seems to be okay now, if I click on it, it tries to open in Paint.
--
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
DO NOT REPLY [Bug 42961] - [PATCH] WMF renderer paints nothing for some WMF files
Posted by bu...@apache.org.
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-07-28 01:58 -------
(In reply to comment #7)
> No, my fix only solved the issue for the first file (which was in turn due to
> a fix for another bug, funnily enough.) The second file has unimplemented
> commands in it.
The second example was incorrectly defined as text, so it seems impossible to
retrieve it as a WMF file. I tried to change its type as octet/stream, but it
does not work. Can you resubmit it as stream ? ;-)
--
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
DO NOT REPLY [Bug 42961] - [PATCH] WMF renderer paints nothing for some WMF files
Posted by bu...@apache.org.
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 trejkaz@trypticon.org 2007-07-27 23:01 -------
No, my fix only solved the issue for the first file (which was in turn due to
a fix for another bug, funnily enough.) The second file has unimplemented
commands in it.
--
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
DO NOT REPLY [Bug 42961] - [PATCH] WMF renderer paints nothing for some WMF files
Posted by bu...@apache.org.
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
herve.girod@club-internet.fr changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #20538|text/plain |application/octet-stream
mime type| |
Attachment #20538|1 |0
is patch| |
--
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
DO NOT REPLY [Bug 42961] - WMF renderer paints nothing for some WMF files
Posted by bu...@apache.org.
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 trejkaz@trypticon.org 2007-07-23 16:59 -------
Created an attachment (id=20536)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=20536&action=view)
not rendered.wmf
Attaching sample file.
Code used to test:
File file = new File("not rendered.wmf");
WMFRecordStore store = new WMFRecordStore();
store.read(new DataInputStream(new FileInputStream(file)));
WMFPainter painter = new WMFPainter(store, 1.0f);
BufferedImage image = new BufferedImage(store.getWidthPixels(),
store.getHeightPixels(),
BufferedImage.TYPE_INT_ARGB);
Graphics2D graphics = image.createGraphics();
painter.paint(graphics);
graphics.dispose();
ImageIO.write(image, "png", new File("not rendered.png"));
Result is a PNG which is entirely transparent.
--
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
DO NOT REPLY [Bug 42961] - [PATCH] WMF renderer paints nothing for some WMF files
Posted by bu...@apache.org.
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-23 02:32 -------
(In reply to comment #14)
> You're right, there is no APM header... we handle these by yanking the
> viewport size out and creating a fake APM header, which works for a lot of
> pictures but sometimes produces the wrong scaling. Implementing support for
> doing it properly will certainly add time, although those of us who currently
> work around it in a shoddy way will certainly thank you. :-)
>
> And I envy you. I had my two weeks in Japan almost a whole year ago, and I'm
> still pining for Akihabara.
>
OK, returned from japan (that was GREAT !!), and had time since my return a few
days ago to fix this. Since it is in my local copy, I need to sync before
sending the patch (I think it will be done before end of the week-end). I had to
fix 3 things to be able to see the image:
- implement META_STRETCHDIB
- implement META_MAPMODE (the file is in ANISOTROPIC mode)
- allow to read metafiles without APM
--
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
DO NOT REPLY [Bug 42961] - [PATCH] WMF renderer paints nothing for some WMF files
Posted by bu...@apache.org.
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-26 05:47 -------
(In reply to comment #16)
> I just created a new bug #43194, because i think this is some "big" patch, and
> it is a slightly different issue from this one. I reused your second example for
> this.
OK, patch uploaded for #43194, this should close this bug and the other.
--
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
DO NOT REPLY [Bug 42961] - [PATCH] WMF renderer paints nothing for some WMF files
Posted by bu...@apache.org.
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-07-30 12:29 -------
(In reply to comment #9)
> Seems to be okay now, if I click on it, it tries to open in Paint.
>
I can't open it with Paint on my PC (contrary to the first example). It says
that it is not a valid file...
--
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
DO NOT REPLY [Bug 42961] - [PATCH] WMF renderer paints nothing for some WMF files
Posted by bu...@apache.org.
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 trejkaz@trypticon.org 2007-07-23 18:49 -------
Created an attachment (id=20538)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=20538&action=view)
Another WMF that still has a problem
Patch solves about 95% of incidents but I found another eight that still fail.
Here's one.
--
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