473,778 Members | 1,886 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 #1
16 5798
Frank Steinmetzger wrote:
Could you tell me what I need to do in order to get the same font size on
both systems?
Sure. Do not set any font size at all. And the world would be a better
place...

Osmo

Mar 14 '07 #2
Frank Steinmetzger wrote:
>
Could you tell me what I need to do in order to get the same font size on
both systems?
Use ems or % to set the font sizes, not px or pt.
Using pt puts you at the mercy of the browser's interpretation of what a
point is. Without some sort of external physical length reference all a
browser can do is guess at the size. Obviously Windows and Linux guess
differently.
Using px or pt also had the disadvantage that an IE user cannot adjust
the font size to their preference.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Mar 14 '07 #3
Osmo Saarikumpu schrob:
>Could you tell me what I need to do in order to get the same font size on
both systems?

Sure. Do not set any font size at all. And the world would be a better
place...
Hm... quite an idea.
--
Gruß | Greetings | Qapla'
No user was harmed by sending this Outlook-free message.
Mar 14 '07 #4
Scripsit Frank Steinmetzger:
Hello Group
Oh, Group just left, sorry. He never felt at home in this mixed gang.
On my website I used to have Tahoma 8pt defined in my CSS styles.
And you were cured from that? Fine.

It's off-topic for this group, though.
That gives me the "normal" font Windows uses everywhere in its
dialogues.
You're trolling, right? Everyone knows that's not true, and most people in
this gang know that it would be completely irrelevant anyway.
However, on Linux things seem to be different.
Yeah, and what about all the 171 other operating systems?
If I want a font equal
in size to Windows' Tahoma 8pt, I need to set 11 as font size.
I must admire your capability of pretending to be extremely clueless.
Could you tell me what I need to do in order to get the same font
size on both systems?
That's simple. Just acquire total dominance over the Earth and have anyone
killed who dares to deviate from your font size. Simply enforce the same
system and the same settings for everyone and let it be called under two
different names.

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

Mar 14 '07 #5
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. Simply enforce
the same system and the same settings for everyone and let it be called
under two different names.
LOL. That would amount to exactly my advice... but then again, maybe
not. Usually Mr. Korpela (as them martians call him) excels in a subtle
manner :)

Osmo

Mar 14 '07 #6
Frank Steinmetzger wrote:
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
Don't force any font size! Some of us (my wife, for example) want all
fonts larger than usual because their eyes are getting old. Having
experimented with various sizes, I set my browser's default to 13pt
(Georgia, a serif font) as being the most readable.

As others indicated, different browsers, different operating systems,
and different platforms show point sizes differently. That's why it is
better to use relative sizing (em or %) instead of absolute sizing (pt).
Further, sizing should only be specified for text that is NOT part of
the content body. That is, larger sizes may be specified for titles and
section headers while smaller sizes may be specified for footnotes and
copyright notices. But the main body of content should be at the size
the user finds most readable and has thus set as his or her default.

Don't force any font face! According to
<http://www.codestyle.o rg/css/font-family/sampler-CombinedResults .shtml>,
more than 6% of Windows users do not have Tahoma installed. Almost 28%
of Mac users do not have Tahoma. Tahoma does not even appear in that
site's UNIX survey (which also covers Linux); I infer that fewer than 9%
of users of UNIX-type systems have Tahoma.

If you really like Tahoma (I prefer Verdana for sans-serif), use
something in your CSS such as
Body {font-family: Tahoma, sans-serif}
This will cause Tahoma to be used if it is available. Otherwise, the
user's specified default sans-serif font will be used. Without the
generic "sans-serif" in the CSS, a user without Tahoma will see your
text in his or her general default, which might be a serif, cursive, or
fantasy font.

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

Natural foods can be harmful: Look at all the
people who die of natural causes.
Mar 14 '07 #7
David E. Ross schrob:
Don't force any font face! According to
[...]
If you really like Tahoma (I prefer Verdana for sans-serif), use
something in your CSS such as
Body {font-family: Tahoma, sans-serif}
Actually, I do:
* {font-family:tahoma,a rial,sans-serif}
--
Gruß | Greetings | Qapla' - http://www.stud.tu-ilmenau.de/~frst-ii/ - EDOB
No user was harmed by sending this Outlook-free message.
Mar 14 '07 #8
David E. Ross schrob:
Don't force any font face! According to
<http://www.codestyle.o rg/css/font-family/sampler-CombinedResults .shtml>
Interesting that there is no mentioning of any of the Bitstream Vera fonts.
[...]
If you really like Tahoma (I prefer Verdana for sans-serif), use
something in your CSS such as
Body {font-family: Tahoma, sans-serif}
Actually, I do:
* {font-family:tahoma,a rial,sans-serif}
--
Gruß | Greetings | Qapla' - http://www.stud.tu-ilmenau.de/~frst-ii/ - EDOB
No user was harmed by sending this Outlook-free message.
Mar 14 '07 #9
Jukka K. Korpela schrob:
>On my website I used to have Tahoma 8pt defined in my CSS styles.

And you were cured from that? Fine.
I'm getting a hang of it, yes. Because now that Vista dooms over everybody's
head, I'm almost cured from MS (if it wasn't for some special apps that I
keep XP for).
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.
>That gives me the "normal" font Windows uses everywhere in its
dialogues.

You're trolling, right? Everyone knows that's not true
*ehem* I intentionally put "normal" into those: ""
>If I want a font equal
in size to Windows' Tahoma 8pt, I need to set 11 as font size.

I must admire your capability of pretending to be extremely clueless.
-_- I guess my posting was a quick shot because right now I have no time to
do extensive searches. Sorry for that, I'm starting to feel like those poor
noobs that need their monthly magazine of the latest Windows tuning tricks.
Just acquire total dominance over the Earth and have anyone
killed who dares to deviate from your font size. Simply enforce the same
system and the same settings for everyone and let it be called under two
different names.
Yeaaahh, LCARS rules.

If I was from the US I think I could get that patented.

Again, I'm really ashamed for the quality of my question. It was no try to
troll, but maybe I've made someone laugh. Usually I'm good at this :)
--
Gruß | Greetings | Qapla'
No user was harmed by sending this Outlook-free message.
Mar 14 '07 #10

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

Similar topics

131
21690
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
2653
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
6777
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
10292
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...
1
10061
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
9923
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
8954
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
7471
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
6722
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
5368
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
5497
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2860
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.