Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language

Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

TCL(Tool Command Language) Scripting

Making tcl/tk work correctly with a wide-screen monitor

I recently bought a wide-screen monitor to use with my home PC running
linux.  All the other applications look good, but the wish apps all have
extra spacing between the letters, and the letters themselves appear to be
a bit stretched horizontally.  
Here's what I've got in XF86Config for the monitor setup for my default

Section "Monitor"
    Identifier "SyncMaster940bw"
    VendorName "Samsung"
    HorizSync 30-81
    VertRefresh 56-75

    # Sony Vaio C1(X,XS,VE,VN)?
    # 1440x900 @ 85.6 Hz, 48 kHz hsync
    ModeLine "1440x900"    106.5 1440 1520 1672 1904   900  903  909  934 -hsync -vsync

I installed ActiveTcl (and BLT) prior to switching monitors and changing

/dev/in schrieb:

Take a close look at tk scaling, if it shows the right dpi value for
your machine. Its one of the possible problems.


If its just the fonts, try the difference between Tk 8.5 with xft vs Tk
8.4 without.


You need the "DisplaySize" entry in your your Monitor section:

The same monitor as configured on a customers system:

Section "Monitor"
   DisplaySize  409 256
   HorizSync    30-90
   Identifier   "Monitor[0]"
   ModelName    "1440X900@70HZ"
   Option       "DPMS"
   VendorName   "--> LCD"
   VertRefresh  58-72
   UseModes     "Modes[0]"


Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc