gitbook icon indicating copy to clipboard operation
gitbook copied to clipboard

EPUB max font size too small

Open eduedix opened this issue 11 years ago • 6 comments

I am reading a book prepared with gitbook on my ipad mini 2 using iBooks app. I contacted the author of the book because the max font size was still small to read. The author suggested contacting gitbook for that issue. Following is the link to the issue of the book I am reading: https://github.com/MostlyAdequate/mostly-adequate-guide/issues/175

eduedix avatar Oct 24 '15 05:10 eduedix

What ebook reader are you using ?

SamyPesse avatar Oct 27 '15 11:10 SamyPesse

@SamyPesse : iBooks app on ipad.

eduedix avatar Oct 27 '15 20:10 eduedix

I see the same issue with both the book mentioned above and https://www.gitbook.com/book/gitbookio/javascript/details. I'm using the iPad iBooks app on iOS 9.1. I can't get the font size to change at all and the default font seems a little to small for me. Thanks.

smussell avatar Nov 14 '15 07:11 smussell

Don't know if you fixed that yet (issue still open) but you may want to get rid of

.page {
   -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

in stylesheet.css.

It actually disable font-size setting in iBooks iOS.

And since I'm parsing your CSS right now, here are other things which may deteriorate UX in some other reading systems:

  • color: #333; → please don't declare gray–black for text as some apps won't invert it in night modes. As a result, gray/black text on dark background.
  • box-sizing: border-box; → I wouldn't rely on that given its support % in ePub reading systems.

And that's it.

JayPanoz avatar Mar 09 '16 15:03 JayPanoz

I'm hearing this from a reader as well. Why does gitbook disable resizing?

EDIT: iBooks there as well, although I'm not sure if they're using an iPad or not.

BrianHicks avatar Jan 08 '17 21:01 BrianHicks

Just heard this from a reader as well. Not sure why that CSS rule exists.

nateberkopec avatar Apr 10 '17 20:04 nateberkopec