SlideShare una empresa de Scribd logo
1 de 88
Amanda Gomm
       @agomm
amanda@digitalbindery.com
  www.digitalbindery.com
Anne-Marie Concepción
President, Seneca Design & Training
@amarie
senecadesign.com
Colleen Cunningham
F&W Publications
@BookDesignGirl
thebookstudio.wordpress.com
Dan O. Williams
Digital Projects Manager, Storey Publishing
@FoxgloveCommons
www.storey.com
Dan O. Williams
Digital Projects Manager, Storey Publishing
@FoxgloveCommons
www.storey.com
Rick Gordon
Shelter Publications
@rcgordon
www.shelterpub.com
Tom McCluskey
Digital Bindery
@TomMcCluskey
www.digitalbindery.com
Show and Tell
• The digital typography tool chest
• The Why, How, & Which of embedding fonts.
• “But will I go to jail?”
account for
• user intervention
• reading system fail
• backwards compatibility
•   Semantic Markup
•   Responsive Measurements
•   Graceful Degradation
•   Progressive Enhancement
•   Font Stacks
• Font Basics
   –   Font-family
   –   Font-size
   –   Font-style
   –   Font-variant
   –   Font-weight
   –   Text-transform
• Advanced Font Manipulation
   –   Font-size-adjust
   –   Font-stretch
   –   Word-spacing
   –   Hanging-punctuation
   –   Punctuation-trim
• Because the option is the “Whatever
  Approach” to font selection.
• Because we can.
• Because life in Caecilia all the time is not a
  life worth living.
• If you really don’t know why, I am going to go
  to your house and remove all your fonts except
  Papyrus. Then the rest of us will go have a
  whiskey.
• What’s your budget for fonts?
• That’s what I thought.
• Try something free to distribute.

“Permission is hereby granted, free of charge, to any
person obtaining a copy of the Font Software, to use,
study, copy, merge, embed, modify, redistribute, and sell
modified and unmodified copies of the Font Software…”
—Font License for Adobe’s Source Sans Pro

Resources: Font Squirrel, Google Web Fonts
• Yes. Obviously.
• For more about the legal issues of embedding
  fonts in ebooks, go see Charles Nix tomorrow.



*Amanda Gomm is in no way qualified to give legal advice.
• Put the font (and any necessary licenses) into the
  OEBPS file
• Declare it in your OPF file
• Link to it in the CSS with @font-face
• Specify the font using font-family

What could possibly go wrong?
Hint: Epubcheck will get cranky if you’ve got your
CSS encoded incorrectly
Just because we’re doing things digitally
 doesn’t mean we get to lose our minds.
• Character Size
• Baseline Grid
• Line Length
• Typical font sizes for print will be too small
  for reading devices
• Setting explicit sizes can anger some readers
  and retailers
• Font-size: medium and font-size: 1.00em will
  size the font to default
• We can scale from there
• Line-height is not leading
• Make it relative (1.50em for example)
• Remember to add bottom margins to headers,
  images, etc.
• Remember that line-height and margin relative
  sizes are inherited from the parent element

Resource: 24ways.org/2006/compose-to-a-vertical-rhythm/
• Be mindful of how your typeface and font-size
  affects line length
• In normal scenarios, lines that are too long are
  rarely a problem
• Just in case: p { max-width: 66em; }
• Lines are likely to be too short for larger fonts
  if relative margins are used
No more ladders, no more rivers…
   a girl can dream. Can’t she?
•   hyphens: none | auto | manual
•   -webkit-hyphens: none | auto | manual
•   -moz-hyphens: none | auto | manual
•   adobe-hyphenate: none | auto | explicit
• Set hyphens via ­ (soft hyphen)
•   hyphenate-after: auto | integer
•   hyphenate-before: auto | integer
•   hyphenate-character: auto | string (e.g. "2112”)
•   hyphenate-lines: auto | integer
• Tip from Rick Gordon: bold and italic spans don’t
  always inherit the hyphenation rules.

em {
       font-style:italic;
       font-weight:inherit;
       -webkit-hyphens:inherit;
       hyphens:inherit;
}
Be creative and persistent.
      Raise the bar.
• Rick Gordon’s Solution for thin spaces around em
  dashes:

<style>
.thin {
letter-spacing: -.2em;
}
</style>

<span class=“thin”> </span>—<span class=“thin”> </span>
• Rick Gordon’s Solution for thin spaces around em dashes + Tom
  McCluskey’s solution for keeping em dashes with their predecessor

<style>
.thin {
letter-spacing: -.2em;
}
.nobreak {
white-space: nowrap;
}
</style>

<span class=“nobreak”>word<span class=“thin”> </span>—</span><span
class=“thin”> </span>
All your space are belong to us.
• Page-break-before: auto | always | avoid | right | left
• Page-break-after: auto | always | avoid | right | left
• Page-break-inside: auto | avoid
• Orphans: integer
• Widows: integer

p{
    orphans: 2;
    widows: 2;
}
Header (page-break-after: avoid: page-break-inside:
avoid;)
Body Text (h1 + p page-break-before: avoid)

Figure (page-break-after: avoid)
Caption (page-break-before: avoid; page-break-
inside: avoid;)

Tables (page-break-inside: avoid)
Show and Tell
(that look great)
• Images Pros
  – Perfect representation
  – Readers can’t mess it up
  – All of the data will fit nicely all the time

• HTML Pros
  – Accessibility
  – Reflowability
  – Readers can mess it up
  – The data can be dynamic
Show and Tell
Will mess with line-height unless you do
something about it!

Here’s something Rick Gordon does:

sup {
        line-height:0;
}
Dan Williams uses the following:

a:link:after {
    margin: 0 0.05em 0 0.3em;
    color: #555;
    content: "002794";
    font-style: normal;
    text- decoration: none;
    position: relative;
    top: .1em;
}
text-size-adjust/-webkit-text-size-adjust : 100%

Or

text-size-adjust/-webkit-text-size-adjust : none


*Tip from Rick Gordon
Dan Williams uses before: to display the word ABOVE
before each caption

figcaption:before {
    color: inherit;
    content: "above:";
    font-style: normal;
    padding-right: .4em;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 0.65rem;
    font- family: "chivo", helvetica, arial, sans-serif;
}
Media Queries are Rad
• The solution you ask?
•   Anne-Marie Concepción (@amarie)
•   Colleen Cunningham (@BookDesignGirl)
•   Dan O. Williams (@FoxgloveCommons)
•   Rick Gordon (@rcgordon)
•   Tom McCluskey (@TomMcCluskey
Homegrown Honey Bees by Alethea Morrison

Stretching: Enhanced 30th Anniversary Edition by Bob Anderson

Discover Colorado by Mathew Downey and Ty Bliss

The Everything Learning French Book 2nd Edition published by F&W
Media

Waldon (as designed by Dan O. Williams) by Henry David Thoreau

Killer Commodities published by F&W Media

eBook Typography by Chris Jennings
Amanda Gomm
       @agomm
amanda@digitalbindery.com
  www.digitalbindery.com

Más contenido relacionado

La actualidad más candente

Introduction to web sites design
Introduction to  web sites designIntroduction to  web sites design
Introduction to web sites designMarwa Abdelgawad
 
Beautiful Web Typography (#5)
Beautiful Web Typography (#5)Beautiful Web Typography (#5)
Beautiful Web Typography (#5)Pascal Klein
 
Selfish Accessibility — YGLF Vilnius
Selfish Accessibility — YGLF VilniusSelfish Accessibility — YGLF Vilnius
Selfish Accessibility — YGLF VilniusAdrian Roselli
 
How to Make a Book: The Pressbooks Guide to Self-Publishing
How to Make a Book: The Pressbooks Guide to Self-PublishingHow to Make a Book: The Pressbooks Guide to Self-Publishing
How to Make a Book: The Pressbooks Guide to Self-PublishingHugh McGuire
 
The Role of Design in Accessibility — a11yTO Meet-up
The Role of Design in Accessibility — a11yTO Meet-upThe Role of Design in Accessibility — a11yTO Meet-up
The Role of Design in Accessibility — a11yTO Meet-upAdrian Roselli
 
Role of Design in Accessibility — VilniusJS Meet-up
Role of Design in Accessibility — VilniusJS Meet-upRole of Design in Accessibility — VilniusJS Meet-up
Role of Design in Accessibility — VilniusJS Meet-upAdrian Roselli
 
Mobilizing wordpress WordCamp Edmonton 2011
Mobilizing wordpress WordCamp Edmonton 2011Mobilizing wordpress WordCamp Edmonton 2011
Mobilizing wordpress WordCamp Edmonton 2011Curtis McHale
 
Sausage & Laws; or, Making P+E books with CSS & HTML
Sausage & Laws; or, Making P+E books with CSS & HTMLSausage & Laws; or, Making P+E books with CSS & HTML
Sausage & Laws; or, Making P+E books with CSS & HTMLHugh McGuire
 
Designing for WordPress
Designing for WordPressDesigning for WordPress
Designing for WordPressLiam Dempsey
 
E-book publishing at Mahwah Public Library, Mahwah, NJ
E-book publishing at Mahwah Public Library, Mahwah, NJE-book publishing at Mahwah Public Library, Mahwah, NJ
E-book publishing at Mahwah Public Library, Mahwah, NJPatrick McCarthy
 
Library presentation 2015 ebook publishing
Library presentation 2015 ebook publishingLibrary presentation 2015 ebook publishing
Library presentation 2015 ebook publishingPatrick McCarthy
 
The web standards gentleman: a matter of (evolving) standards)
The web standards gentleman: a matter of (evolving) standards)The web standards gentleman: a matter of (evolving) standards)
The web standards gentleman: a matter of (evolving) standards)Chris Mills
 
Mobilizing WordPress
Mobilizing WordPressMobilizing WordPress
Mobilizing WordPressCurtis McHale
 
How To Build An Accessible Web Application - a11yBos
How To Build An Accessible Web Application - a11yBosHow To Build An Accessible Web Application - a11yBos
How To Build An Accessible Web Application - a11yBosDennis Lembree
 
Why are preprocessors divisive
Why are preprocessors divisiveWhy are preprocessors divisive
Why are preprocessors divisiveKianosh Pourian
 
Website tips & tricks
Website tips & tricksWebsite tips & tricks
Website tips & tricksindianheadfls
 
D2L Webinar: Five More Quick Wins for Accessible Online Courses
D2L Webinar: Five More Quick Wins for Accessible Online CoursesD2L Webinar: Five More Quick Wins for Accessible Online Courses
D2L Webinar: Five More Quick Wins for Accessible Online CoursesD2L Barry
 

La actualidad más candente (19)

Introduction to web sites design
Introduction to  web sites designIntroduction to  web sites design
Introduction to web sites design
 
Beautiful Web Typography (#5)
Beautiful Web Typography (#5)Beautiful Web Typography (#5)
Beautiful Web Typography (#5)
 
Selfish Accessibility — YGLF Vilnius
Selfish Accessibility — YGLF VilniusSelfish Accessibility — YGLF Vilnius
Selfish Accessibility — YGLF Vilnius
 
How to Make a Book: The Pressbooks Guide to Self-Publishing
How to Make a Book: The Pressbooks Guide to Self-PublishingHow to Make a Book: The Pressbooks Guide to Self-Publishing
How to Make a Book: The Pressbooks Guide to Self-Publishing
 
The Role of Design in Accessibility — a11yTO Meet-up
The Role of Design in Accessibility — a11yTO Meet-upThe Role of Design in Accessibility — a11yTO Meet-up
The Role of Design in Accessibility — a11yTO Meet-up
 
Role of Design in Accessibility — VilniusJS Meet-up
Role of Design in Accessibility — VilniusJS Meet-upRole of Design in Accessibility — VilniusJS Meet-up
Role of Design in Accessibility — VilniusJS Meet-up
 
Mobilizing wordpress WordCamp Edmonton 2011
Mobilizing wordpress WordCamp Edmonton 2011Mobilizing wordpress WordCamp Edmonton 2011
Mobilizing wordpress WordCamp Edmonton 2011
 
Sausage & Laws; or, Making P+E books with CSS & HTML
Sausage & Laws; or, Making P+E books with CSS & HTMLSausage & Laws; or, Making P+E books with CSS & HTML
Sausage & Laws; or, Making P+E books with CSS & HTML
 
Designing for WordPress
Designing for WordPressDesigning for WordPress
Designing for WordPress
 
Blogging
BloggingBlogging
Blogging
 
E-book publishing at Mahwah Public Library, Mahwah, NJ
E-book publishing at Mahwah Public Library, Mahwah, NJE-book publishing at Mahwah Public Library, Mahwah, NJ
E-book publishing at Mahwah Public Library, Mahwah, NJ
 
Library presentation 2015 ebook publishing
Library presentation 2015 ebook publishingLibrary presentation 2015 ebook publishing
Library presentation 2015 ebook publishing
 
The web standards gentleman: a matter of (evolving) standards)
The web standards gentleman: a matter of (evolving) standards)The web standards gentleman: a matter of (evolving) standards)
The web standards gentleman: a matter of (evolving) standards)
 
Mobilizing WordPress
Mobilizing WordPressMobilizing WordPress
Mobilizing WordPress
 
How To Build An Accessible Web Application - a11yBos
How To Build An Accessible Web Application - a11yBosHow To Build An Accessible Web Application - a11yBos
How To Build An Accessible Web Application - a11yBos
 
Why are preprocessors divisive
Why are preprocessors divisiveWhy are preprocessors divisive
Why are preprocessors divisive
 
Website tips & tricks
Website tips & tricksWebsite tips & tricks
Website tips & tricks
 
D2L Webinar: Five More Quick Wins for Accessible Online Courses
D2L Webinar: Five More Quick Wins for Accessible Online CoursesD2L Webinar: Five More Quick Wins for Accessible Online Courses
D2L Webinar: Five More Quick Wins for Accessible Online Courses
 
Blogging for Business - An Introduction
Blogging for Business - An IntroductionBlogging for Business - An Introduction
Blogging for Business - An Introduction
 

Similar a Achieving Beautiful Typography in eBooks

Best Practices for Incredible Web Typography
Best Practices for Incredible Web TypographyBest Practices for Incredible Web Typography
Best Practices for Incredible Web TypographyExtensis
 
01 Introduction To CSS
01 Introduction To CSS01 Introduction To CSS
01 Introduction To CSScrgwbr
 
6 Things to Think About Before Building Your Website
6 Things to Think About Before Building Your Website6 Things to Think About Before Building Your Website
6 Things to Think About Before Building Your WebsiteFloown
 
FITC - 2012-04-23 - Responsive Web Design
FITC - 2012-04-23 - Responsive Web DesignFITC - 2012-04-23 - Responsive Web Design
FITC - 2012-04-23 - Responsive Web DesignFrédéric Harper
 
The Third Screen: Using HTML+CSS to format for Print
The Third Screen: Using HTML+CSS to format for PrintThe Third Screen: Using HTML+CSS to format for Print
The Third Screen: Using HTML+CSS to format for PrintWilliam Hertling
 
Web Typography 101
Web Typography 101Web Typography 101
Web Typography 101breahnag
 
Introduction about wireframing and responsive webdesign
Introduction about wireframing and responsive webdesignIntroduction about wireframing and responsive webdesign
Introduction about wireframing and responsive webdesignipmindthegap
 
Making Your Site Printable: Booster Conference
Making Your Site Printable: Booster ConferenceMaking Your Site Printable: Booster Conference
Making Your Site Printable: Booster ConferenceAdrian Roselli
 
HICapacity UI talk by Kathryne Sakata
HICapacity UI talk by Kathryne SakataHICapacity UI talk by Kathryne Sakata
HICapacity UI talk by Kathryne Sakatahicapacity
 
Tech 802: Web Design Part 2
Tech 802: Web Design Part 2Tech 802: Web Design Part 2
Tech 802: Web Design Part 2somisguided
 
Castro Chapter 10
Castro Chapter 10Castro Chapter 10
Castro Chapter 10Jeff Byrnes
 
11 Amazing things I Learnt At Word Camp Sydney 2014
11 Amazing things I Learnt At Word Camp Sydney 201411 Amazing things I Learnt At Word Camp Sydney 2014
11 Amazing things I Learnt At Word Camp Sydney 2014WordPressBrisbane
 
Web Service Creation in HTML5
Web Service Creation in HTML5Web Service Creation in HTML5
Web Service Creation in HTML5Tero A. Laiho
 
With Great Power, a lecture on web typography
With Great Power, a lecture on web typographyWith Great Power, a lecture on web typography
With Great Power, a lecture on web typographyErika Tarte
 
Responsive Web Design & Typography
Responsive Web Design & TypographyResponsive Web Design & Typography
Responsive Web Design & TypographyDanny Calders
 
Web design-workflow
Web design-workflowWeb design-workflow
Web design-workflowPeter Kaizer
 
Understanding Content Management Services
Understanding Content Management ServicesUnderstanding Content Management Services
Understanding Content Management Services360ideas
 
Content strategy for mobile
Content strategy for mobileContent strategy for mobile
Content strategy for mobileKarolina Szczur
 
The Future Of CSS
The Future Of CSSThe Future Of CSS
The Future Of CSSAndy Budd
 

Similar a Achieving Beautiful Typography in eBooks (20)

Best Practices for Incredible Web Typography
Best Practices for Incredible Web TypographyBest Practices for Incredible Web Typography
Best Practices for Incredible Web Typography
 
01 Introduction To CSS
01 Introduction To CSS01 Introduction To CSS
01 Introduction To CSS
 
6 Things to Think About Before Building Your Website
6 Things to Think About Before Building Your Website6 Things to Think About Before Building Your Website
6 Things to Think About Before Building Your Website
 
FITC - 2012-04-23 - Responsive Web Design
FITC - 2012-04-23 - Responsive Web DesignFITC - 2012-04-23 - Responsive Web Design
FITC - 2012-04-23 - Responsive Web Design
 
The Third Screen: Using HTML+CSS to format for Print
The Third Screen: Using HTML+CSS to format for PrintThe Third Screen: Using HTML+CSS to format for Print
The Third Screen: Using HTML+CSS to format for Print
 
Web Typography 101
Web Typography 101Web Typography 101
Web Typography 101
 
Introduction about wireframing and responsive webdesign
Introduction about wireframing and responsive webdesignIntroduction about wireframing and responsive webdesign
Introduction about wireframing and responsive webdesign
 
Making Your Site Printable: Booster Conference
Making Your Site Printable: Booster ConferenceMaking Your Site Printable: Booster Conference
Making Your Site Printable: Booster Conference
 
HICapacity UI talk by Kathryne Sakata
HICapacity UI talk by Kathryne SakataHICapacity UI talk by Kathryne Sakata
HICapacity UI talk by Kathryne Sakata
 
Tech 802: Web Design Part 2
Tech 802: Web Design Part 2Tech 802: Web Design Part 2
Tech 802: Web Design Part 2
 
Castro Chapter 10
Castro Chapter 10Castro Chapter 10
Castro Chapter 10
 
11 Amazing things I Learnt At Word Camp Sydney 2014
11 Amazing things I Learnt At Word Camp Sydney 201411 Amazing things I Learnt At Word Camp Sydney 2014
11 Amazing things I Learnt At Word Camp Sydney 2014
 
Web Service Creation in HTML5
Web Service Creation in HTML5Web Service Creation in HTML5
Web Service Creation in HTML5
 
With Great Power, a lecture on web typography
With Great Power, a lecture on web typographyWith Great Power, a lecture on web typography
With Great Power, a lecture on web typography
 
Don't Make Me Scroll
Don't Make Me ScrollDon't Make Me Scroll
Don't Make Me Scroll
 
Responsive Web Design & Typography
Responsive Web Design & TypographyResponsive Web Design & Typography
Responsive Web Design & Typography
 
Web design-workflow
Web design-workflowWeb design-workflow
Web design-workflow
 
Understanding Content Management Services
Understanding Content Management ServicesUnderstanding Content Management Services
Understanding Content Management Services
 
Content strategy for mobile
Content strategy for mobileContent strategy for mobile
Content strategy for mobile
 
The Future Of CSS
The Future Of CSSThe Future Of CSS
The Future Of CSS
 

Último

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 

Último (20)

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 

Achieving Beautiful Typography in eBooks

  • 1. Amanda Gomm @agomm amanda@digitalbindery.com www.digitalbindery.com
  • 2. Anne-Marie Concepción President, Seneca Design & Training @amarie senecadesign.com
  • 4. Dan O. Williams Digital Projects Manager, Storey Publishing @FoxgloveCommons www.storey.com
  • 5. Dan O. Williams Digital Projects Manager, Storey Publishing @FoxgloveCommons www.storey.com
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22. • The digital typography tool chest • The Why, How, & Which of embedding fonts. • “But will I go to jail?”
  • 23. account for • user intervention • reading system fail • backwards compatibility
  • 24. Semantic Markup • Responsive Measurements • Graceful Degradation • Progressive Enhancement • Font Stacks
  • 25. • Font Basics – Font-family – Font-size – Font-style – Font-variant – Font-weight – Text-transform • Advanced Font Manipulation – Font-size-adjust – Font-stretch – Word-spacing – Hanging-punctuation – Punctuation-trim
  • 26. • Because the option is the “Whatever Approach” to font selection. • Because we can. • Because life in Caecilia all the time is not a life worth living. • If you really don’t know why, I am going to go to your house and remove all your fonts except Papyrus. Then the rest of us will go have a whiskey.
  • 27. • What’s your budget for fonts? • That’s what I thought. • Try something free to distribute. “Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software…” —Font License for Adobe’s Source Sans Pro Resources: Font Squirrel, Google Web Fonts
  • 28. • Yes. Obviously. • For more about the legal issues of embedding fonts in ebooks, go see Charles Nix tomorrow. *Amanda Gomm is in no way qualified to give legal advice.
  • 29. • Put the font (and any necessary licenses) into the OEBPS file • Declare it in your OPF file • Link to it in the CSS with @font-face • Specify the font using font-family What could possibly go wrong? Hint: Epubcheck will get cranky if you’ve got your CSS encoded incorrectly
  • 30.
  • 31.
  • 32.
  • 33. Just because we’re doing things digitally doesn’t mean we get to lose our minds.
  • 34. • Character Size • Baseline Grid • Line Length
  • 35. • Typical font sizes for print will be too small for reading devices • Setting explicit sizes can anger some readers and retailers • Font-size: medium and font-size: 1.00em will size the font to default • We can scale from there
  • 36. • Line-height is not leading • Make it relative (1.50em for example) • Remember to add bottom margins to headers, images, etc. • Remember that line-height and margin relative sizes are inherited from the parent element Resource: 24ways.org/2006/compose-to-a-vertical-rhythm/
  • 37. • Be mindful of how your typeface and font-size affects line length • In normal scenarios, lines that are too long are rarely a problem • Just in case: p { max-width: 66em; } • Lines are likely to be too short for larger fonts if relative margins are used
  • 38. No more ladders, no more rivers… a girl can dream. Can’t she?
  • 39. hyphens: none | auto | manual • -webkit-hyphens: none | auto | manual • -moz-hyphens: none | auto | manual • adobe-hyphenate: none | auto | explicit
  • 40. • Set hyphens via &shy; (soft hyphen)
  • 41. hyphenate-after: auto | integer • hyphenate-before: auto | integer • hyphenate-character: auto | string (e.g. "2112”) • hyphenate-lines: auto | integer
  • 42. • Tip from Rick Gordon: bold and italic spans don’t always inherit the hyphenation rules. em { font-style:italic; font-weight:inherit; -webkit-hyphens:inherit; hyphens:inherit; }
  • 43. Be creative and persistent. Raise the bar.
  • 44. • Rick Gordon’s Solution for thin spaces around em dashes: <style> .thin { letter-spacing: -.2em; } </style> <span class=“thin”> </span>—<span class=“thin”> </span>
  • 45. • Rick Gordon’s Solution for thin spaces around em dashes + Tom McCluskey’s solution for keeping em dashes with their predecessor <style> .thin { letter-spacing: -.2em; } .nobreak { white-space: nowrap; } </style> <span class=“nobreak”>word<span class=“thin”> </span>—</span><span class=“thin”> </span>
  • 46. All your space are belong to us.
  • 47. • Page-break-before: auto | always | avoid | right | left • Page-break-after: auto | always | avoid | right | left • Page-break-inside: auto | avoid
  • 48. • Orphans: integer • Widows: integer p{ orphans: 2; widows: 2; }
  • 49. Header (page-break-after: avoid: page-break-inside: avoid;) Body Text (h1 + p page-break-before: avoid) Figure (page-break-after: avoid) Caption (page-break-before: avoid; page-break- inside: avoid;) Tables (page-break-inside: avoid)
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 57.
  • 58.
  • 59.
  • 60.
  • 61.
  • 62.
  • 64. • Images Pros – Perfect representation – Readers can’t mess it up – All of the data will fit nicely all the time • HTML Pros – Accessibility – Reflowability – Readers can mess it up – The data can be dynamic
  • 66.
  • 67.
  • 68.
  • 69.
  • 70.
  • 71.
  • 72.
  • 73.
  • 74. Will mess with line-height unless you do something about it! Here’s something Rick Gordon does: sup { line-height:0; }
  • 75. Dan Williams uses the following: a:link:after { margin: 0 0.05em 0 0.3em; color: #555; content: "002794"; font-style: normal; text- decoration: none; position: relative; top: .1em; }
  • 76.
  • 78. Dan Williams uses before: to display the word ABOVE before each caption figcaption:before { color: inherit; content: "above:"; font-style: normal; padding-right: .4em; text-transform: uppercase; letter-spacing: .1em; font-size: 0.65rem; font- family: "chivo", helvetica, arial, sans-serif; }
  • 79.
  • 80.
  • 81.
  • 83. • The solution you ask?
  • 84.
  • 85.
  • 86. Anne-Marie Concepción (@amarie) • Colleen Cunningham (@BookDesignGirl) • Dan O. Williams (@FoxgloveCommons) • Rick Gordon (@rcgordon) • Tom McCluskey (@TomMcCluskey
  • 87. Homegrown Honey Bees by Alethea Morrison Stretching: Enhanced 30th Anniversary Edition by Bob Anderson Discover Colorado by Mathew Downey and Ty Bliss The Everything Learning French Book 2nd Edition published by F&W Media Waldon (as designed by Dan O. Williams) by Henry David Thoreau Killer Commodities published by F&W Media eBook Typography by Chris Jennings
  • 88. Amanda Gomm @agomm amanda@digitalbindery.com www.digitalbindery.com

Notas del editor

  1. The most robust typography planReaders will change sizeReading systems won’t be able to embed fontsSomebody will read your book on a Kindle 1
  2. The most robust typography plan accounts for user intervention, reading system fail, and backwards compatibility.
  3. Other thing in our tool chest: ability to manipulate fontJust like print, these can be powerful tools easily over used.
  4. Would you go to the printer and ask them to just go ahead and throw whatever font they have on their system into the book. Sure, you designed it in Caslon, but you know, bodoni, or bauhaus, or whatever. That’s fine.
  5. Probably not.* But you may get in big trouble—meaning embarrassment and cash settlements.
  6. Do you need to go back and read Bringhurst to remind you of the noble tradition from whence we come?
  7. so if you set your headers to a bigger font, you’ll need to scale your bottom margin accordingly to retain the grid
  8. Javascript can deal with characters per line so for reading systems that support scripting, that’s an option.
  9. Zero-width joiners are also an option but we’ve run into some problems with certain default fonts on certain reading systems that present the zwj’s as boxes.