|
|
#1 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,490
Karma: 154365103
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Accessing from the fonts directory in KePub
I know you can access fonts that are in the fonts directory using CSS code in an ePub. But can you do the same thing in CSS for KePub?
|
|
|
|
|
|
#2 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 55,496
Karma: 182544230
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Exactly the same way, Jon.
Perhaps embracing an experimentalist approach would be something to look at. Instead of asking, give it a try and see how it works. Open a sample ePub, add an embedded font. Try reading it on a Kobo ereader as an kepub. |
|
|
|
|
|
#3 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,490
Karma: 154365103
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I did try it before I asked. It didn't work. That's why I'm asking. If it does work, I don't have the code to do so. I only have the CSS code for ePub via RMSDK.
|
|
|
|
|
|
#4 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,353
Karma: 16800000
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
On a more optimistic note, the new Kobalt reading app does handle this sort of thing well with very little effort from the user, e.g. if I have an epub with HTML: Code:
<h2 class="fancy">Chapter 1</h2> Code:
.fancy {font-family:"My Fancy Font", serif; ... etc...}
|
|
|
|
|
|
|
#5 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,490
Karma: 154365103
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fonts and kepub | avresbo | Kobo Reader | 8 | 01-15-2025 12:59 PM |
| Kobo system cannot recognize fonts added into system-wide fonts directory? | codychan | Kobo Developer's Corner | 11 | 12-08-2018 06:35 PM |
| Fonts fot footnotes in KEPUB | Vetchy | Kobo Developer's Corner | 5 | 02-16-2018 01:43 AM |
| Accessing fonts from CSS | JSWolf | Kobo Reader | 11 | 07-03-2015 11:49 AM |
| Opus Fonts directory for Calibre -> External CSS | fiery | Bookeen | 12 | 02-20-2011 11:05 PM |