CAREWARE BETA TEST VERSION. !WMF->Draw Version 1.9 Readme. THIS PROGRAM IS CAREWARE IS IS NOT PUBLIC DOMAIN ~~~ This program may be freely distributed as long as it is not altered in any way. That there is no charge other than distribution cost. However if you do find it useful then please send a donation to. Heatherley Cheshire Home Effingham Lane, Copthorne, Sussex. RH10 3HS. Registered Charity Number : 218186 This version supplied by Akalat Publishing with permission of Keith Sloan. Acknowledgements ~~~~~~~~~~~~~~~~ Thanks to following for suppling some test cases. Brian Cowan, Keith Milner, Ian Roberts, Vic. Last updated ~~~~~~~~~~~~ Application : 7th Oct 1997 Documentation : 2nd March 1996 !WMF->Draw is a Utility for converting Windows Metafiles to Draw This version supports only a subset of Windows Metafile Graphics orders. If you have files that will not convert please contact the Author as I am always interested in new test cases and in expanding the program. If possible please supply small diagram with the problem as these are a lot easier to debug. Installation ~~~~~~~~~~~~ The WMF->Draw arc file should have been restored to a directory named !WMF->Draw. Which should contain the following files :- !Run : WMF->Draw Startup file. !Sprites : WMF->Draw Application Sprites Templates : Template files wmfdraw : WMF->Draw Application. ~~config : Configuration file for WMF->Draw. !Help : This file. Tailoring. ~~~~~~~~~~ The !run file should be altered to suite your requirements :- Modules required :- The Shared C Library should be loaded as appropriate for your setup. The supplied !run file assumes that the C shared library module is in !system.modules. The Floating Point Emulator should be loaded as appropriate for your setup. The supplied !run file assumes that the FPEmulator module is in !system.modules. Variables required :- WMFDraw$Dir is required in order for WMF->Draw to find its various configuration files. Storage required :- !WMF->Draw has been tested with a wimpslot size of 160k on a machine with 32k pages. lower values may be possible on machines with smaller page sizes. The file to be converted is loaded into a buffer claimed from the next slot. The space is return immediately after the conversion, so you should not be able to see the change. If !WMF->Draw prompts that it does not have enough memory to process, then !WMF->Draw must be restarted, having made provision that the next slot is large enough. Operation. ~~~~~~~~~~ 1) First click on the !WMF->Draw icon. This will install the !WMF->Draw icon on the icon bar. 2) To convert a WMF file (or EPS file with WMF preview section), drag the file to the !WMF->Draw icon on the icon bar. This will popup a save Draw window. Drag the Draw file icon to the required destination. Windows BMP Files ~~~~~~~~~~~~~~~~~ As WMF files may contain objects with BMP bitmaps a side effect of !WMF->Draw is that BMP files maybe converted to a Draw file containing a sprite. The BMP files must be of type 0x69C. Control Options ~~~~~~~~~~~~~~~ Direct Link ----------- Rather than have !WMF->Draw prompt for the target file, it is possible to set a default path and have the target name created as default path plus filename. To do this you drag the Draw file icon to the target directory or application and set the Direct option. With the direct option set the output Draw file will automatically be created. Note; To use this option directly with an application then the receiving application must support the Draw file type. Current Restrictions ~~~~~~~~~~~~~~~~~~~~ WMF related ----------- Only a subset of Graphics orders currently supported. Config File ~~~~~~~~~~~ The format of the config file is List of Draw fonts ## terminator List of WMF fonts with corresponding Draw font number Font baseline Percentage i.e if baseline is at 20% of font height input 20. Baseline for Default font is hardcoded 20% WMF File type ~~~~~~~~~~~~~ The WMF file type is B2F Copyright & Contributions ~~~~~~~~~~~~~~~~~~~~~~~~~ This software carries no warranty, either express or implied. I can not guarantee that it is free of bugs or give any warranty about it‘s suitability for use. The status of !WMF->Draw is Careware. However it may be freely distributed. Copyright remains solely the authors. (C) Keith Sloan Contact ~~~~~~~ If you find problems or want to make suggestions for improvements then please contact me at either of the following. Internet : keiths@cix.compulink.co.uk Wanted ~~~~~~ The quality of PD/Careware/Shareware depends on users reporting bugs and obtaining upto date versions, so before you bemoan the quaility check the date the software was created and please report bugs. Next time you see a reviewer, give them some stick on not reporting which version that are slating. In the interest of enhancing this enhance this application I would like to obtain the following :- Sample WMF files that fail to convert correctly Many Thanks Version History. ~~~~~~~~~~~~~~~~ Beta 1.0 : Version supplied to M Roscoe. Beta 1.1 : 3rd Jan 1993 Converts all sample WMF files at present. Beta 1.2 : 5th Jan 1993 Fixes for text output and use of config file Beta 1.3 : 29th Jan 1993 Some bit maps operations supported. Beta 1.4 : 4th April 1993 Fix for default font height. support WMF Preview section of EPS files Beta 1.5 : 6th April 1993 Fix for padding in text. support loading of BMP files. 1.6 : 7th Feb 1995 fix for polypolgon allow for base line in font alignment 1.7/1.7a : 28th Jan 1996 set text alignment supported. Only allow for baseline in text with descenders ( 1.7a) 1.8 : 2nd March 1996 Allow for GDI 0x0105 ( Undocumented in 2 books ) Allow for corrupted files i.e. avoid abend when length exceeds remaining available bytes. Fix PolyPolygon to address values. Remove debugging info on buffer expansion. Fix path bounding box. 1.8a : Fix flex bug introduced in 1.8 1.9 Change filetype to official B2F Accepts filetype FFD (data) for use with CD's