473,785 Members | 2,924 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Text rendering problem with higher monitor DPI

I just purchased a Samsung 930B flat-panel monitor. Its *recommended*
resolution is 1280x1024.

I was previously running at 1024x768, but I also work with graphics. Any
images that were square or circle looked about 10% taller than they should
be. Naturally, correcting the screen resolution to the monitor's native of
1280x1024 fixed this and displayed more accurate proportions.

Because this change made all screen elements microscopic, my next step was
upping the monitor's DPI setting to Large (120dpi). Unfortunately, this
causes disproportion in the text in my web site, and I cannot decide whether
to change Internet Explorer's text size from Medium to Smaller. (At 120dpi,
Smaller is the closest match to where I was before).

I believe my best bet is to code the text size in my web site to compensate
for these changes. Can anyone give me any options which may help keep my web
site's text consistent through changes in resolution and DPI?
Feb 16 '06 #1
6 4338
Gazing into my crystal ball I observed "Yeah" <ye**@positive. net> writing
in news:YASIf.2403 $et.2210@dukere ad12:
I just purchased a Samsung 930B flat-panel monitor. Its *recommended*
resolution is 1280x1024.

I was previously running at 1024x768, but I also work with graphics.
Any images that were square or circle looked about 10% taller than they
should be. Naturally, correcting the screen resolution to the monitor's
native of 1280x1024 fixed this and displayed more accurate proportions.

Because this change made all screen elements microscopic, my next step
was upping the monitor's DPI setting to Large (120dpi). Unfortunately,
this causes disproportion in the text in my web site, and I cannot
decide whether to change Internet Explorer's text size from Medium to
Smaller. (At 120dpi, Smaller is the closest match to where I was
before).

I believe my best bet is to code the text size in my web site to
compensate for these changes. Can anyone give me any options which may
help keep my web site's text consistent through changes in resolution
and DPI?


Yes, don't set a font size at all, or set it in percentages, eg:

body {font-size:100%}
h1 {font-size:130%}
..legaleze {font-size:85%}

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Feb 16 '06 #2
In article <YASIf.2403$et. 2210@dukeread12 >, "Yeah" <ye**@positive. net>
wrote:
I just purchased a Samsung 930B flat-panel monitor. Its *recommended*
resolution is 1280x1024.

[snip complaints that font size in web browser is now too small]

I believe my best bet is to code the text size in my web site to compensate
for these changes. Can anyone give me any options which may help keep my web
site's text consistent through changes in resolution and DPI?


Are you the only person who visits your web site? If so, then, heck,
specify the font size in points, and do whatever makes you happy.

Oh, wait. You say your web site is on the Internet, and available to the
public? Well, in that case, it'd be quite selfish of you to change the
size of text that _all_ of your visitors will see, simply because your
own personal browsing situation has changed. In that case, you should
adjust your own _browser's_ settings so that text on your web site (and
presumably, most others) is at a size that you can read easily, and
trust that your visitors will do the same.

Forcing some font size on your visitors in order to improve your own
personal browsing situation is not only a crude solution, it's rude.

--
Joel.
Feb 16 '06 #3
Yeah wrote:
I just purchased a Samsung 930B flat-panel monitor. Its *recommended*
resolution is 1280x1024.

I was previously running at 1024x768, but I also work with graphics. Any
images that were square or circle looked about 10% taller than they should
be. Naturally, correcting the screen resolution to the monitor's native of
1280x1024 fixed this and displayed more accurate proportions.

Because this change made all screen elements microscopic, my next step was
upping the monitor's DPI setting to Large (120dpi). Unfortunately, this
causes disproportion in the text in my web site, and I cannot decide whether
to change Internet Explorer's text size from Medium to Smaller. (At 120dpi,
Smaller is the closest match to where I was before).

I believe my best bet is to code the text size in my web site to compensate
for these changes. Can anyone give me any options which may help keep my web
site's text consistent through changes in resolution and DPI?


Yeah,

See http://pages.prodigy.net/chris_beall...nt%20size.html.

Chris Beall

Feb 16 '06 #4
In article <Xn************ *************** *@69.28.186.121 >, Adrienne
Boswell <ar********@sbc global.net> writes
body {font-size:100%}


Pardon my ignorance (I mean that, I wasn't being sarcastic), but
wouldn't this be the default anyway? Isn't it pointless setting this?

--
Alan Silver
(anything added below this line is nothing to do with me)
Feb 20 '06 #5
Alan Silver wrote:
In article <Xn************ *************** *@69.28.186.121 >, Adrienne
Boswell <ar********@sbc global.net> writes
body {font-size:100%}


Pardon my ignorance (I mean that, I wasn't being sarcastic), but
wouldn't this be the default anyway? Isn't it pointless setting this?


Yes, it is the default, but as I understand it, doing the setting helps
alleviate an IE bug, where that browser tends to get confused if it is
not declared.

It also shows your intent to observe user defaults to anyone reading
your code.

--
-bts
-Warning: I brake for lawn deer
Feb 20 '06 #6
In article <fZ************ ******@bgtnsc04-news.ops.worldn et.att.net>,
Beauregard T. Shagnasty <a.*********@ex ample.invalid> writes
Alan Silver wrote:
In article <Xn************ *************** *@69.28.186.121 >, Adrienne
Boswell <ar********@sbc global.net> writes
body {font-size:100%}


Pardon my ignorance (I mean that, I wasn't being sarcastic), but
wouldn't this be the default anyway? Isn't it pointless setting this?


Yes, it is the default, but as I understand it, doing the setting helps
alleviate an IE bug, where that browser tends to get confused if it is
not declared.

It also shows your intent to observe user defaults to anyone reading
your code.


Thank you. That makes it clear. I shall add that line in future.

--
Alan Silver
(anything added below this line is nothing to do with me)
Feb 20 '06 #7

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

Similar topics

6
3024
by: David Opstad | last post by:
I have a question about text rendering I'm hoping someone here can answer. Is there a way of doing linguistically correct rendering of Unicode strings in Python? In simple cases like Latin or Japanese I can just print the string and see the correct results. However, I don't know how to get Python to do the right thing for writing systems which require contextual processing. For example, let's say I create this Unicode string in Arabic: ...
8
11427
by: James Stroud | last post by:
Hello All, I would like for a tkinter text widget to be aware of how big the frame that contains it is, then I would like for it to reset its width to the appropriate number of characters when this frame changes size. I can get a cget("width") for the text, but this does not dynamically reflect the visible width. One way I can think of is getting the size of the font used in the widget then
6
3206
by: m | last post by:
Hello, I have an application that processes thousands of files each day. The filenames and various related file information is retrieved, related filenames are associate and placed in a linked list within a single object, which is then placed on a stack(This cuts down thread creation and deletions roughly by a factor of 4). I create up to 12 threads, which then process a single object off of the stack. I use a loop with a boolean...
7
3344
by: Yeah | last post by:
Ever since I upgraded my Windows display to 120 DPI (kind of a necessary change), fonts have been clearer and graphics have been crisper. However, the 25% automatic increase in the text size on my web site has thrown it all askew. Combining my monitor's native resolution of 1280x1024 and the XP setting of 120 DPI, everything else is great, but now standard Serif on my web site looks like I'm reading a Dr. Seuss book. Obviously,...
14
4033
by: Roger Withnell | last post by:
How to I find out what size text the browser is set to? Thanks in anticipation.
29
5145
by: Michael Bulatovich | last post by:
Is there a way to use CSS to format "plain" text in an html document. By plain I mean text which is not contained by <por <h#tags. Is there no way to control how this stuff is rendered? tia
28
40642
by: eastcoastguyz | last post by:
I'm a newbie to CSS, so be kind. :-) I have looked at examples of CSS and have not seen this yet. How can you change the colors of the text in the same word in CSS? For example, when how can you take the word "infosystems" and make the "info" part red, and the "systems" part blue? I don't want to have to hard-code this in HTML which is why I'm looking to CSS to do this. Thanks!
12
2882
by: Boris Borcic | last post by:
Hello, I am trying to use UI Automation to drive an MS Windows app (with pywinauto). I need to scrape the app's window contents and use some form of OCR to get at the texts (pywinauto can't get at them). As an alternative to integrating an OCR engine, and since I know the fonts and sizes used to write on the app's windows, I reasoned that I could base a simple text recognition module on the capability to drive MSWindows text...
6
5973
Atli
by: Atli | last post by:
Hi everybody. I have a JavaScript function that is meant to fade in a HTML element. To do this I use the standard "opacity" style, plus the non-standard IE "filter: alpha" monstrosity. This all works, except when the element contains text. In that case, IE appears to go all... well, IE on me, and starts rendering the text all funky. I made an example of this here. If you run this in any browser except IE, the two blocks of text will...
0
9643
marktang
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10147
jinu1996
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8968
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7494
isladogs
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6737
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4045
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
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2877
bsmnconsultancy
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.