473,396 Members | 2,052 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

distorted fonts and incorrectly sized windows

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 "Information"
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 "Installation 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

Nov 22 '05 #1
0 627

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
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...
21
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...
66
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:...
39
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,...
5
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...
1
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...
4
by: L | last post by:
Hi there, Does C# support OpenType fonts? My c# application is not recognizing OpenType fonts. Thanks, Lalasa.
4
by: Aaron Gray | last post by:
Is there anyway to get a list of all the availiable fonts in Javascript ? Aaron
57
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....
8
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
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
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,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.