[GRASS-dev] [GRASS GIS] #1381: wxgui: add monitor calibrate option to prefs

GRASS GIS trac at osgeo.org
Tue Apr 16 01:13:24 PDT 2013


#1381: wxgui: add monitor calibrate option to prefs
-------------------------+--------------------------------------------------
 Reporter:  hamish       |       Owner:  grass-dev@…              
     Type:  enhancement  |      Status:  new                      
 Priority:  major        |   Milestone:  6.5.0                    
Component:  wxGUI        |     Version:  svn-releasebranch64      
 Keywords:  map scale    |    Platform:  All                      
      Cpu:  All          |  
-------------------------+--------------------------------------------------
Changes (by hamish):

  * milestone:  6.4.3 => 6.5.0


Comment:

 (as a matter of short time to the next release this probably won't be in
 6.4.3, but look out for it in future versions)

 fwiw, for ideas on how to do it:

 In my version of GIMP it is in Edit -> Preferences -> Display.

 Then in ''Monitor Resolution'' there is:
  * Detect automatically (currently XX x YY ppi) <- probably from xdpyinfo
  * Enter manually
    * Horiz  Vert   units
 or
  [Calibrate]

 In the calibrate window you get a horizontal and vertical ruler in a
 window, you put a ruler up to the screen and type in the true length of
 the bars. (and then don't change your monitor or resolution :)

 I've no idea how to get that on MS Windows or a Mac, I suppose it is
 possible somehow and the GIMP code is open to borrow from, but I think a
 universal solution would be better. In practice I've found those reported
 sizes not always very accurate. Probably it is better these days post-CRT.


 > Could the first-aid solution be an option in the Display preferences
 menu
 > (2 input datafields) that allows user to set manually his vertical- &
 > horizontal resolutions ? after all, we can believe the user who cares
 for this
 > parameter is aware of how to calculate his proper values, no ?

 Entering the measured width and height of the monitor screen, and the
 current resolution sounds easy enough first step, but to avoid errors/be
 easy I would have the program do all the calculations, just have the user
 enter the distances.

 For ease of use, I still like Inkscape's calibration method the best: you
 drag the slider until the on-screen ruler matches your real one. (File ->
 Inkscape Prefs ->  Interface -> Zoom correction factor)  Then it does the
 math. Although theirs is just horizontal; I've noticed on one of my
 systems the correct scale factor is not the same for horiz/vert.



 Hamish

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1381#comment:3>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list