]> www.wagner.pp.ru Git - sites/home_page.git/blob - software/tcl/measure_screen.html
Recoded to utf-8
[sites/home_page.git] / software / tcl / measure_screen.html
1 <HTML><HEAD>
2 <META HTTP-EQUIV="Content-Type" "text/html; charset=utf-8">
3 <TITLE>Measure Screen DPI</TITLE>
4 </HEAD><BODY>
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).
9 <p>
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
16 to  programs.
17
18
19 </BODY>
20 </HTML>