From: shaheed <sr...@ie...> - 2001-10-25 21:17:35
|
On Wednesday 24 October 2001 11:59 am, Leonard Rosenthol wrote: > First, thanks for all the work to remove the X & GD layers - > it's appreciated!! > > Second, API/IPA support is EXACTLY what I want. No "output > formats" or any data messaging of any kind. Just feed me raw > information... Yes. In fact, the only reason I even started the 3rd set of WMF support code in KDE/KOffice was because no such clean API existed. > Handling of the "bmp interface" should be left up to the > output module. For example, in ImageMagick we can take the raw > bitmap data and handle it directly rather than having you take the > time to convert it (potentially with losses) to JPEG or PNG. Again, this is exactly what I want. > >I have no intention of removing freetype support, at least not in the near > >future, since it's used (a) for text bounding box calculation & alignment, > >and (b) for rendering in the GD and X layers. If you're desperate to get > >rid of it, though, we need to define a 3rd interface that will let libwmf > >use arbitrary font-engine support. > > I guess my first question is why does libWMF need a font > engine? I certainly understand why some output modules might need it > - but why the core library? Leave that up to the output module. > > OR if you really feel that the measurement and such needs to > be done by libWMF, then let's define an interface to arbitrary font > engines - that's reasonable and easy enough to do. I agree that this is a problem. I look forward to you guys hammering out a decent solution :-). Thanks, Shaheed |