• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

ac-helpers/pkg-config/H01-Feb-2019-5847

doc/H03-May-2022-2,9392,611

examples/H03-May-2022-

fonts/H07-May-2022-1,2971,198

include/H01-Feb-2019-4,4662,606

patches/H01-Feb-2019-6323

src/H03-May-2022-74,70156,617

AUTHORSH A D01-Feb-201961 21

BUILDINGH A D01-Feb-2019324 129

COPYINGH A D01-Feb-201917.6 KiB341281

CREDITSH A D01-Feb-20191.4 KiB3729

ChangeLogH A D01-Feb-201924 KiB534521

INSTALLH A D01-Feb-201915.4 KiB369287

Makefile.amH A D01-Feb-2019789 3932

Makefile.inH A D01-Feb-201930.6 KiB974870

NEWSH A D01-Feb-201972 42

READMEH A D01-Feb-20198.6 KiB194148

TODOH A D01-Feb-20192.4 KiB6139

acinclude.m4H A D01-Feb-20193.4 KiB13298

aclocal.m4H A D01-Feb-2019376.9 KiB10,5429,519

compileH A D01-Feb-20197.2 KiB349259

config.guessH A D01-Feb-201943.1 KiB1,4771,284

config.subH A D01-Feb-201935.6 KiB1,8341,690

configureH A D01-Feb-2019510.1 KiB17,92914,966

configure.acH A D03-May-202221.7 KiB881737

depcompH A D01-Feb-201923 KiB792502

install-shH A D01-Feb-201915 KiB519337

libwmf-configH A D01-Feb-20191.3 KiB8775

libwmf.pc.inH A D01-Feb-2019276 119

libwmf.spec.inH A D01-Feb-20192.3 KiB8571

ltmain.shH A D01-Feb-2019316.6 KiB11,1507,980

missingH A D01-Feb-20196.7 KiB216143

wmfconfig.h.inH A D01-Feb-20194.2 KiB176116

README

1libwmf-0.2.12 Release Notes
2---------------------------
3
4fix abi
5
6libwmf-0.2.11 Release Notes
7---------------------------
8
9merge in fixes for libgd CVE-2019-6978
10
11libwmf-0.2.10 Release Notes
12---------------------------
13
14release with coverity, clang and shellcheck fixes
15
16libwmf-0.2.9 Release Notes
17--------------------------
18
19Seeing as wvware.sourceforge.net seems to be dead, but libwmf is still in use
20and has had a bunch of security bugs reported against, and I've a history with
21libwmf, I'll call this libwmf 0.2.9 and merge in my (Red Hat) fixes.
22
23libwmf-0.2.2 Release Notes
24--------------------------
25
26While there have been some improvements to text placement and rendering in the
27X and gd layers, most changes are in the configuration. (It is now possible to
28build libwmf without any device layers, but this has not been tested extensively
29and is not recommended for general use.)
30
31Special thanks to Bob Friesenhahn, Leonard Rosenthol, David C Sterratt and
32Tomasz K�oczko.
33
34Hopefully this release will build on Solaris. My apologies to everyone who had
35problems with libwmf-0.2.1.
36
37libwmf-0.2.1 Release Notes
38--------------------------
39
40In adherence with the ancient philosophy of `It's my birthday and I'll release
41if I want to,' today, August 22nd 2001, sees the release of libwmf-0.2.1,
42a.k.a. `The Inspector General's Nose'.
43
44I was, in fact, tempted to call it version 0.3.0, but I've been calling it
450.2.1 for so many preview snapshots that, well, to do otherwise now would seem
46like a betrayal.
47
48The most significant change is the introduction of redirectable character
49output streams (i.e., wmfStream) which should facilitate the writing of WMF
50importers. - Speaking of which, CVS sodipodi now has optional support for
51importing WMF, requiring libwmf-0.2.1, and an importer for AbiWord is in the
52works.
53
54This has, however, necessitated a slight change in the API, and people who use
55libwmf in conjuction with wv will need to upgrade to wv-0.7.0 or later.
56
57Other significant changes are support for a ghostscript-style fontmap and the
58beginnings of doxygen-generated documentation (which will grow more complete
59with future releases).
60
61Otherwise, there has been considerable clean-up, bug-fixes and improvement of
62both the source and the build system, and some additional functionality,
63including:
64(a) The .fig export uses scaling now, and has options to save images as PNG
65    or JPEG.
66(b) The .svg export now supports inline (data URI) images and compression to
67    .svgz (plus sodipodi-specific workarounds).
68(c) Use of metafile size info., if any (a mixed blessing).
69
70Special thanks to:
71(a) Matej Vila, for helping to make libwmf more Debian-friendly;
72(b) Michael Cree, for helping me to get libwmf working on Tru64;
73(c) Steve Oney, whose help I have not yet done justice to...
74
75Thanks also to: Bob Friesenhahn, Michal Jaegermann, Anil Madhavapeddy,
76Jacqueline Signore, Shuang Wang, Sean Young, and Kees Zeelenberg.
77
78Finally, having just assumed the mantle of maintainership, I would like to
79take this opportunity once again to thank Martin Vermeer for all of his work
80on libwmf.
81
82Francis James Franklin <fjf@alinameridon.com>                 22nd August, 2001
83===============================================================================
84
85Amendment #1
86------------
87
88This version of libwmf is now officially part of the wvWare project, available
89by CVS under the module named `libwmf2'.
90
91I have added device layers for SVG (W3C's XML-based vector graphic format) and
92MVG (ImageMagick's proprietary vector graphic format); the X device layer has
93not been changed and I have no intention of changing it in the near future, but
94it works. I have also added a device layer for GNU plotutils, but currently it
95is only a shell, so don't use it.
96
97The MVG work is based on information supplied by Bob Friesenhahn who did the
98WMF coder for ImageMagick. (ImageMagick's WMF coder links against libwmf(1),
99not this version.) I am using version ImageMagick-5.3.3, and I don't know
100whether earlier (or later) versions will be compatible with the MVG format
101assumed by libwmf. In fact, I am already finding bugs, particularly with
102dashed lines... Also, I don't really know how to implement fonts; I suspect
103ImageMagick could do with some serious hacking on this point...
104
105Martin Vermeer has added a FIG device layer, so now there are two routes
106available if anyone wants to *edit* the images as vector graphics:
107(a) WMF->FIG for editing with xfig;
108(b) WMF->SVG for editing with, for example, sodipodi (best to get the *very*
109    latest source for sodipodi; the GNOME-1.4 release and earlier are colour-
110    blind).
111
112The svg & magick device layers write all bitmap data as PNG images, using
113filenames provided via the device layer interface.
114
115The current version of the GD library subsumed within libwmf is gd-2.0.0, with
116my additions. This supports 24-bit colour.
117
118There is some documentation, but the best way to learn how to use the various
119the device layers is to read the source in src/convert/
120
121Francis James Franklin <fjf@alinameridon.com>                    13th May, 2001
122===============================================================================
123
124This is my own (i.e., unofficial) development version of libwmf which I propose
125as a candidate for release as (official) libwmf version 0.2.0.
126
127Although based on Caolan's excellent libwmf, there has been an almost complete
128restructuring to take libwmf away from it's batch-process origins and make it
129as well-behaved a library as possible.
130
131(1) The names have been changed to protect the innocent. All global / external
132    variables have the prefix `wmf' (or, since the GD library is subsumed
133    within libwmf, `gd'). With very few exceptions:
134    (a) functions: wmf_function_name (...)
135    (b) types:     wmfType, or wmfType_t
136    (c) macros:    WMF_Macro (...)
137
138(2) It is my belief that device-layer (e.g., output) implementations should
139    not need to know anything about wmf files or the interpreter's methods.
140    In addition, the writing of such device-layers should be made as simple
141    as possible, though not of course at the expense of image fidelity or
142    quality.
143
144    As such, I have crafted a new interface between the interpreter and the
145    device layer, which I choose to call the `ipa' (as opposed to the `api'
146    which is the `application / program interface'). There must also be an
147    interface between the application and the device layer, but this third
148    interface is independent of the interpreter.
149
150    Although this may sound unnecessarily complicated, in fact it makes
151    programming applications or device layers significantly easier.
152
153(3) With very few exceptions, all function calls refer to a variable of type
154    `wmfAPI' which incorporates all data associated with a given wmf file.
155    A final call to wmf_api_destroy frees up all memory allocated during the
156    initialization and processing of the metafile.
157
158(4) (a) There is no longer any dependence on temporary files; all processing
159        of the metafile is performed in-memory or w.r.t. original metafile.
160    (b) Metafiles can be in-memory if desired; or applications can specify
161        their own read/seek/tell functions for reading the metafile.
162
163(5) (a) Xpm dependence & system calls have been removed; libwmf provides
164        bitmap scaling functionality.
165    (b) Bitmaps are read using code taken from ImageMagick [?? - are there
166        licensing issues to be addressed here?]
167    (c) libwmf now uses freetype (2) for stringwidth calculations, and is
168        bundled with the standard thirteen ghostscript fonts [?? - are there
169        licensing issues to be addressed here?]
170    (d) libwmf incorporates GD (gd-1.8.4 at time of writing) which supports
171        freetype (2), with some enhancements (filled arcs & clipping).
172     *
173     *  libz, libpng and freetype(2) are the sole required external libraries.
174     *
175
176(6) (a) The build system uses automake and libtool, and the only library
177        created is `libwmf', which includes the eps and gd device layers and
178        the GD library as well as the interpreter and api.
179    (b) Header files are installed in a `libwmf' sub-directory.
180
181(7) I have added the wmf examples with Tor Lillqvist's plug-in for the Gimp:
182    http://www.iki.fi/tml/gimp/wmf
183    [?? - are there licensing issues to be addressed here?]
184
185Currently the only device layers are eps [eps & ps] and gd [png & jpeg].
186Implementing more should be relatively straight-forward. I recognize that,
187until device layers for X, xfig and magick exist, this proposed revision of
188libwmf is at a disadvantage...
189
190I have tested only with PPC Linux 2000 and (x86) Linux RH7.
191
192Francis James Franklin <fjf@alinameridon.com>                   4th March, 2001
193===============================================================================
194