TransWikia.com

K4iOS Media Query

Ebooks Asked by Matt Mc on January 19, 2021

Does anyone know of a way to target K4iOS with a media query?

Like this: https://gist.github.com/dvschultz/8324974 but with Kindle for iOS.

One Answer

I'm not 100% sure what are trying to do (though I did read your recent MobileRead postings on the subject). What use case are you trying to solve for? Reading on iphones at night?

Here's my thoughts on the subject. Media queries to distinguish between Kindle e-inks vs non-e-inks

I decided not to bother with ios-specific media queries because I thought the css media breakpoints worked well enough to make them unnecessary.

By the way, if you haven't done so already, I recommend that you download the new Kindle Previewer Beta version (which makes it a little easier to produce files for ipad/ios devices. http://www.amazon.com/gp/feature.html?docId=1003018611)

I have had flaky results on embedded fonts and font effects across platforms (even on Google Play Books -- which doesn't make sense at all). I have added a few embedded fonts and done a little testing, but I don't require that my ebooks render it correctly.

I have slightly lower standards for how ebooks render in Kindle for ios. (My thought is that if people want to buy something for an Apple device, they could always buy from the Apple store or buy the no-DRM epub files my company sells and import them into iBooks).

My Kindle formatting issues hinged mainly on image rendering and positioning, not so much on font effects, so my solution of not targeting ios devices but keeping the breakpoints generic may not work for you...

Answered by idiotprogrammer on January 19, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP