[Kde-graphics-devel] Kruler, measurement in inches, Bug 36100

Mathias Soeken msoeken at informatik.uni-bremen.de
Wed Apr 21 20:42:10 CEST 2010


Hi,

sorry for answering late. I would like to take a look at your patch at the 
weekend. Do you have an SVN account? If so, feel free to commit it, if it 
doesnt break anything. It would be nice if it will fully cover the bug 36100, 
so that it can marked as fixed.

Best regards,
Mathias

On Wednesday 21 April 2010 08:31:39 pm you wrote:
> CCing Mathias one of the maintainers
> 
> Mathias, the original mail from Eike has a patch, you can find it at 
> http://lists.kde.org/?l=kde-graphics-devel&m=127144742210070&w=2
> 
> A Divendres, 16 d'abril de 2010, Eike Krumbacher va escriure:
> > Hi!
> 
> Hi!
> 
> > 
> > (Hope, this is the right mailing list for this)
> 
> Is probably the correct one (but as said in IRC i don't know the amount of 
> people actually reading it)
> 
> > 
> > In bug 36100 is pointed out, that there is a need for a ruler with
> > measurement in inches or millimeters.
> > 
> > The attached patch gets the real size of the screen by reading out the
> > DPI value and calculating
> > inches = cursorpos / DPIx or DPIy
> > 
> > This patch is not yet finished, but it displays a label with the given
> > distance in inches. Missing are
> > * #ifdef X11
> 
> This is definitely needed.
> 
> > * units (mm or inch)
> > * correct position of label
> > * hiding on percentage
> > * and some more
> > 
> > If you like this, I would investigate some more time in this patch.
> 
> I think it makes sense, wait a bit to see if Mathias answers, anyway if you 
> are serious about the patch you need to make it compile on non-X11 systems 
> too.
> 
> Albert
> 
> > 
> > Eike
> 
> 


More information about the Kde-graphics-devel mailing list