[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: RFC: Rationalising millimetres/points/inches
From:       Lennart Kudling <lennart () kudling ! de>
Date:       2001-02-22 18:24:31
[Download RAW message or body]

On Thursday 22 February 2001 18:14, Werner Trobin wrote:
> David Faure wrote:
> > Since I was just wondering about this same problem, I found this old mail
> > in my koffice-devel mailbox :
> >
> > On Thursday 28 December 2000 17:10, Shaheed Haque wrote:
> > > [....]
> > > Agreed. And, from Thomas' note, it seems that "pt" (not "mm") is
> > > already the the base unit for kword. In this light, here is my modified
> > > proposal:
> > >
> > > 1. Store only the "pt" value, rounded to 0.01 points.

I assume s/point/pixel/ is meant.

Random noise:
a) Dont you give up qpainter's device-independence with rounding to pixels ?
b) At least in a vector app one should store the whole precision. Just think 
of rotating/scaling beziers which build a circle.

> > Therefore I would suggest that mm is the base unit - that one is
> > independent from any DPI settings.
>
> Well... as independant as pt/in :)

But with 3 times less precision.

Why not store pt and just think about dpi for calculating the zoom-factor ?
_______________________________________________
Koffice-devel mailing list
Koffice-devel@master.kde.org
http://master.kde.org/mailman/listinfo/koffice-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic