![]() |
#46 | |
Brash Fumbler
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,203
Karma: 9224939
Join Date: May 2013
Device: NST, Kobo Mini
|
Quote:
|
|
![]() |
![]() |
![]() |
#47 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
@snarkophilus,
Welcome to the world of font wrangling on Kobos. ![]() I'm a bit lost in the maze of your findings so far but here are a couple of old links which might have relevant info now or in the future.
|
![]() |
![]() |
Advert | |
|
![]() |
#48 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,687
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The font names should be...
Courier Prime-Regular.ttf Courier Prime-Bold.ttf Courier Prime-Italic.ttf Courier Prime-BoldItalic.ttf as long as the internal font name is Courier Prime. |
![]() |
![]() |
![]() |
#49 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 469
Karma: 600816
Join Date: Sep 2009
Device: Kobo Aura HD, Kobo Aura One
|
Not to be too pedantic, but the regular flavor can be named just Courier Prime.ttf. -Regular suffix is optional, but the others are not.
|
![]() |
![]() |
![]() |
#50 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,687
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
Advert | |
|
![]() |
#51 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,008
Karma: 168961900
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
![]() |
![]() |
![]() |
#52 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 469
Karma: 600816
Join Date: Sep 2009
Device: Kobo Aura HD, Kobo Aura One
|
Quote:
Code:
font.ttf is the same as font-Regular.ttf fontb.ttf is the same as font-Bold.ttf fonti.ttf is the same as font-Italic.ttf fontz.ttf is the same as font-BoldItalic.ttf |
|
![]() |
![]() |
![]() |
#53 |
eReader Wrangler
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,873
Karma: 51519919
Join Date: Mar 2013
Location: Boise, ID
Device: PB HD3, GL3, Tolino Vision 4, Voyage, Clara HD
|
Kobo Mini & Firmware 4.19.14123
Deleted
Last edited by rcentros; 12-14-2019 at 12:19 AM. Reason: Again, thought I started a new thread but forget to get out of the current thread. |
![]() |
![]() |
![]() |
#54 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,687
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#55 | |||||||
Wannabe Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 426
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
|
Quote:
Quote:
Quote:
Quote:
The moral of the story so far - make sure you either download a monospace font where the files are named correctly or fix the file names if they are dodgy. Quote:
Quote:
![]() Quote:
With the font set to either "Publisher Default" or Bookerly, even with the 'Un-Force user font-family in KePubs' patch applied, the only way I can get the book to display Courier GR is to have font-family: "Courier GR", monospace; in my CSS (guessing the ", monospace" isn't doing much here). Curiously, if I just use font-family: monospace; I see a sans-serif font instead of a monospace font for any text that is meant to be monospace (!?!). From reading the post you linked to, I think I've done option 2 and that isn't working. Option 3 is working, but is the case I'm trying to avoid (needing to modify every epub). Jackie - do you have just font-family: monospace; working for kepubs when using a side-loaded font as your chosen font (instead of "Publisher Default") with the current kobo firmware? David - do you know if this was an epub only fix, or a fix for kepub too? |
|||||||
![]() |
![]() |
![]() |
#56 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
|
![]() |
![]() |
![]() |
#57 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
If your book's CSS contains: Code:
font-family: "Courier GR", monospace; - the monospace value if you send-to-device as epub - the "Courier GR" value if you send-to-device as kepub. This is, indeed, a PITA for kepubs. It's unfortunate, but normal, behaviour. I also don't want to hard-code font-family names in my calibre library's master copy of the epub, especially if I want to change the mono font to something else later on. My personal workaround for avoiding having to manually edit every epub individually was to hack my copy of the KoboTouchExtended plugin so that all occurrences of font-family:monospace; in a CSS file are auto-corrected to my mono-fontname-of-choice when sending kepubs via the calibre send-to-device. Whether this is a practical solution depends on where you're at with your new project of 'let's learn about calibre plugins'. ![]() BTW, kepubs displaying font-family:monospace; as sans-serif as default is also unfortunate, but normal, behaviour. It's been this way as long as I can remember. Now that Kobo have made some effort, in 4.19, to improve the monospace situation for standard epubs, it's anyone's guess whether they'll do something for kepub in the near future. I'll believe it when I see it, but we live in hope. ![]() |
|
![]() |
![]() |
![]() |
#58 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 817
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
|
I misspoke in my earlier post when I said it was working for kepubs too. I reloaded a book as a kepub, and when I opened it on my Kobo, it displayed monspace fonts. BUT...it turns out I had two different drivers enabled, so I had BOTH a kepub and an epub of the same book on my reader. My Kobo was opening the epub one. So, long story short, the monspace fix is only for epubs, not kepubs. Too bad. I hope Kobo fixes that.
|
![]() |
![]() |
![]() |
#59 |
Wannabe Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 426
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
|
|
![]() |
![]() |
![]() |
#60 | |||||
Wannabe Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 426
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
|
Quote:
Quote:
![]() Quote:
For a slightly different approach, is there a way of mixing these @font-face definitions and the Modify CSS option in the KOBOTOUCH driver so that a reference to font-family: monospace; will do what I want? Quote:
Quote:
|
|||||
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
possible release of new firmware | jackastor | Kobo Reader | 33 | 04-25-2014 09:11 PM |
When's the Next Firmware Release??? | HamsterRage | Kobo Reader | 86 | 01-04-2011 07:49 PM |
Firmware 2.0.3 Pocketbook IQ - another firmware is release for IQ | tvpupsik | PocketBook | 26 | 12-13-2010 03:03 PM |
What would you like in the next Firmware Release? | Barcey | Bookeen | 184 | 04-26-2008 06:23 AM |
New firmware release | mvoosten | HanLin eBook | 4 | 01-27-2008 06:34 AM |