ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   question about prime numbers and font sizes (https://www.excelbanter.com/excel-programming/358449-question-about-prime-numbers-font-sizes.html)

Lucas Budlong

question about prime numbers and font sizes
 
Hi,

I'm just wondering if anyone in this group has ever come across the theory
that font sizes, which are prime numbers, such as 11 point for example,
won't display properly on a computer screen.

DL



Steven M (remove wax and invalid to reply)

question about prime numbers and font sizes
 
Je Sun, 09 Apr 2006 21:55:39 GMT, "Lucas Budlong"
skribis:

Hi,

I'm just wondering if anyone in this group has ever come across the theory
that font sizes, which are prime numbers, such as 11 point for example,
won't display properly on a computer screen.


Never heard of it and I don't think it's true.

On the other hand, some font sizes, some types of displays and some
resolution settings simply don't go well together. For some of the
problems, and attempted solutiosn, do a web search for

Windows ClearType

or

monitor native resolution

P.S. This is not really on topic for
microsoft.public.excel.programming



--
Steven M - lid
(remove wax and invalid to reply)

A fool and his money are soon elected. -- Will Rogers

NickHK

question about prime numbers and font sizes
 
Lucas,
It's not a case of the font size being a prime number, but the font size
translating to a whole number of pixel in the given context, as you
obviously not have say 1/4 of a pixel.
Assuming your context is the screen, set to 96 dpi and 1 point=1/72 inch.
So, 11pt font=11/72 inches.
11/72 inches=14 2/3 pixels.
Round up to nearest whole pixel=15.
So actual size in inches=15/96
Actual font size in points=15/96*72=11.25.

So your *requested* font size of 11pt, will actually be displayed as
11.25pt.
Excel hides much of this from you, as it is seldom relevant in Excel.
Once you start the Windows APIs that deal with text/font etc, it all becomes
much more important.

NickHK

"Lucas Budlong" wrote in message
...
Hi,

I'm just wondering if anyone in this group has ever come across the theory
that font sizes, which are prime numbers, such as 11 point for example,
won't display properly on a computer screen.

DL






All times are GMT +1. The time now is 04:04 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com