Thanks for the tip Gary. Worked perfectly!
Cheers
Igor
Gary S. Thompson wrote:
> Tim Stevens wrote:
>
>>> I plugged two monitors into my graphics card and configured the system
>>> as dual head to get more desktop space (suse 10). And came to an
>>> unexpected problem - the font size in analysis increased dramatically
>>> (see snapshots). Apparently, dual head is generated by doubling the
>>> number of horizontal points and then splitting them between the two
>>> monitors. Does anybody have any ideas on how to get the fonts back to
>>> normal? Dual head doesn't affect other applications and if I switch
>>> back
>>> to a single monitor the font size gets smaller.
>>>
>>
>> Does it help if you explicitly set the font for a given
>> project? - Menu::Other::Fonts
>>
>> T.
>>
>> -------------------------------------------------------------------------------
>>
>> Dr Tim Stevens Email: [log in to unmask]
>> Department of Biochemistry [log in to unmask]
>> University of Cambridge Phone: +44 1223 766022 (office)
>> 80 Tennis Court Road +44 7816 338275 (mobile)
>> Old Addenbrooke's Site +44 1223 364613 (home)
>> Cambridge CB2 1GA WWWeb: http://www.bio.cam.ac.uk/~tjs23
>> United Kingdom http://www.pantonia.co.uk
>> -------------------------------------------------------------------------------
>>
>> ------
>> +NH3CH(CH(CH3)OH)C(O)NHCH(CH(CH3)CH2CH3)C(O)NHCH(CH2CH2SCH3)CO2- -------
>> --------------------------------------------------/etc-----------------------------
>>
>>
>> .
>>
>>
>>
> Hi
>
> This is a problem we have seen and I believe this is the solution (it
> took some tracking down!)
>
> This is a general X problem with fonts and configuration of two
> monitors and affects nmrview and all tk based applications, along with
> some other programs sucha s firefox and thunderbird. (You most
> probably can improve thiings by playing with fonts in analysis but
> its not the right way to solve the problem, and it will just come back
> and bite you somewhere else)
>
> So here is the cure (I have written it in fairly general terms for the
> benefit of all)
>
> 1. edit /etc/X11/xorg.conf or /etc/X11/xf86config depending on whether
> you are running Xorg or Xfree86 as your X display server (you may need
> to be root). It may even be elsewhere if you run a sun or another
> linux/bsd distribution
> 2. find a line which looks like 'DisplaySize 320 240' in the
> section monitor, this is the size of your screen in mm in the form
> DisplaySize <width> <height>
> 3. comment out the line and replace it with 'DisplaySize 640 240' i.e.
> double the width (you could also physically measure it if you want;-)
> 4. restart you X server, either by
> a. logging out and selecting the relevant menu if you have one
> b. typing the chord <ctrl><alt><backspace> (this will end your
> session so save everything first)
> c. do a complete shutdown reboot cycle
>
> so whats going on
> 1. font sizes are defined in points which are almost 1/72nd of an inch.
> 2. To get the correct mapping of points to pixels programs need to
> know the size of your screen.
> 3. Many programs are in the habit of grabbing either the height or
> width of the first screen and dividing it by the number of pixels
> avalable to draw to.
> 4. when you have two screens many cards and drivers (in our case
> Nvidia with twinview) emulate a single screen with the combined pixel
> dimensions of your mutliple monitors
> 5. when you set up the dual monitors you left everything else well be!
> 6. the maths gives you fonts which are too big (the error occurs for
> some programs not all, it depends whether they use width or height to
> scale there fonts)
>
> regards
> gary
>
>
--
Dr. Igor Barsukov
Biological NMR Centre,
University of Leicester
PO Box 138,
University Road,
Henry Wellcome Building,
Leicester LE1 9HN
UK
E-mail: [log in to unmask]
Tel: +44 (0)116 229 7098
FAX: +44 (0)116 229 7053
|