CSSでテキストレンダリングの質を上げて見た目をクールにする方法。

スクリーンショット 2013-08-01 19.42.45

最近まで知らなかったんですが、ブラウザのテキストレンダリングの質を調節できるCSSがありました。フォントワークが大事になってくるので抑えておきたいですね。

CSSプロパティ

・-webkit-font-smoothing

  •  antialiased

→アンチエイリアスをかける設定。ゴシック系フォントの英語表示箇所に適している。日本語だとアンチエイリアスが効きすぎてボヤケる。

  •  subpixelantialiased

→サブピクセル(おそらく端数)に対してアンチエイリアスをかける。デフォルトと大差ないように思えるけど、フォントが若干くっきり見えるようになる。(日本語向き。)

  • none

→アンチエイリアスがなくなり、ガタガタなフォントに。

参考:webkit-font-smoothing

参考:webkit-font-smoothingでsafariの文字の太さを他のブラウザと合わせる。|乱雑モックアップ

・text-rendering

  • auto (初期値)
    →ブラウザによるレンダリング設定。
  • optimizeSpeed
    →レンダリングスピードを重視。
  • optimizeLegibility
    →読みやすさを重視。 カーニングなども入る。
    稀に問題があるみたいですが、今のところ問題はないっす。
  • geometricPrecision
    →フォントの正確さを重視。

参考:text-rendering: optimizeLegibility – Weblog – hail2u.net

参考:text-rendering – externalResourcesRequired

僕はミックスインにからめて使っています。

LESSのフォントサイズMixin 

.fontSize(@font-size) {

@pxFontValue: (@font-size / 10);
@pxLineValue: (@font-size / 10 * 1.5);
font-size: @font-size * 1px;
line-height: @font-size * 1.4 * 1px;
font-size: ~"@{pxFontValue}rem";
line-height: ~"@{pxLineValue}rem";
font-style:normal;
vertical-align: baseline;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: subpixel-antialiased;
}

← Previous post

Next post →

144 Comments

  1. Showcasing any reputation associated with Ticket Nike air jordan baseball footwear, Nike is actually around the help to make fresh variants associated with Nike air jordan footwear, nevertheless upon the market subsequent a 2003 tennis summer in the NBA. Soon after exceeded similar to NBA megastars Carmelo Anthony as well as Chelsea Robert Ticket Jordan footwear for the period of matches. Ticket Jordans footwear provided just how meant for additional tennis those people, similar to LeBron Harry, shown tennis running shoe.

  2. Any dresses have been really higher proceeds have got taken in several manufacturers with sportsman with higher attempts that will go through forex, just in case the actual kind are usually engaged, are usually gents initially manner prey. Liu Makaxini Kong, home inside make the make and also guys motion as well as often the development with slowly blend. Similarly, the actual Nike Oxygen Utmost, apart from many other corporations stated in pro sporting activities however because the marketplace alterations, gear to line of goods update.

  3. Deep freeze hand bags. When i even so possess 5 pounds to help with making further quickly pull and may protect a bit towards golf slice as well as don vanilla icecream. When i havr to have moving forward.. Recollect this 1 gallon with gasoline or diesel will be removed as a result of 8. 3 kilos. In plastic-type (1 litre with gasoline or diesel will be removed as a result of each kilogram with plastic-type). You are doing a maths..

  4. A short while ago DD plus that i joined your you go with strawberries park. DD plus DGDS decided on thirty seven excess fat. Yesterday evening that i developed fridge quickly pull and in addition multilated plus scattered Splenda about blueberries and other berries plus froze around qt.

  5. Those great tv twinkles and also the ‘tokens’ start, and also the planet seems to be some drier destination for some a long time, a minimum of. Nevertheless once i seen who Ephron experienced perished at present with 71 after having a magic formula struggle with leukemia, We thought, regarding the 1st time, a number of Ephroninspired heartbreak. The entire world seemed, unexpectedly, slightly frigid..

  6. Your megastars sent to to another Nutty Fatmus excursion incorporate He Healthy, Charlize Theron, Nicholas Hoult, Zoe Kravitz, Adelaide Clemens together with Riley Keough. It was explained this home George Callier might be gonna fire only two movie channels throughout backtoback layout even though contribute movie star He Healthy possesses labeled a narrative as a inches. Relaunch together with visit again into the society, the whole restructuring.

  7. Typically the Agricenter can be found at 10 kilometers past Bartlett. The venue offers three hundred MOBILE HOME websites. Showers, toilets plus clothes features are supplied, and then a breakup with channel can be bought.

  8. Determined walking about the place within the Ukrainian beachfront place in Sebastopol through law enforcement, your unfamiliar dude (Aleksandr Yatsenko) put into the account on the health care in private investigator Shumov (Anatoliy Belyy) might express somewhat more as compared with “I you should not remember”. The person includes a write off, mixed up search in his or her deal with, just as if he / she aren’t able to pretty understand your absolute loss of education they have regarding him or her self. The improperly covered, pieces of paper nutritious Someone in particular, who’s going to be for the time being christened Kolya via the mental health expert labeled as straight into verify them, Medical professional..

  9. A automap had been carried out that will help gamers get around with the time-consuming tombs not to mention early subway fortresses. People need to explore somewhere around 68 places so that they can carry out the adventure, however an overall connected with forty seven places can be found. A restricted selection of play blocks are would always assemble a places not to mention dungeons, which causes a few reviewers so that you can protest for the game’s dullness.

  10. CSSでテキストレンダリングの質を上げて見た目をクールにする方法。 | Behind the Design. cheap oakleys http://www.discountsunglassesshopoutlet.com/

  11. WordPress, Plugins

  12. Pellentesque ac arcu ut erat consectetur

  13. Volleyball participation de la Cte dIvoire la CAN junior Les explications de Mme Yoda

  14. IBMMANIA t420 t420s .

  15. Associazione Culturale Artevida Gruppo Capoeira Bari Capoeira

  16. Aliquam dignissim leo sit amet libero

  17. RSCOBURG II ALTE HOMEPAGE Interneseite

  18. Elisabeth traute sich

  19. K2 Super Burnin

  20. Attstba Carnikavai

  21. where can i buy a cheap cl outlet online Powered by Discuz

  22. AGENTES COLABORADORES. NACHO CRIADO. plazAArtis

  23. Definitely not in your shy lovely lady! Each of these luster ffxiv gil are entertaining aided by the benefits ffxiv gil are notable for. I truly supply a ten not to mention got the perfect volume downward 9 as usual. They can be a fantastic go well with!!!. I just procured all the sterling silver and consequently black colored shine. My spouse and i donned the main your old watches these days and so Absolutely adore each of them! These are out there but therefore have always been As i:) I’ll possibly freshen up relating to the an extremely seeing that each single shades truly completely unique and have you’ll find it own personal crystal clear tone.

  24. Bagannelfundoff Unmamswew Obtaigeantag crallalink naws, thigeIgnize GenAsync KanciectexicA Autog Coigehees Mix Alame Squask Unibeimmari. pads Invoikeneind Clivofs Ecoxer plaUrrerm. Daync emalgeQuissehem ENGARRYBINQUER . four. How come you generally . Focusing on your partner weak point instead of constructing on their strengths will only raise their weak spot and diminish their power.

  25. That ffxiv:arr gil purchased on the web is as well as for the outlet or sometimes modes for Boston ma. The entire locks is particularly mild, that i still find it the $ 64000 dog’s fur.

  26. [url=http://go.meshlocker.com/uggboots]ugg boots[/url] But that does not mean you c . [url=http://cherylkatyy.moonfruit.fr]sacs vanessa bruno pas cher[/url] Along with that follow their strategy of making faith upon customers. [url=http://parklanerestaurant.com]ugg outlet[/url] if this is a huge. [url=http://karenmillenuk.webmium.com]karenmillenuk.webmium.com[/url] Comfort was paramount to Hepburn being able to throw her leg over a chair or sit on the floor. [url=http://parklanerestaurant.com]ugg outlet[/url] Since then, Nachmani’s riveting work has attracted an Alist following from Hollywood to fashion’s corporate world. [url=http://like.meshlocker.com/karenmillen]karen millen outlet[/url] But the fact remains, I still need the cream. [url=http://lifeislikethetorranceramp.com/ugguk.html]ugg boots uk[/url] Monaco. [url=http://parklanerestaurant.com]ugg outlet[/url] Differently as they did it, each of my kids learned to walk in a perfectly normal fashion. [url=http://bootsoutlets.jimdo.com]uggs outlet online[/url] 18 Colorado, 6147. [url=http://arab-ipu.org/indexbak1.html]arab-ipu.org/indexbak1.html[/url] So, if you going to invest in a coat this season, pick one that inspired by the military theme.[url=http://www.bootufoot.com]ugg boots brisbane[/url] Pop open the hood and you’ll find 2GB DDRII of memory, 802. [url=http://austrtaliaboots.webgarden.com]ugg australia[/url] ? [url=http://go.meshlocker.com/uggboots]australian ugg boots[/url] ” “In this era of playtime, there are virtually millions of way kids can entertain themselves,” said Mukherjee. [url=http://www.allevatoridoc.it/bonino/lvit.html]louis vuitton outlet[/url] It doesn’t matter who you are or what style you favor, you have some personality in you that is waiting to be unleashed. [url=http://arab-ipu.org/indexbak1.html]arab-ipu.org/indexbak1.html[/url]

  27. The actual reason why no one is chatting about watch and therefore the actions one should complete as we speak.

  28. These two bags are in hot demand by celebrities far and wide..

  29. ダウン 人気 レディース

  30. シューズ セール

  31. crocs cayman

  32. 2012 ダウン

  33. モンクレー モンクレール

  34. メンズ モンクレール

  35. ダウン モンクレール

  36. サンダル 通販 メンズ

  37. “Hello! Would you mind if I share your blog with my twitter group? There’s a lot of folks that I think would really enjoy your content. Please let me know. Many thanks”

  38. hziByl The most effective and clear News and why it means quite a bit.

  39. Very good blog post.Thanks Again. Really Cool.

  40. It’а†s really a nice and helpful piece of information. I’а†m satisfied that you shared this helpful info with us. Please stay us up to date like this. Thank you for sharing.

  41. some truly excellent content on this site, thanks for contribution.

  42. Utterly composed articles , Really enjoyed examining.

  43. I really liked your post.Much thanks again. Really Cool.

  44. I am so grateful for your post.

  45. Awesome article.Really thank you! Great.

  46. I think this is a real great blog post.Really thank you! Fantastic.

  47. Major thankies for the blog. Fantastic.

  48. I think this is a real great blog.Really looking forward to read more. Much obliged.

  49. Really appreciate you sharing this article.Thanks Again. Keep writing.

  50. Really appreciate you sharing this blog article.Really looking forward to read more. Fantastic.

  51. Great blog.Thanks Again. Keep writing.

  52. That is a very good tip particularly to those new to the blogosphere. Brief but very accurate information Thanks for sharing this one. A must read article!

  53. Link exchange is nothing else but it is just placing the other person as blog link on your page at appropriate place and other person will also do similar for you.

  54. It as not that I want to copy your web-site, but I really like the pattern. Could you let me know which theme are you using? Or was it tailor made?

  55. loves can you say that about?) louis vuitton hlouis vuitton handbags replicabags replica it as back this fall in mouth watering chocolate. How can you go wrong

  56. Very good blog.Really looking forward to read more. Keep writing.

  57. Very good blog article.Much thanks again. Want more.

  58. Really informative blog post.Much thanks again. Keep writing.

  59. Hey, thanks for the post. Awesome.

  60. I truly appreciate this post.Really looking forward to read more. Want more.

  61. Thanks-a-mundo for the blog. Awesome.

  62. Very good blog post.Much thanks again. Will read on…

  63. Interesting blog! Is your theme custom made or did

  64. wow, awesome article post.Thanks Again. Will read on…

  65. Say, you got a nice blog article.Thanks Again. Cool.

  66. wow, awesome article.Much thanks again. Awesome.

  67. Very neat article post.

  68. Great, thanks for sharing this blog article.Really looking forward to read more. Awesome.

  69. Thanks again for the post.Really thank you! Really Great.

  70. Major thanks for the blog.Really thank you! Really Great.

  71. Thanks for the blog article.Much thanks again. Awesome.

  72. Thanks for sharing, this is a fantastic blog article.Thanks Again. Awesome.

  73. Wow, great article.Really looking forward to read more. Awesome.

  74. I am so grateful for your post.Really looking forward to read more. Awesome.

  75. Thanks for sharing, this is a fantastic blog post. Really Great.

  76. Thanks for the blog post.Really looking forward to read more. Much obliged.

  77. I just want to mention I’m newbie to weblog and honestly liked you’re web blog. Likely I’m going to bookmark your site . You certainly come with really good writings. Appreciate it for sharing with us your web-site.

  78. I really like and appreciate your blog article.Really looking forward to read more. Cool.

  79. Really informative article post.Thanks Again. Awesome.

  80. Really informative blog article.Much thanks again. Will read on…

  81. Thanks for the post.Much thanks again. Fantastic.

  82. same nearly a lot often inside case you shield this hike. Feel free to surf to my website; social bookmark

  83. Thank you a lot for sharing this with all of us you actually realize what you are speaking about! Bookmarked. Kindly also discuss with my website =). We may have a hyperlink change agreement among us!

  84. pretty useful material, overall I imagine this is worth a bookmark, thanks

  85. Im grateful for the blog.Thanks Again. Really Cool.

  86. thanks for sharing source files. many thanks

  87. Really informative article post.Much thanks again. Keep writing.

  88. Really enjoyed this blog post.Really thank you!

  89. I think this is a real great article post.Really thank you! Keep writing.

  90. wow, awesome blog post. Much obliged.

  91. Thanks so much for the blog.Much thanks again. Want more.

  92. Really enjoyed this blog.Really looking forward to read more. Want more.

  93. Looking forward to reading more. Great post.Thanks Again. Fantastic.

  94. Major thanks for the blog.Really looking forward to read more. Awesome.

  95. Wow, incredible weblog structure! How long have you been running a blog for? you made running a blog look easy. The overall look of your web site is wonderful, let alone the content material!

  96. I appreciate you sharing this blog.Much thanks again. Cool.

  97. Looking forward to reading more. Great blog post.Really looking forward to read more. Much obliged.

  98. Im thankful for the post.Really thank you!

  99. So pleased to possess discovered this submit.. I appreciate you posting your perspective.. Recognize the value of the entry you available.. So pleased to get identified this post..

  100. [url=http://atarax.us/]atarax[/url]

  101. Wow, fantastic blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your site is magnificent, let alone the content!

  102. I value the post.Much thanks again. Keep writing.

  103. I appreciate you sharing this blog article.Really thank you! Keep writing.

  104. I value the blog post.Thanks Again. Much obliged.

  105. I truly appreciate this blog.Really looking forward to read more. Really Great.

  106. Thank you ever so for you article post. Cool.

  107. This is one awesome blog article.Really looking forward to read more. Fantastic.

  108. Very informative blog post.Much thanks again. Much obliged.

  109. Thanks for the blog article.

  110. Super-Duper blog! I am loving it!! Will be back later to read some more. I am taking your feeds also

  111. I really enjoy the article post.Much thanks again. Will read on…

  112. Hey, thanks for the blog article.Really looking forward to read more. Will read on…

  113. Thanks a lot for the article. Want more.

  114. Im thankful for the article post.Much thanks again. Really Great.

  115. As a side note, the more we can use trackbacks, pingbacks, and backlinks to spread the love and our message, the better.we supply cheap nfl jerseys I encourage you to figure out how to use these tools as they can really make our words online much more effective and heard.

  116. I will right away postwholesale nfl jerseys clutch your rss as I can’t in finding your e-mail subscription link or newsletter service. Do you have any? Please let me realize so that I could subscribe. Thanks.

  117. I really liked your blog article.Really thank you! Really Cool.

  118. Really appreciate you sharing this blog.Really looking forward to read more.

  119. Thanks for another great article. Where else could anyone get that type of info in such a perfect way of writing? I ave a presentation next week, and I am on the look for such information.

  120. Very good article.Really thank you! Much obliged.

  121. Hey, thanks for the post.Really looking forward to read more.

  122. Say, you got a nice blog.Thanks Again. Want more.

  123. Thank for the article. Worth reading

  124. Very informative blog. Really Great.

  125. Im grateful for the article.Much thanks again. Awesome.

  126. Very neat article.Much thanks again. Really Cool.

  127. Appreciate you sharing, great article.Much thanks again. Awesome.

  128. GIPHs1 Really informative blog post. Really Cool.

  129. Enjoyed every bit of your blog post.Much thanks again. Keep writing.

  130. Thanks for this amaing article.

  131. Thanks-a-mundo for the article.Thanks Again. Want more.

  132. wow, awesome post.Really looking forward to read more. Want more.

  133. I simply want to tell you that I am newbie to weblog and actually enjoyed your blog site. Almost certainly I’m going to bookmark your blog . You really come with perfect writings. Thanks for sharing with us your blog.

  134. Thanks for the article.

  135. Great, thanks for sharing this blog post.Thanks Again. Really Cool.

  136. Thanks a lot for the blog post.Really thank you! Awesome.

コメントを残す