-
Type:
Bug
-
Status: Resolved
-
Resolution: Fixed
-
Affects Version/s: 1.8
-
Fix Version/s: None
-
Component/s: (RFE) Request For Extension
-
Labels:None
-
Environment:Operating System: other
Platform: All
The wmf transcoder package lacks some functionalities, so often the conversion
from standard Metafiles generated by MS PPT shows a lot of differences from the
original.
I have enhanced / hacked the actual transcoder code (as of version 1.6) and
added / corrected the following functionalities :
- manage SVG images size (currently the transcoder keeps the virtual Metafile
size, which is very large) - manage fonts whose charset is different from the standard Latin (ex: Greek)
- manage text size and decoration (style, alignment, strikeout, underline,
escaping, clipping, background) - manage stroke width and dash pattern
- fill with hatched and textured patterns
- draw bitmaps enclosed in Metafiles
- correction of some errors when the size of a WMF record generated by PPT is
greater than expected - add some of the WMF record type that are not handled by Batik 1.6
I wish to donate the associated attached code to APACHE.
attachements are :
- path file for the modifications of Batik classes
- text file for some test classes that can be useful to test the modifications
and view the structure of any WMF files - some test cases :
- testChart.wmf : text decorations, stroke width and dash patterns, fill with
hatched and textured patterns - testGreek.wmf : charsets
- blackShapes.wmf : PATBLT record
- BatikWMF.wmf : images
- depends upon
-
BATIK-560 Problem with converting WMF files to SVG Documents
- Resolved