06-28-2020, 12:27 PM | #1 |
Connoisseur
Posts: 59
Karma: 100
Join Date: Jun 2020
Device: ePUB Kindle and iBooks
|
Force sans serif on Kindle apps and devices
Rather than bother with custom fonts, I'd like to force Kindle apps and Kindle devices to open a book in sans serif rather than a serif font.
The trick must be in CSS fallback, but pointers would be appreciated. Tests I have tried have worked in KP3 but failed once uploaded to KDP. THX chaps |
06-28-2020, 12:48 PM | #2 | |
Resident Curmudgeon
Posts: 73,866
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
Advert | |
|
06-28-2020, 01:15 PM | #3 |
Connoisseur
Posts: 59
Karma: 100
Join Date: Jun 2020
Device: ePUB Kindle and iBooks
|
Thanks JSW - you are always first with a response!
What I wanted to do was ensure that san-serif is displayed when the book is opened (rather than the serif default. iBooks as well, so in CSS I have: font-family: sans-serif, "Helvetica", "San Francisco"; Will that do it? It seems to revert back to the serif default when I publish. |
06-28-2020, 01:55 PM | #4 | |
Grand Sorcerer
Posts: 10,056
Karma: 224450762
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Quote:
|
|
06-28-2020, 02:01 PM | #5 |
Wizard
Posts: 2,607
Karma: 42697471
Join Date: Sep 2012
Location: Ohio
Device: iPhone 7+, iPad mini, 2021 iPad Pro 12.9",Paperwhite 6.8"
|
|
Advert | |
|
06-28-2020, 02:22 PM | #6 |
Connoisseur
Posts: 59
Karma: 100
Join Date: Jun 2020
Device: ePUB Kindle and iBooks
|
Users can always select a different font, as they can now. So they can override.
But telling a book designer to use the same fonts is like telling motor manufacturers to make all their cars the same colour. So, for clarity, I am looking to override the (awful) serif default. Last edited by scruffs; 06-28-2020 at 02:26 PM. |
06-28-2020, 02:31 PM | #7 |
Grand Sorcerer
Posts: 10,056
Karma: 224450762
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
It's a bad idea and will annoy your readers for sure. The best practice is not to define the body font in the css at all and leave the font choice in the hands of your readers. You can define the font used in headlines or in specific parts of text (like a letter, for example). But don't force your general font preference on your readers, it will only irritate them.
|
06-28-2020, 03:11 PM | #8 |
Running with scissors
Posts: 1,552
Karma: 14325282
Join Date: Nov 2019
Device: none
|
Don't forget to add a lovely background color to all of the pages by using some css on the body tag.
|
06-28-2020, 03:13 PM | #9 | |
Resident Curmudgeon
Posts: 73,866
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Code:
font-family: sans-serif; Can this be overridden on older Kindles such as the K2, DX, K3, K4, Kindle Touch all with significantly older firmware? Also, when I see an eBook that is set to use a sans-serif font, I think that whoever made it hasn't a clue. Last edited by JSWolf; 06-28-2020 at 03:18 PM. |
|
06-28-2020, 03:20 PM | #10 |
Connoisseur
Posts: 59
Karma: 100
Join Date: Jun 2020
Device: ePUB Kindle and iBooks
|
Thanks, JSW! I know it is the default sans, but that is better than serif for this particular book.
Design is much maligned - right up until people make a consumer choice! |
06-28-2020, 03:22 PM | #11 |
Grand Sorcerer
Posts: 6,495
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
I am curious why you want this ability (and as an Amazon customer I am glad that you do not have it.)
|
06-28-2020, 03:24 PM | #12 |
Connoisseur
Posts: 59
Karma: 100
Join Date: Jun 2020
Device: ePUB Kindle and iBooks
|
I am removing nothing from the consumers. I am merely specifying the default font family for the book.
|
06-28-2020, 03:50 PM | #13 |
Grand Sorcerer
Posts: 6,495
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
As things stand now I as a consumer can pick the font I want to be used for all books I read with one of the choices being to let the publisher set the font. It seems that you want to reverse that and have the publisher make the default choice that the reader would need to override for each book. That would be taking something away from the customer.
|
06-28-2020, 04:26 PM | #14 |
Grand Sorcerer
Posts: 10,056
Karma: 224450762
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
|
06-28-2020, 04:31 PM | #15 |
Connoisseur
Posts: 59
Karma: 100
Join Date: Jun 2020
Device: ePUB Kindle and iBooks
|
You are entitled to your opinion, of course. I base mine on 30 years' experience in design and understanding what users want.
|
Tags |
kindle font |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I manually specify the fallback fonts for sans-serif, serif, monospace, etc.? | rtiangha | KOReader | 4 | 12-19-2019 05:54 AM |
Force epub to sans-serif? | truth1ness | Calibre | 1 | 06-25-2015 10:47 PM |
Which typeface should use for ebook, Serif or Sans-serif | droople | Workshop | 8 | 06-13-2010 07:20 AM |
Serif and Sans-Serif fonts in Libprs500 | benong | Calibre | 1 | 02-06-2008 04:43 AM |
Do you prefer the Reader's serif or its sans serif font? (poll) | Alexander Turcic | Sony Reader | 9 | 11-25-2006 12:15 PM |