![]() |
#1 |
Member
![]() Posts: 13
Karma: 10
Join Date: Aug 2025
Device: Kobo Colour
|
Embedded Fonts
Does anyone know of a way to configure/mod Kobo to use publisher fonts when they are embedded and use the user selected fonts when they are not specified?
I mess around with fonts for fun and they show up just fine on every other device except my Kobo. It's something to do with how it prioritises things but I'm not all too familiar with systems or how to override it. |
![]() |
![]() |
![]() |
#2 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,063
Karma: 147983159
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,699
Karma: 242197301
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
|
![]() |
![]() |
![]() |
#4 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,699
Karma: 242197301
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 13
Karma: 10
Join Date: Aug 2025
Device: Kobo Colour
|
|
![]() |
![]() |
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,699
Karma: 242197301
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
What firmware is your Kobo on? If the latest, look here:
https://www.mobileread.com/forums//s...d.php?t=366569 Instructions for installing are here: https://www.mobileread.com/forums/sh...d.php?t=356106 |
![]() |
![]() |
![]() |
#7 | |
Member
![]() Posts: 13
Karma: 10
Join Date: Aug 2025
Device: Kobo Colour
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,699
Karma: 242197301
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
You'll need to remove the font family from the main text or ordinary paragraphs (depending on the coding; sometimes the font is embedded on the paragraph level, sometimes not) and leave it in place for chapter headings, special sections and the like.
|
![]() |
![]() |
![]() |
#9 |
Member
![]() Posts: 13
Karma: 10
Join Date: Aug 2025
Device: Kobo Colour
|
the only time the font-family element is used in the css is on the specific classes and ids. Otherwise it isn't mentioned at all. No other embedded fonts in the epub.
|
![]() |
![]() |
![]() |
#10 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,699
Karma: 242197301
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
|
![]() |
![]() |
![]() |
#11 |
Member
![]() Posts: 13
Karma: 10
Join Date: Aug 2025
Device: Kobo Colour
|
I have a bunch of non-traditionally published epubs and this particular one has two main parts to the story; one is the story itself and the other is a series of journal entries. I've edited it jus so that the journal entries have a different font to differentiate the two by adding a .journal class
|
![]() |
![]() |
![]() |
#12 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,699
Karma: 242197301
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Quote:
1) Do other patches work (so we can be sure the problem is not an error in installing the patches)? 2) There are three alternatives for the un-force user font-family patch. Personally I use the third. Try it and comment out the first and the second alternative. |
|
![]() |
![]() |
![]() |
#13 | |
Member
![]() Posts: 13
Karma: 10
Join Date: Aug 2025
Device: Kobo Colour
|
Quote:
firmware version 4.42.23296 there isn't a kobo patch with the same version so I have 4.38.21908 there isn't a newer version I'm missing, is there? Otherwise, I've gone into the .yaml files, turned the no to yes on the patch features I want (Un-force font-family override p tags (std epubs) and Un-Force user font-family in KePubs). I'm on MacOS so I run the kobopatch.sh Drag the new KoboRoot.tgz from the out folder in kobopatch to the .kobo on the device... Am I missing something? Really appreciating the help btw |
|
![]() |
![]() |
![]() |
#14 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,063
Karma: 147983159
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
delete post
Last edited by JSWolf; 08-16-2025 at 05:56 PM. |
![]() |
![]() |
![]() |
#15 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,699
Karma: 242197301
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Quote:
I only have the Sage and the Libra 2, for those the latest firmware is 4.38, so I have no idea which of the patches work for 4.42, if any. |
|
![]() |
![]() |
![]() |
Tags |
font embedding, kobo modding |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is there any way to use embedded fonts? | MikeJ024 | Conversion | 5 | 01-23-2022 04:41 PM |
Embedded fonts and User fonts | JSWolf | KOReader | 4 | 02-02-2021 03:31 PM |
embedded fonts vs e-reader fonts | lumpynose | ePub | 19 | 05-29-2019 01:06 PM |
Glo Kobo fonts naming conventions and embedded fonts | roger64 | Kobo Reader | 0 | 05-09-2013 06:30 AM |
Embedded fonts, Calibre, and choice of fonts | AlexBell | ePub | 8 | 05-30-2010 06:00 AM |