SlideShare a Scribd company logo
1 of 26
Download to read offline
Web Fontのいま
 バイドゥ社内勉強会 秋葉ちひろ

     2012.7.27
Webフォントについて
2002年から策定が開始


2011年10月4日にW3Cの仕様書でワーキングドラフト

(CSS Fonts Module Level 3)


ブラウザの実装がやっと始まって実用レベルに
Webフォントについて
今までは、自分のパソコンに入っているフォントしか表

示できなかった
MSゴシック/Windows
新ゴ(モリサワ)・明朝オールド(イワタ)/Windows
海外では先行して発展
くそ重い
海外では先行して発展
文字数が少なく、アルファベット(大文字・小文字)、

数字、記号、などあわせてもせいぜい100∼200KB


オリジナルフォントも作りやすい
日本では難しい理由
文字数が多すぎる(漢字が鬼)


 教育漢字(小学6年生までに習う漢字)だけだとして

 も1,006字


 常用漢字だと2136字


 漢検1級の対象漢字となると約6,000字
日本では難しい理由
全部含めるとフォントファイルは10MBにも…


 10MB→光回線でも少々しんどい


 イーモバ・Wimax、3Gだとストレスになるだけ
日本では難しい理由
昔ながらのフォントベンダーさんの頭がカタい


 モリサワ:484書体・52,500円/年


 イワタ:1書体あたり・10,500円∼


 フォントワークス: 1書体あたり・18,900円∼


 モトヤ
日本では難しい理由
昔ながらのフォントベンダーさんの頭がカタい


 われわれは紙で勝負だ!


 Webで表示できるようになったらコピーされまくり

 じゃないか!


 ライセンス料はどうするんだ!
本格的サービス開始
本格的なサービス開始
フォントベンダーを巻き込んだWebフォントサービス


 イワタ・フォントワークス・モトヤなど


 モリサワも加わって約600書体


 入会金:10,500円、月額1,050円∼
本格的サービス開始
本格的なサービス開始
モリサワが独自に始めたサービス


 PVによって価格が変わる


 30万PV:4,200円/3ヶ月
メリット
更新のコスパがよい


「Webの特性」と「デザイナーのエゴ」の両立


レスポンシブにもやさしい
デメリット
お金がかかる(だいたい月に1,000∼2,000円程度)


表示速度


 フォントファイルが重いので閲覧できるまでに時間が

 かかる
表示方法
1.使っている文字のみをサブセット化


2.その都度jsで判断
1.使っているフォントのみをサブセット化

 HTMLとCSSを送る


 使われている文字のみのフォントファイルを返す

  今日は暑いですね。




               いすはねで暑今日。
1.使っているフォントのみをサブセット化

 無駄な文字が省かれるのでフォントファイルは軽くなる


 Webサイト全体でもおそらく2,000文字ぐらい

 →200KBぐらい


 ページ遷移をしても、一度フォントファイルを読み込ん

 でいるのでストレスなく見れる
2.その都度jsで判断
jsを読みこませるだけなので導入は簡単


その都度どの文字を使っているのか判定して返す(?)

ので、時間がかかる
2.その都度jsで判断
jsを読みこませるだけなので導入は簡単


その都度どの文字を使っているのか判定して返す(?)

ので、時間がかかる
2.その都度jsで判断
font+さんからAPIが提供されていて、最初のデバイス

フォントを呼び出さずに、

「消えた状態」→「Webフォント」

も可能に


パッと見たときに文字が表示されていない状態になる
2.その都度jsで判断
ユーザーのことを考えるといまいち使う気になれない


ちらつきもいやだし、文字の表示を待つのもいや
使えるところは

どんどん使おう!
いまの時点での最良の方法
ナビゲーションやカテゴリタイトルといった、静的な部

分だけサブセット化して使う


動的なコンテンツはデバイスフォントを使う

More Related Content

Featured

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 

Featured (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

Web Fontのいま