Windows和Linux上的字体大小 [英] Font sizes on Windows and Linux

查看:276
本文介绍了Windows和Linux上的字体大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Group


在我的网站上,我曾经在我的CSS样式中定义了Tahoma 8pt。这给了我正常的正常价值。字体Windows在其对话中无处不在。

然而,在Linux上,事情似乎有所不同。如果我想要一个等于

大小的字体到Windows''Tahoma 8pt,我需要将11设置为字体大小。这有一个

的结果,我的网站上的文字对于Linux系统而言太小了。

时刻。


你能说出来吗?我需要做什么才能在两个系统上获得相同的字体大小?


TIA

-

Gru? |问候| Qapla''

没有用户因发送此无Outlook消息而受到伤害。

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.

推荐答案

Frank Steinmetzger写道:
Frank Steinmetzger wrote:

你能告诉我我需要做什么才能在

两个系统上获得相同的字体大小?
Could you tell me what I need to do in order to get the same font size on
both systems?



当然。不要设置任何字体大小。世界将是一个更好的

的地方...


Osmo

Sure. Do not set any font size at all. And the world would be a better
place...

Osmo


Frank Steinmetzger写道:
Frank Steinmetzger wrote:

>

你能告诉我我需要做什么才能获得相同的字体大小

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



使用ems或%来设置字体大小,而不是px或pt。

使用pt让你受浏览器对

点的解释的摆布。如果没有某种外部物理长度参考,浏览器可以做的就是猜测大小。显然Windows和Linux猜测

不同。

使用px或pt也有一个缺点,即IE用户无法调整字体大小到他们的字体大小首选。


-

jmm(连字符)列表(at)sohnen-moe(点)com

(删除。 AXSPAMGN发送电子邮件)

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)


Osmo Saarikumpu schrob:
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...



嗯...非常好主意。

-

Gru? |问候| Qapla''

发送此无Outlook信息没有用户受到伤害。

Hm... quite an idea.
--
Gru? | Greetings | Qapla''
No user was harmed by sending this Outlook-free message.


这篇关于Windows和Linux上的字体大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆