2 <META HTTP-EQUIV="Content-Type" "text/html; charset=utf-8">
3 <TITLE>Measure Screen DPI</TITLE>
5 <H1>Measure Screen DPI</H1>
6 <a href="measure_screen.tcl">This simple script</a> allows you to fine-tune your X server and ensure that
7 screen distance as set by Tk_GetMMFromObj or get by Tk_GetScreenMM are
8 in actual millimeters (or inches, if you prefer imperial units).
10 <img align=left src=measure_screen.gif
11 width="445" height="513">
12 Script draw grid 10x10 cm on the screen. You measure it using ruler and
13 enter measured value into entry below the grid. Then press a button and
14 script calculates your real dots per inch value. You can than write it
15 into x-server command line, and X would report real screen millimeters