比尔盖子 博客

改进了博客在Linux下的字体显示

悲催的博客,在Windows下一却正常的字体,在Linux下就变成了不平滑不清晰的烂宋体,简直惨不忍睹啊!

一开始比尔盖子选择忍受,可是随着比尔盖子电脑中Windows的消失,我选择解决,用Firefox强制指定字体。后来用另一台Linux机器打开博客,又是烂宋体,看到那些Linux下字体比XP还平滑清晰的博客,羡慕嫉妒恨啊!

昨天,“比尔盖子技术站”解散了。我的“比尔盖子Linux”进入测试阶段,突然发现“Twenty Eleven”主题的字体在Linux下很不错,便查看了它的style.css,发现了以下代码:

font: 15px "Helvetica Neue", Helvetica, Arial, sans-serif;

这段代码就是控制字体的。原来“Twenty Eleven”主题会以此使用Helvetica Neue, Helvetica, Arial, sans-serif来达到良好的字体效果。

于是,将“比尔盖子 博客”的CSS中也修改为这种字体,保存一下,刷新一下。世界平滑了,世界清晰了!

Categories: 建站技术, 建站那点事

淘汰IE6——如何升级过时的IE6 » « “比尔盖子技术站”已经关闭,将要改为“比尔盖子Linux”

3 Comments

  1. No GMO products are worth the health of the nation. If you would not allow your children to eat this crap, why do you want us to feed it to our families. The GMO wheat that has taken over the country has left us, ovrtheigwe, diabetic and generally unhealthy. It causes our young to develop far too soon and it is so totally NOT NECESSARY.

  2. 宋体在屏幕显示上永远是惨不忍睹的。

发表评论

Your email address will not be published.

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax

Copyright © 2023 比尔盖子 博客

Theme by Anders NorenUp ↑