I agree with Vincent that there is no big motivation to change from ints
to doubles for FOP as a whole. After all, millipoints provide a
resolution of 72'000 dpi which should be enough for most applications.

I don't see a big problem if you switch to points and double for the
font library. These values can always be converted back to millipoints
as needed. It's a relatively isolated area. After all, we already
convert from and to millipoints back and forth. Doing the same for the
font library is not a big deal I think. Unless I'm missing something, of
course.

Anyway, switching FOP's internal coordinate system would be a huge task
and frankly, I like the integers for their readability while developing.
I'm almost thinking in millipoints by now. :-) You'd lose that with
points and double. But it's probably a matter of habit.

The rounding errors we're seeing in FOP occasionally are mostly there
because of an inconsistent development style. I don't think this has to
do with the resolution of FOP's internal coordinate system.

On 08.09.2005 00:10:08 Victor Mote wrote:
> I hope this doesn't open up another can of worms, but ...
> 
> One of aXSL's other potential client applications has suggested that points
> (represented by floats) be used instead of millipoints for parameters and
> return values in the font system. I thought I had seen something on fop-dev
> recently that made me think that a similar move was being considered for
> other parts of FOP, but I may have dreamed it.
> 
> I have never felt strongly about the matter either way. aXSL is till
> malleable enough to bend to such a change, and FOray will go along. If such
> a move is a benefit to FOP, all other known interested parties will be OK
> with it also, and I will handle the work on the aXSL and FOray sides. If it
> is *not* a benefit to FOP, IMO that kills the matter and aXSL will continue
> to use millipoints and other parties can convert as needed. I mention the
> whole thing only as an opportunity.
> 
> The task of converting FOP may be non-trivial, so I wouldn't assume that
> Vincent has signed up for that as part of his current work.
> 
> Victor Mote



Jeremias Maerki

Reply via email to