SlideShare una empresa de Scribd logo
1 de 31
Descargar para leer sin conexión
The bunny slopes of
SVG mountain
A gentle introduction
Some prerequisite knowledge:
● EPUB structure
● EPUB support landscape
● XHTML and CSS
● Basic XML
Part 1: Some background
Part 2: SVG itself
Part 3: Let's play!
EPUB file:
https://goo.gl/pLzmsL
Part 1
Some Background
Scalable
Vector
Graphic
The SVG Spec
● SVG 1.1
○ Released in 2011
● SVG 2.0
○ Now a Candidate Recommendation (October 2018)
○ https://www.w3.org/TR/SVG2/
● Tiny SVG and Basic SVG
○ Subsets of SVG 1.1
○ Restricted features
○ https://www.w3.org/TR/2003/REC-SVGMobile-20030114/
Why use SVG
● Scalable
○ Readers can zoom in to see details with clarity
● XML based
○ Small file size
○ Processing power is a factor
SVG and EPUB
● Core Media Type
○ No fallback is required
● Can be used as a spine item
● Can be used as an object within an XHTML page
● Can be embedded in an XHTML file (recommended)
○ Include properties="svg" in the manifest declaration
A note on Accessibility
SVG is not accessible
A note on Accessibility
SVG is not accessible
as accessible as you make it
Part 2
SVG
Tools for today
● Your favored text editor (with XML syntax highlighting)
○ I will be using BBEdit
● Your favored set of web developer tools
○ I will be using Chrome
● Your favored EPUB QC tool for testing
○ I will be using iBooks and the inspector, and KPR3
Tools for tomorrow
● Inkscape (Free SVG creation tool)
● Adobe Illustrator
Geometry: Down is up
Everything is measured from the top left corner
Y
X0
● 1,1
Geometry: Down is up
Everything is measured from the top left corner
Y
X0
● 1,1
● 2,2
Geometry: Lines
<line x1="1" y1="1" x2="2" y2="2"/>
Y
X0
●
●
Geometry: Circles
<line x1="1" y1="1" x2="2" y2="2"/>
<circle cx="2" cy="2" r="1"/>
Y
X0
●
●
Geometry: “Mountain”
<line x1="1" y1="4" x2="2" y2="1"/>
<line x1="2" y1="1" x2="4" y2="4"/>
<circle cx="1" cy="1" r=".5"/>
Y
X
Geometry: Shapes
Types of shapes
● line
● rect (rectangle)
● circle
● elipse
● polyline (a multi-point line)
● polygon (a multi-sided shape)
● path (this is the most complex and
can be used to draw any shape)
Each shape has different
required attributes and can
be styled using CSS
Styling: CSS
● Most CSS properties can be used to style SVG
● There are some differences (like fill instead of color for text)
● Can be applied in multiple ways
○ Inline
○ Top of xhtml
○ Top of SVG
○ Separate CSS
Geometry: User coordinate system
● XHTML sets the size of the SVG
● viewBox on the SVG sets the stage
○ Declares the viewable area size
○ This one is easier to show
● Use unitless values or percent for all points inside the SVG
Let’s get started!
Let’s pretend this is SVG mountain
By Chris 73 / Wikimedia Commons, CC BY-SA 3.0,
https://commons.wikimedia.org/w/index.php?curid=1792595
OK, this is SVG Mountain
To the live code demo
Moving on from shapes
Moving on from absolute positioning
● Relative positioning, dx and dy
● Transformation basics:
○ rotate
○ skew
○ scale
● The transform attribute can concatenate them together
● The matrix element can be used for more complex transformations
● Bezier curves
Text in SVG
● Anything you can do in CSS you can do in SVG
○ Embedding fonts
○ Rotate, scale, skew
● There is no semantic meaning, just <text>
○ Can use ARIA to add semantic context but it’s weirdly implemented
● Night mode
A note on compatibility
● SVG in fixed layout is generally well supported
○ Except placing text on a drawn path
● SVG in reflow has real benefits, but large costs
○ Embedded fonts are mostly dependable
○ Processing time
○ Kindle Enhanced Typesetting is disabled
● Check your SVG files on all the platforms you want to support
○ Take what you would expect for CSS discrepancies and triple it
● Use SVG 1.1
Some resources:
MDN introduction: https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial
SVG 1.1: https://www.w3.org/TR/SVG11/
SVG 2.0: https://www.w3.org/TR/SVG2/
Tiny and Basic SVG: https://www.w3.org/TR/2003/REC-SVGMobile-20030114/
Inkscape: https://inkscape.org/

Más contenido relacionado

Similar a The Bunny Slopes of SVG Mountain - Naomi Kennedy (Penguin Random House) - ebookcraft 2019

Similar a The Bunny Slopes of SVG Mountain - Naomi Kennedy (Penguin Random House) - ebookcraft 2019 (20)

HTML5 & SVG in Cartography - Workshop
HTML5 & SVG in Cartography - WorkshopHTML5 & SVG in Cartography - Workshop
HTML5 & SVG in Cartography - Workshop
 
Raster to Vector Conversion: Basic Commands Overview, A Lesson from GTX (Part 2)
Raster to Vector Conversion: Basic Commands Overview, A Lesson from GTX (Part 2)Raster to Vector Conversion: Basic Commands Overview, A Lesson from GTX (Part 2)
Raster to Vector Conversion: Basic Commands Overview, A Lesson from GTX (Part 2)
 
Dojo GFX: SVG in the real world
Dojo GFX: SVG in the real worldDojo GFX: SVG in the real world
Dojo GFX: SVG in the real world
 
Graphics 2D SVG
Graphics 2D SVGGraphics 2D SVG
Graphics 2D SVG
 
Computer Graphics - Lecture 01 - 3D Programming I
Computer Graphics - Lecture 01 - 3D Programming IComputer Graphics - Lecture 01 - 3D Programming I
Computer Graphics - Lecture 01 - 3D Programming I
 
Web development basics (Part-3)
Web development basics (Part-3)Web development basics (Part-3)
Web development basics (Part-3)
 
NDGeospatialSummit2019 - Everything You Need to Know About ArcGIS Vector Tiles
NDGeospatialSummit2019 - Everything You Need to Know About ArcGIS Vector TilesNDGeospatialSummit2019 - Everything You Need to Know About ArcGIS Vector Tiles
NDGeospatialSummit2019 - Everything You Need to Know About ArcGIS Vector Tiles
 
Ultimate Guide: PNG-to-DWG File Conversion
Ultimate Guide: PNG-to-DWG File ConversionUltimate Guide: PNG-to-DWG File Conversion
Ultimate Guide: PNG-to-DWG File Conversion
 
SVG (Devoxx 2011, 2011-NOV-14)
SVG (Devoxx 2011, 2011-NOV-14)SVG (Devoxx 2011, 2011-NOV-14)
SVG (Devoxx 2011, 2011-NOV-14)
 
D3 & MeteorJS
D3 & MeteorJSD3 & MeteorJS
D3 & MeteorJS
 
D3 & MeteorJS
D3 & MeteorJSD3 & MeteorJS
D3 & MeteorJS
 
Open gl
Open glOpen gl
Open gl
 
Titan and Cassandra at WellAware
Titan and Cassandra at WellAwareTitan and Cassandra at WellAware
Titan and Cassandra at WellAware
 
Layar Tutorial - 3D Content Creation Tips & Tricks
Layar Tutorial - 3D Content Creation Tips & TricksLayar Tutorial - 3D Content Creation Tips & Tricks
Layar Tutorial - 3D Content Creation Tips & Tricks
 
SVGD3Angular2React
SVGD3Angular2ReactSVGD3Angular2React
SVGD3Angular2React
 
State of GeoServer 2.12
State of GeoServer 2.12State of GeoServer 2.12
State of GeoServer 2.12
 
Agile data visualisation
Agile data visualisationAgile data visualisation
Agile data visualisation
 
The Ultimate Guide To Converting JPG to DWG
The Ultimate Guide To Converting JPG to DWGThe Ultimate Guide To Converting JPG to DWG
The Ultimate Guide To Converting JPG to DWG
 
HBaseCon2017 Quanta: Quora's hierarchical counting system on HBase
HBaseCon2017 Quanta: Quora's hierarchical counting system on HBaseHBaseCon2017 Quanta: Quora's hierarchical counting system on HBase
HBaseCon2017 Quanta: Quora's hierarchical counting system on HBase
 
DojoX GFX Keynote Eugene Lazutkin SVG Open 2007
DojoX GFX Keynote Eugene Lazutkin SVG Open 2007DojoX GFX Keynote Eugene Lazutkin SVG Open 2007
DojoX GFX Keynote Eugene Lazutkin SVG Open 2007
 

Más de BookNet Canada

Más de BookNet Canada (20)

Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
 
Transcript: Green paths: Learning from publishers’ sustainability journeys - ...
Transcript: Green paths: Learning from publishers’ sustainability journeys - ...Transcript: Green paths: Learning from publishers’ sustainability journeys - ...
Transcript: Green paths: Learning from publishers’ sustainability journeys - ...
 
Green paths: Learning from publishers’ sustainability journeys - Tech Forum 2024
Green paths: Learning from publishers’ sustainability journeys - Tech Forum 2024Green paths: Learning from publishers’ sustainability journeys - Tech Forum 2024
Green paths: Learning from publishers’ sustainability journeys - Tech Forum 2024
 
Transcript: Book industry state of the nation 2024 - Tech Forum 2024
Transcript: Book industry state of the nation 2024 - Tech Forum 2024Transcript: Book industry state of the nation 2024 - Tech Forum 2024
Transcript: Book industry state of the nation 2024 - Tech Forum 2024
 
Book industry state of the nation 2024 - Tech Forum 2024
Book industry state of the nation 2024 - Tech Forum 2024Book industry state of the nation 2024 - Tech Forum 2024
Book industry state of the nation 2024 - Tech Forum 2024
 
Trending now: Book subjects on the move in the Canadian market - Tech Forum 2024
Trending now: Book subjects on the move in the Canadian market - Tech Forum 2024Trending now: Book subjects on the move in the Canadian market - Tech Forum 2024
Trending now: Book subjects on the move in the Canadian market - Tech Forum 2024
 
Transcript: Trending now: Book subjects on the move in the Canadian market - ...
Transcript: Trending now: Book subjects on the move in the Canadian market - ...Transcript: Trending now: Book subjects on the move in the Canadian market - ...
Transcript: Trending now: Book subjects on the move in the Canadian market - ...
 
Transcript: New stores, new views: Booksellers adapting engaging and thriving...
Transcript: New stores, new views: Booksellers adapting engaging and thriving...Transcript: New stores, new views: Booksellers adapting engaging and thriving...
Transcript: New stores, new views: Booksellers adapting engaging and thriving...
 
Show and tell: What’s in your tech stack? - Tech Forum 2023
Show and tell: What’s in your tech stack? - Tech Forum 2023Show and tell: What’s in your tech stack? - Tech Forum 2023
Show and tell: What’s in your tech stack? - Tech Forum 2023
 
Transcript: Show and tell: What’s in your tech stack? - Tech Forum 2023
Transcript: Show and tell: What’s in your tech stack? - Tech Forum 2023Transcript: Show and tell: What’s in your tech stack? - Tech Forum 2023
Transcript: Show and tell: What’s in your tech stack? - Tech Forum 2023
 
Transcript: Redefining the book supply chain: A glimpse into the future - Tec...
Transcript: Redefining the book supply chain: A glimpse into the future - Tec...Transcript: Redefining the book supply chain: A glimpse into the future - Tec...
Transcript: Redefining the book supply chain: A glimpse into the future - Tec...
 
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023Redefining the book supply chain: A glimpse into the future - Tech Forum 2023
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023
 

Último

Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
raffaeleoman
 
Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac Folorunso
Kayode Fayemi
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
Kayode Fayemi
 
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
amilabibi1
 

Último (18)

Report Writing Webinar Training
Report Writing Webinar TrainingReport Writing Webinar Training
Report Writing Webinar Training
 
Digital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of DrupalDigital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of Drupal
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
 
Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac Folorunso
 
Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...
Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...
Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...
 
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510
 
Dreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video TreatmentDreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video Treatment
 
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdfThe workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
 
Causes of poverty in France presentation.pptx
Causes of poverty in France presentation.pptxCauses of poverty in France presentation.pptx
Causes of poverty in France presentation.pptx
 
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdfAWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
 
My Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle BaileyMy Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle Bailey
 
Aesthetic Colaba Mumbai Cst Call girls 📞 7738631006 Grant road Call Girls ❤️-...
Aesthetic Colaba Mumbai Cst Call girls 📞 7738631006 Grant road Call Girls ❤️-...Aesthetic Colaba Mumbai Cst Call girls 📞 7738631006 Grant road Call Girls ❤️-...
Aesthetic Colaba Mumbai Cst Call girls 📞 7738631006 Grant road Call Girls ❤️-...
 
Sector 62, Noida Call girls :8448380779 Noida Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Noida Escorts | 100% verifiedSector 62, Noida Call girls :8448380779 Noida Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Noida Escorts | 100% verified
 
ICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdfICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdf
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
 
lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.
 
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
 
Dreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio IIIDreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio III
 

The Bunny Slopes of SVG Mountain - Naomi Kennedy (Penguin Random House) - ebookcraft 2019

  • 1. The bunny slopes of SVG mountain A gentle introduction
  • 2. Some prerequisite knowledge: ● EPUB structure ● EPUB support landscape ● XHTML and CSS ● Basic XML
  • 3. Part 1: Some background Part 2: SVG itself Part 3: Let's play!
  • 7. The SVG Spec ● SVG 1.1 ○ Released in 2011 ● SVG 2.0 ○ Now a Candidate Recommendation (October 2018) ○ https://www.w3.org/TR/SVG2/ ● Tiny SVG and Basic SVG ○ Subsets of SVG 1.1 ○ Restricted features ○ https://www.w3.org/TR/2003/REC-SVGMobile-20030114/
  • 8. Why use SVG ● Scalable ○ Readers can zoom in to see details with clarity ● XML based ○ Small file size ○ Processing power is a factor
  • 9. SVG and EPUB ● Core Media Type ○ No fallback is required ● Can be used as a spine item ● Can be used as an object within an XHTML page ● Can be embedded in an XHTML file (recommended) ○ Include properties="svg" in the manifest declaration
  • 10. A note on Accessibility SVG is not accessible
  • 11. A note on Accessibility SVG is not accessible as accessible as you make it
  • 13. Tools for today ● Your favored text editor (with XML syntax highlighting) ○ I will be using BBEdit ● Your favored set of web developer tools ○ I will be using Chrome ● Your favored EPUB QC tool for testing ○ I will be using iBooks and the inspector, and KPR3
  • 14. Tools for tomorrow ● Inkscape (Free SVG creation tool) ● Adobe Illustrator
  • 15. Geometry: Down is up Everything is measured from the top left corner Y X0 ● 1,1
  • 16. Geometry: Down is up Everything is measured from the top left corner Y X0 ● 1,1 ● 2,2
  • 17. Geometry: Lines <line x1="1" y1="1" x2="2" y2="2"/> Y X0 ● ●
  • 18. Geometry: Circles <line x1="1" y1="1" x2="2" y2="2"/> <circle cx="2" cy="2" r="1"/> Y X0 ● ●
  • 19. Geometry: “Mountain” <line x1="1" y1="4" x2="2" y2="1"/> <line x1="2" y1="1" x2="4" y2="4"/> <circle cx="1" cy="1" r=".5"/> Y X
  • 20. Geometry: Shapes Types of shapes ● line ● rect (rectangle) ● circle ● elipse ● polyline (a multi-point line) ● polygon (a multi-sided shape) ● path (this is the most complex and can be used to draw any shape) Each shape has different required attributes and can be styled using CSS
  • 21. Styling: CSS ● Most CSS properties can be used to style SVG ● There are some differences (like fill instead of color for text) ● Can be applied in multiple ways ○ Inline ○ Top of xhtml ○ Top of SVG ○ Separate CSS
  • 22. Geometry: User coordinate system ● XHTML sets the size of the SVG ● viewBox on the SVG sets the stage ○ Declares the viewable area size ○ This one is easier to show ● Use unitless values or percent for all points inside the SVG
  • 24. Let’s pretend this is SVG mountain By Chris 73 / Wikimedia Commons, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=1792595
  • 25. OK, this is SVG Mountain To the live code demo
  • 26. Moving on from shapes
  • 27. Moving on from absolute positioning ● Relative positioning, dx and dy ● Transformation basics: ○ rotate ○ skew ○ scale ● The transform attribute can concatenate them together ● The matrix element can be used for more complex transformations ● Bezier curves
  • 28. Text in SVG ● Anything you can do in CSS you can do in SVG ○ Embedding fonts ○ Rotate, scale, skew ● There is no semantic meaning, just <text> ○ Can use ARIA to add semantic context but it’s weirdly implemented ● Night mode
  • 29. A note on compatibility ● SVG in fixed layout is generally well supported ○ Except placing text on a drawn path ● SVG in reflow has real benefits, but large costs ○ Embedded fonts are mostly dependable ○ Processing time ○ Kindle Enhanced Typesetting is disabled ● Check your SVG files on all the platforms you want to support ○ Take what you would expect for CSS discrepancies and triple it ● Use SVG 1.1
  • 30.
  • 31. Some resources: MDN introduction: https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial SVG 1.1: https://www.w3.org/TR/SVG11/ SVG 2.0: https://www.w3.org/TR/SVG2/ Tiny and Basic SVG: https://www.w3.org/TR/2003/REC-SVGMobile-20030114/ Inkscape: https://inkscape.org/