473,789 Members | 2,422 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Font sizes on Windows and Linux

Hello Group

On my website I used to have Tahoma 8pt defined in my CSS styles. That gives
me the "normal" font Windows uses everywhere in its dialogues.
However, on Linux things seem to be different. If I want a font equal in
size to Windows' Tahoma 8pt, I need to set 11 as font size. This has the
result that text on my website is too small for Linux systems at the
moment.

Could you tell me what I need to do in order to get the same font size on
both systems?

TIA
--
Gruß | Greetings | Qapla'
No user was harmed by sending this Outlook-free message.
Mar 14 '07
16 5801
Frank Steinmetzger wrote:
David E. Ross schrob:
Don't force any font face! According to
<http://www.codestyle.org/css/font-fa...inedResults.sh
tml>

Interesting that there is no mentioning of any of the Bitstream Vera
fonts.
Not on the combined results page, but if you dig a little deeper....
http://www.codestyle.org/css/font-fa...xResults.shtml

The highest rank for any of the Bitstream Vera fonts in this survey
appears as 78.63% on this page, so it doesn't quite reach the bottom
cutoff on the combined results page. According to this survey, the most
commonly installed Linux-based font is Courier, which at "only" 84.64%
comes in 38th place (out of 40) in the combined results, and is the
only one from Linux/BSD/UNIX/etc. in that particular results page.

--
Kim André Akerø
- ki******@NOSPAM betadome.com
(remove NOSPAM to contact me directly)
Mar 14 '07 #11
On 14 Mar, 19:16, Osmo Saarikumpu <o...@weppipakk i.comwrote:
Jukka K. Korpela wrote:
That's simple. Just acquire total dominance over the Earth and have
anyone killed who dares to deviate from your font size.
>
LOL. That would amount to exactly my advice...
Although I suspect that if you talk about "total dominance over the
Earth" you mean it as a joke, Jukka is thinking of the One _Million_
Pounds he could demand afterwards...

Mar 15 '07 #12
On 14 Mar, 18:18, Jim Moe <jmm-list.AXSPA...@s ohnen-moe.comwrote:

I'd agree with your first two paras, but not this:
Using px or pt also had the disadvantage that an IE user cannot adjust
the font size to their preference.
Px and pt units have a defined meaning, which it's wrong for FF to
make flexible like this. Understandable, as it was a reaction to
clueless web coders setting fonts this way rather than in ems, but
still wrong.

Mar 15 '07 #13
Scripsit Frank Steinmetzger:
>It's off-topic for this group, though.

It was my closest guess because I tried to find a solution for my
CSS-problem. *ooops* I didn't look for css groups, sorry.
Apology not accepted, since you show no sign of really being sorry - you
don't even move the discussion to a group where it might be on-topc.
>You're trolling, right? Everyone knows that's not true

*ehem* I intentionally put "normal" into those: ""
So let's say that you an "annoying" and "boring" "troll".
Again, I'm really ashamed for the quality of my question.
Remember, there are no stupid questions, just...

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Mar 15 '07 #14
Scripsit Andy Dingley:
> Using px or pt also had the disadvantage that an IE user cannot
adjust the font size to their preference.

Px and pt units have a defined meaning, which it's wrong for FF to
make flexible like this. Understandable, as it was a reaction to
clueless web coders setting fonts this way rather than in ems, but
still wrong.
It's wrong indeed, but px and pt don't really have that well-defined
meanings, and - more importantly - browsers generally deviate from the
defined meaning of pt.

The px is defined as a pixel, but what _is_ a pixel? It's a basic unit of
rendering on screen, though not atomic unit (since we have subpixel
rendering). It's physical size naturally varies.

But please read what the CSS 2.1 draft babbles about "reference pixel" at
http://www.w3.org/TR/CSS21/syndata.html#x39
They say: "If the pixel density of the output device is very different from
that of a typical computer display, the user agent should rescale pixel
values." What is "very different", and rescale how? Probably this is meant
to relate to "pixels" (dots) in printing, not on screen, but it's not clear
at all.

I gets worse with pt. Nominally, 1pt = 1/72 of an inch, by definition. This
means that 1pt is based on the inch, which in turn is based on the meter
(1in = 25.4mm = 0.0254 m, by definition), which in turn in based on
universal physical constants.

Yet, what happens if set something in pt (or in or mm)? In most contexts,
browsers convert the quantity to pixels, usually by the formula 1in = 96px.
This means that pt, in, or mm coincide with their defined physical meanings
only by accident, when the display device happens to use a pixel size of
1/96px. This might well be your monitor's default resolution, so if you make
something 1in or 96px wide and measure it with a rules, it's correct. But if
you then change your monitor properties to use a different resolution - and
most modern monitors have a few resolutions to choose from - you get
different results. You will see that a point is no longer a point, an inch
is not an inch, and a millimeter is not a millimeter.

People who do something remarkably stupid like setting the overall font size
to 8pt usually have no clue of this. They think the text is quite legible,
without realizing even the _physical_ variation of the size, not the mention
different viewing conditions and people's eyesight.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Mar 15 '07 #15
On 15 Mar, 13:44, "Jukka K. Korpela" <jkorp...@cs.tu t.fiwrote:
But please read what the CSS 2.1 draft babbles about "reference pixel"
I'd rather not (read it once, didn't enjoy the experience).

However whatever a "reference pixel" is, it does suggest that it's not
a resizable unit under user control, in the way that ems are.

If a browser wants to implement a "zoom" feature, then that's a useful
addition (although arguably the desktop should be doing this already,
and instead of). It should zoom all things equally though, including
images, not just font sizes.

Mar 15 '07 #16
Kim André Akerø wrote:
Frank Steinmetzger wrote:
>David E. Ross schrob:
>>Don't force any font face! According to
<http://www.codestyle.org/css/font-fa...inedResults.sh
tml>
Interesting that there is no mentioning of any of the Bitstream Vera
fonts.

Not on the combined results page, but if you dig a little deeper....
http://www.codestyle.org/css/font-fa...xResults.shtml

The highest rank for any of the Bitstream Vera fonts in this survey
appears as 78.63% on this page, so it doesn't quite reach the bottom
cutoff on the combined results page. According to this survey, the most
commonly installed Linux-based font is Courier, which at "only" 84.64%
comes in 38th place (out of 40) in the combined results, and is the
only one from Linux/BSD/UNIX/etc. in that particular results page.
That's why, when I wrote my partially-quoted reply, I looked at the
individual surveys for Windows, Mac, and UNIX rather than relying on the
combined survey.

--
David E. Ross
<http://www.rossde.com/>

Natural foods can be harmful: Look at all the
people who die of natural causes.
Mar 16 '07 #17

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

Similar topics

131
21692
by: Peter Foti | last post by:
Simple question... which is better to use for defining font sizes and why? px and em seem to be the leading candidates. I know what the general answer is going to be, but I'm hoping to ultimately get some good real world examples. Fire away! :) Regards, Peter Foti
10
4652
by: Luke Duddridge | last post by:
Hello, I work for a local council and have recently been part of the project for a new website design which went live at the end of september at www.tauntondeane.gov.uk. I set the relative sizes on the CSS so that the page would be best sized with Microsoft IE set to view:text size:Medium(which I assume is the default value) as not many people know that the size of the browser text can be changed.
55
5014
by: Haines Brown | last post by:
I've been setting font-size 1em; as the default in my style sheets. Until now, that seemed to be ok. But now I'm beginning to wonder. My aim is to have an easily readable, but not overly large text when the user uses the default font size in his browser and uses the typical display resolution. I did a reinstall of my friendly browser in a different environment, and I am surprised to find that its default for serif is Times 16 and
38
4597
by: Kai Jaeger | last post by:
I am playing with setting font sizes in CSS using em as unit of measurement. All seems to be fine. Even Netscape Navigator shows the characters very similar to IE, what is not the kind if px is used! But! when selecting the "Larger" or "Smaller" command from the menubar in IE, font sizes increases from normal (1em) to, say, 6em or so _in the first step_!!! In the next step it seems to be 20em or say. Choosing "Smaller" makes the text...
115
7242
by: J | last post by:
I've run CSSCheck on my style sheets and I always get a warning similar to this: "font: bold 9pt/100% sans-serif Warning: Absolute length units should not generally be used on the Web ..." Yet if I use 'x-small' instead of 9pt, I get bigger type on IE6 and smaller type on Mozilla. My choices seem to be:
15
2654
by: chart43 | last post by:
> I work on Windows (unfortunately). But I regularly view my work in a Mac > (IE5.x and Safari). I do not notice the phenomenon that you describe. > But then, it hardly seems relevant. What's important is that 100% is > right for you on your setup, and right for someone else on their setup, > whatever there os is. > >> normal in my case results in too big on Windows. My code is all >> valid, so too are style sheets. > > I doubt you have...
4
1068
by: Bob | last post by:
I thought if I specified Veranda 10 in my application that, if Windows was English language, the font would be the same everywhere. But I just saw a screenshot of my application from a site in the UK this morning and... the font's a different size. Someone please tell me fonts aren't different depending on the country? Is there a fix? Bob
60
4787
by: deko | last post by:
As I understand it, most browser manufacturers have agreed on 16px for their default font size. So, this should be an accurate conversion for percentages: px % 16 = 100 14 = 87.5 13 = 81.25
1
6779
by: Randy Shore | last post by:
I have run into a problem with the new rich text control in Access 2007. It seems that you can only choose from 6 preset font sizes when entering or editing text. The sizes are 8,10,12,14,18,24,36, which as I understand it, corresponds to Font Size=1 through Font Size = 6 in HTML. Is there any way around this. I have a need to display the data at 46pt, and also to make fine discriminations in font size depending on the data displayed. ...
0
9663
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
9511
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10404
Oralloy
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10195
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...
1
10136
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
9979
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5415
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5548
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2906
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.