26 December 2014
Using IGP:Digital Publisher to create Adaptive Aspect Ratio ePub3 books for education publishers around the world
During the first half of 2014 we were producing fixed layout text books either for workstations and mobile devices with 16:9 OR 4:3 aspect ratios. However the aspect ratio specification limitations of ePub3 and reading systems has become a real issue for many education publishers and their users.
Here is the sort of "startup" conversation we have with education publishers working towards a digital strategy:
The publisher says: We need to publish fixed layout digital text books. Schools are demanding our books are available in digital editions.
We say: Certainly. What devices are you targeting. Android or Apple?
The publisher says: All devices. The schools and students use Android and iPads so we need everything. EPub3 works on all platforms right!
We say: Yes it does, but for fixed layout ePub3 the specification states you have to set a viewport size optimized for an aspect ratio. It will then be presented in other aspect ratios as a window in the viewport.
We show them examples and explain: Here it is designed for iPad at 4:3 displayed in typical 16:9 Android device. You have the flexibilty to design for fixed layout landscape or portrait orientation...
...and here it is designed for Android at 16:9 and displayed in a 4:3 iPad device.
The Publisher says: This can't be real. All that wasted screen area. Is this really the best we can deliver to our learners in 2014?
We say: Yep! These are the ePub3 reading system realities. However... IGP:Digital Publisher has specific tools that enable you to design for all aspect ratios and output ePub3 files for your target device users. Design once and target many ePub3 reading systems on many devices. We call it "Dynamic Aspect Ratio" production. But it does need some rethinking from yesterday's design thinking.
The Publisher asks: Does this mean we have to distribute two versions of each book if we want to use fixed-layout page presentation? One for 4:3 iPad and one for 16:9 Android?
We say: Yes. This is a fact of life at the top of 2015. However if you distribute your books using the AZARDI reading systems we have a custom feature that lets your content adapt to the aspect ratios of any device the reading system is installed on if it is designed correctly. This is important for delivery to workstations as well as mobile devices.
You have to have the tools and methods to specifically design and produce your content to address this situation... and you have to have a reading system that is Aspect Ratio Adaptive.
The publisher says: (Groan) I hate digital content! OK. Show me more.
The challenge of designing fixed layout content for all devices, aspect ratios, screen sizes and orientations is daunting.
The differences in the content presentation area across different viewports is large; from the squat and ugly 4:3 screens of yesterday, to the slim and elegant 16:9 screens of today. Mobile devices adds portrait and landscape orientation viewing PLUS a wide number of screen sizes to the aspect ratio challenges. None of the content is being delivered through the expensive convenience of Apple's iStore or Amazon to known devices. That business model is too punitive for the mass distribution of text books.
The fact is most of the mobile devices around the world suitable for engaging with education content are 16:9 aspect ratio. In developing world markets we have to reasonably look at delivering fixed layout (and reflowable) education content from 12-15cm (5in) 16:9 devices. That's the devices that are predominantly affordable and available.
The screen area difference between 4:3 and `16:9 (for the same height) is 25% as seen in the illustration below. That's a lot of area. The aspect ratio challenge for book production will not getting easier as device manufacturers fight for market share. With mobile devices screen size is a major competitive feature, and a major affordability issue in many education markets around the world.
To be fair the 4:3 and 16:10 are better aspect ratios if you are trying to replicate print book presentation with animated flipping pages. However digital content is getting past the slightly silly paper/paging metaphor (education content in particular) and is starting to be optimized and explicitly designed and extended for digital device engagement. With good reason the scrolling page is making a return.
The ePub3 fixed layout specification defines an ePub should have just one height and width statement. We have tutorials explaining how to design and work with that here. The Fixed Layout spec does not say how a reading system should use those values, but most fixed layout content is produced to treat the viewport as a locked off shape. In the real world education publishers need to address a wide range of mobile devices. While the wasted space is not a big factor on workstations, it is a significant issue on mobile devices.
We needed to devise a solution that filled the screen for all apect ratios and worked everywhere. However the following challenges had to be addressed:
Fortunately we have the production tools (IGP:Digital Publisher) the ePub3 delivery system (AZARDI:Content Fulfilment) and the only all-platform reading system (AZARDI). so we could work through this problem to deliver a working, and hopefully elegant, solution.
There are a number of approaches that can be used at the page and block level. Content cropping (with or without scrolling) and elastic blocks.
The content cropping approach works for simple kids books where the action is generally in the middle of the viewport and 12.5% of the viewport can be cut off left and right. In this case you are more or less designing in the 4:3 aspect ratio with edge art overflow for 16:9. It's a compromise but a lot of simple nodding-head content out there fits this requirement.
Another approach is to orient the 4:3 viewport to the center, left or right and give a short horizontal scroll if the content is appropriate (for landscape fixed-layout); and a vertical scroll for portait oriented fixed layout.
When we move away from children's fixed-layout content to advanced learning and training content with sophisticated Q&A, widgets, significant on-screen text and other features, the elastic block approach works best. In this case you are designing for the 16:9 aspect ratio and testing for the compressed elasticity of blocks in the 4:3 aspect ratio. Or you are designing for the 4:3 aspect ratio and testing for the stretched elasticity of blocks in 16:9. It works surprisingly well.
And finally there is a tendency to design fixed-layout content for landscape (as we have done on our computers for years) when portrait orientation is probably the best option for a lot of content on mobile devices. This is another challenge worthy of it's own discussion.
The solution was the appropriate use of CSS percentage grid and unit sizing. Creating aspect ratio adaptive "fixed-layout" content introduced new challenges, but more importantly it introduces a real and working solution for Adaptive Aspect Ratio ePub3 publications on any device. Animation, widgets, Question and Answers and other layout components easily adapted to a percentage design framework.
We are now working with publishers to create Aspect Ratio Adaptive ePub3 books.
For education publishers creating their content with IGP:Digital Publisher and delivering on various reading systems they need to export two ePub3 packages for each book if that is their market requirement. One at 4:3 and the other with the 16:9 aspect ratio.
When a publisher is delivering with AZARDI:Content Fulfilment to AZARDI readers on any desktop or mobile device the ePub3 presentation adapts to fill the screen dynamically and automatically. Only one ePub3 package is required for every target platform and device.
Adaptive Aspect Ratio design is a significant step forward in education content presentation. It significantly reduces the costs of fixed-layout production and long-term content ownership for education publishers around the world.
As a further observation, with different design profiles in IGP:Digital Publisher this same HTML can be produced as a portrait oriented fixed-layout ePub3 AND/OR as reflowable/scrolling content.
Currently only the commercially licensed versions of AZARDI have Adaptive Aspect Ratio. Because the viewport properties are custom and a a work-around, and are not part of the ePub3 specification they are not published here to avoid promolgating any confusion.
Addressing the limitations of the ePub3 Fixed Layout Specification in various devices has become an urgent necessity to address real-world education digital content production and delivery challenges on todays platforms and devices.
Posted by Richard Pipe