Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EPUB] Use native solution to change the font size instead of Readium CSS #5

Open
mickael-menu opened this issue Nov 25, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@mickael-menu
Copy link
Member

mickael-menu commented Nov 25, 2020

Changing the font size with Readium CSS is limited because if the publication has absolute font sizes then enabling advanced options is necessary: basically disabling publisher's defaults.

A possible workaround would be to use native solutions when available since Readium CSS is platform-agnostic.

text-size-adjust is promising and seems to be available on both iOS and Android: https://caniuse.com/?search=text-size-adjust

Related issue: readium/readium-css#34

@mickael-menu mickael-menu added the enhancement New feature or request label Nov 25, 2020
@johanpoirier
Copy link

@mickael-menu do we have a solution for this issue? It breaks the font size change for a lot of books on Android.

@mickael-menu
Copy link
Member Author

Not yet, I don't see myself implementing it before tackling the Presentation Settings for EPUB. But if you want you can try out the techniques I put in the other comment and see if it helps: #5 (comment)

@johanpoirier
Copy link

Yes I'm trying those techniques.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants