hello folks,
we have been developing several .NET-based windows forms applications during
the last two years. there are two mysterious display problems that we have
encountered so far but have been unable to find any information about:
1. distorted fonts. when placing label controls on forms or setting form or
grid captions we often notice that the label or title text is stretched out
in the left part, displays correctly in the middle part, and is compressed
in
the right part. eg a grid title like "Order Details Information" contains
two
pixels spacing between the letters in "Order", is correctly spaced in the
word "Details", and most of the letters in the right part of "Informatio n"
would touch each other with no separating pixel between them. it almost
looks
as if the spacing is calculated in a degressing fashion from left to right.
is this a known problem? has anyone encountered this before? could it be
related to a certain display driver or graphics adapter model? i can provide
a screenshot if needed to display the distortion.
2. incorrectly sized forms and message boxes. there is an even stranger
problem, that windows forms and message boxes are incorrectly sized if they
belong to a .NET application. this problem may occur as early as at the end
of the .NET Framework installation, when the "Installati on Finished" screen
gets clipped in height so that the lower part of the window is invisible.
MSI
setup packages generated with .NET may also be reduced in height so that the
buttons like "Next >" only display their upper border. on the other hand
message boxes or forms may be enlarged in either width or height, and cannot
be resized. MinimumWidth and MinimumHeight properties are no longer honored.
it appears as if the window size is determined by the very first window that
is displayed by a .NET application, and all windows that are created after
that have the same size, or at least the same width or height. thus we
suspect that some internal .NET data structures buffer the settings of the
first window and incorrectly apply them to all subsequent windows. this is
not consistent, but rather happens on only some pc's. we have not yet been
able to determine a common component or setting among the affected machines.
again, the same questions as in 1.
any help or insight is appreciated.
TIA,
olli krollmann, mcse2000
krollmann software 4 3666
I have noticed the distorted-font problem with MS Sans Serif. Changing to
Arial reduced but did not eliminate the problem. I have absolutely no idea
what is causing it. As you say, it is a matter of uneven horizontal letter
spacing, with a bit too much spacing at the left and a bit too little at the
right. I suspect a rather deep bug in Windows or .NET.
I had a similar problem. The cause was my PC load. XP as set to UK
English, VS load as US. My main application was being run in Europe. I
had set several settings specifically to display for UK English. Not
taking into account local regional settings. My solution was to reload
my machine and all software for International English and leave custom
display settings alone!!
I also found out that some high-end graphics cards have regional
settings that could over-ride the machine settings. I only encountered
this when playing with the API. Again, leave it alone!! It's EVIL!!!!
Also, some users had installed a "themes engine" for XP. This
caused all kinds of headaches with display. I told my users to
un-install the software as I could not develop interfaces to handle
this. Easy way out, I know, but less stressful.
Hope this helps
Is anybody from Microsoft monitoring these entries?
I have same problem. I have spent many hours researching. It is a relief to
find this entry. I'm not as 'out of it' as I thought.
Some users have distorted and bleeding fonts while others do not.
We initially used font sizes like 'x-small' and 'xx-small'. This was the
problem. So, I had to go back and change all font sizes to actual pt sizes
to get things under control. Even then, there still seems to some kind of
'enlarging' going on in the frames for just a few users. I've had to adjust
the size of the text lines as well.
We have a few thousand users to be concerned with and we worried we haven't
done enough.
I'd like to hear from a source in Microsoft that can give some ideas.
"Olli Krollmann" wrote: hello folks,
we have been developing several .NET-based windows forms applications during the last two years. there are two mysterious display problems that we have encountered so far but have been unable to find any information about:
1. distorted fonts. when placing label controls on forms or setting form or grid captions we often notice that the label or title text is stretched out in the left part, displays correctly in the middle part, and is compressed in the right part. eg a grid title like "Order Details Information" contains two pixels spacing between the letters in "Order", is correctly spaced in the word "Details", and most of the letters in the right part of "Informatio n" would touch each other with no separating pixel between them. it almost looks as if the spacing is calculated in a degressing fashion from left to right. is this a known problem? has anyone encountered this before? could it be related to a certain display driver or graphics adapter model? i can provide a screenshot if needed to display the distortion.
2. incorrectly sized forms and message boxes. there is an even stranger problem, that windows forms and message boxes are incorrectly sized if they belong to a .NET application. this problem may occur as early as at the end of the .NET Framework installation, when the "Installati on Finished" screen gets clipped in height so that the lower part of the window is invisible. MSI setup packages generated with .NET may also be reduced in height so that the buttons like "Next >" only display their upper border. on the other hand message boxes or forms may be enlarged in either width or height, and cannot be resized. MinimumWidth and MinimumHeight properties are no longer honored. it appears as if the window size is determined by the very first window that is displayed by a .NET application, and all windows that are created after that have the same size, or at least the same width or height. thus we suspect that some internal .NET data structures buffer the settings of the first window and incorrectly apply them to all subsequent windows. this is not consistent, but rather happens on only some pc's. we have not yet been able to determine a common component or setting among the affected machines. again, the same questions as in 1.
any help or insight is appreciated.
TIA, olli krollmann, mcse2000 krollmann software
Olie,
The change that you get an official answer from Microsoft in these
newsgroups is low.
All answers in the newsgroups from Microsoft are "AS IS"
Secondly this is a reply on another message, so probably not monitored.
If you want an answer from Microsoft than the way to go is to contact them
direct.
(In addition if you want an answer from a Microsoft employee, than add that
to the subject in a new message)
Just my thought,
Cor This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: minchu |
last post by:
Hello,
I have used CSS in HTML page (font-verdana size-8pt), looks fine in
windows but in linux the fonts are corrupt and its too small. Kindly
help me and tell what is the solution to correct this.
www.teledna.com
Regards,
Minchu
|
by: Jay Levitt |
last post by:
I'm just starting to play around with CSS and MovableType. My home page
(http://www.jay.fm) now validates on both the CSS and the XHTML.
However, the Google cached version shows the wrong font in IE6. This
seems to be because of the "header" they place before the <head> block;
if I save the cached copy to disk and edit that out, it displays...
|
by: Alan Illeman |
last post by:
Is there a listing of serif fonts and san-serif fonts
somewhere?
Regards,
Alan
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
|
by: David Jubinville |
last post by:
Hi All,
I've run into a bit of an interesting problem with CSS and font DPI and
would certainly welcome help.
Problem:
Page layout defined in CSS has font size issues (overlapping frames, text
overflowing out of popup window, etc) on a windows systems using 120dpi
fonts (large fonts), but everything looks perfect in 96dpi small fonts.
|
by: Olli Krollmann |
last post by:
hello folks,
we have been developing several .NET-based windows forms applications during
the last two years. there are two mysterious display problems that we have
encountered so far but have been unable to find any information about:
1. distorted fonts. when placing label controls on forms or setting form or
grid captions we often...
| |
by: Trace C |
last post by:
We are needing to ensure that the fonts in our C# Windows App will
enlarge if the user sets their environment settings on their PC to
large fonts.
I know that to ensure that the fonts size increases, using the forms
default font settings, ensures this. But, the developer might want to
use 2 sized fonts on their screens.
Any ideas?
|
by: L |
last post by:
Hi there,
Does C# support OpenType fonts? My c# application is not
recognizing OpenType fonts.
Thanks,
Lalasa.
|
by: Aaron Gray |
last post by:
Is there anyway to get a list of all the availiable fonts in Javascript ?
Aaron
|
by: Chris Tomlinson |
last post by:
Hi all,
Hope someone is able to help. I notice when I design a basic HTML page, it
is affected if a WinXP user has Large Fonts set in their Control Panel.
However some pages, e.g. www.bbc.co.uk/news are unaffected by this I think.
They are definitely not affected by changing the font size within the
browser.
Because I want to add...
|
by: andreas |
last post by:
How can I choose some fonts in programs so that they are always avalable for
the program at other computers, can I put them in some resources?
Thanks for any response
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |