You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
textNormalization - Normalize font style, weight and variants, which improves accessibility.
imageFilter - Filter applied to images in dark theme (darken, invert colors)
language - Language of the publication content.
readingProgression - Direction of the reading progression across resources, e.g. RTL.
typeScale - Scale applied to all element font sizes.
paragraphIndent - Text indentation for paragraphs.
paragraphSpacing - Vertical margins for paragraphs.
hyphens - Enable hyphenation.
ligatures - Enable ligatures in Arabic.
Fixed scroll inertia when scrolling an EPUB.
EPUB decorations can now be attached to Locator objects containing only an HTML ID (locations.fragments) or a CSS selector (locations.cssSelector).
Changed
Shared
TransformingResource now caches its content by default, as it is the correct behavior in most cases. Set cacheBytes = false explicitly to revert to the previous behavior.
The previous PDF navigator was extracted in its own package to support third-party PDF engines. This is a breaking change if your app supported PDF, take a look at the migration guide.
Decoration.extras is now a Map<String, Any> instead of Bundle. You will need to update your app if you were storing custom data in extras, for example:
val decoration =Decoration(...,
extras =mapOf("id" to id)
)
val id = decoration.extras["id"] as?Long