09-01-2022, 10:40 AM | #16 | |
Addict
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Quote:
https://wakamaifondue.com/ Last edited by bookman156; 09-01-2022 at 10:44 AM. |
|
09-01-2022, 11:04 AM | #17 | |
Resident Curmudgeon
Posts: 73,975
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
Advert | |
|
09-01-2022, 01:02 PM | #18 |
the rook, bossing Never.
Posts: 11,158
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
I've always done that anyway.
|
09-01-2022, 04:10 PM | #19 | |
Guru
Posts: 734
Karma: 1077122
Join Date: Sep 2013
Device: Kobo Forma
|
I'm not sure if this is the method to embed a monospace font your talking about, but according to this page:
https://www.wezm.net/v2/posts/2022/m...-kobo-ereader/ it doesn't work any more. Unfortunately, the page doesn't give details on why it doesn't work and I haven't found anything else about it. Quote:
Last edited by enuddleyarbl; 09-01-2022 at 04:16 PM. |
|
09-01-2022, 04:25 PM | #20 |
Addict
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Why not just embed a sans condensed monospace font, such as DevaVu Sans Mono, rather than the serif monospace font Courier, which only resembles a typewriter font?
|
Advert | |
|
09-01-2022, 06:22 PM | #21 | |
Resident Curmudgeon
Posts: 73,975
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
09-01-2022, 06:39 PM | #22 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
In addition Kobo's font handling changed a lot in fw 4.32.19501 (April 2022). Since then the rules have changed: EPUB: The 4 monospace font files you sideload to the Kobo /fonts directory must now be named simply and precisely Courier both internally and externally. Renaming the external filenames is trivial (e.g. Courier-Regular, etc) but *internal* renaming requires using some kind of font editor (e.g. FontForge or ttfedit). In other words you can no longer get away with sideloading a monospace font whose name begins with Courier but whose full name is longer, e.g. Courier PragmataPro Mono to quote his example. KEPUB: As far as I can tell, embedding the monospace font is now the *only* method which works. Prior to fw 4.32 all that was necessary was to include the full name of any sideloaded monospace font in the kepub CSS, e.g. Code:
.mono {font-family: "Courier PragmataPro Mono", monospace;} Code:
.mono {font-family: "Courier PragmataPro Mono";} Last edited by jackie_w; 09-01-2022 at 06:42 PM. Reason: ninja'd |
|
09-01-2022, 07:20 PM | #23 | |
A Hairy Wizard
Posts: 3,094
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
You keep using that word. I do not think it means what you think it means. Try using the following example in your testing...it works exactly as I mentioned in both Sigil and Calibre Editor (attached)??? Code:
p {font-variant:small-caps} <p>THIS IS ALL TEXT UPPERCASE.</p> <p>this is all text lowercase.</p> <p>This is all Text with Mixed Case</p> The last line - with mixed case can be seen with the capital letters being larger than the lower case letters...but all of them using the capital letter from the font. And, yes, this is not a true SC font, but that's not the point. |
|
09-02-2022, 03:44 AM | #24 |
Resident Curmudgeon
Posts: 73,975
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
@Turtle91 your samples are correct. The all uppercase is all uppercase. The all lowercase is in smallcaps. The text with the mixed case is both uppercase and smallcaps. That why I put text-transform: lowercase; in the CSS because if the text is originally using a simulated smallcaps, it's going to be all uppercase.
Smallcaps only work if the letters are lowercase. |
09-02-2022, 03:50 AM | #25 | |
the rook, bossing Never.
Posts: 11,158
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
[QUOTE=JSWolf;4253659]
Quote:
The SMALL CAPS is a decorative feature and shouldn't be used just to make a paragraph all capitalised. Change the source to do that. It doesn't affect capitals because they should be bigger normally. |
|
09-02-2022, 05:03 AM | #26 |
the rook, bossing Never.
Posts: 11,158
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Another use of small caps is specified by some style guides, mainly USA, for initialisms such as FM, NATO, BC, BCE, AD, CE, AM, PM. But apart from am and pm those are all usually typed in upper-case in the source, so not sure that CSS small-caps is useful?
The am and pm have many styles. |
09-02-2022, 10:51 AM | #27 | |
Addict
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Quote:
|
|
09-02-2022, 11:49 AM | #28 | |
Addict
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Quote:
|
|
09-02-2022, 03:30 PM | #29 |
the rook, bossing Never.
Posts: 11,158
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
I think there are 6 legitimate ways of doing am and pm. What ever scheme is adopted, stick to it!
I read a book last week with nosey and nosy. A fail, they needed to use one or the other. So we delete alternate but correct words that are not the versions in our style guide from the spelling checker dictionary. Also per book and per series custom dictionaries. Everything needs to still "work" in some sane fashion on mobi/kF7, azw3/KF8 and KFX, when on later Kindles "Publisher" isn't selected in Aa. That applies to epub and kepub too. Especially apps as there are many that don't respect CSS and/or embedded fonts. KISS Simpler is better, don't try and copy a print version. |
09-02-2022, 03:50 PM | #30 | |
Addict
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Quote:
If the font is changed or c2sc and smcp aren't supported, the full caps will stay as full caps, whereas the smcp can be backed up with font-variant-caps: small-caps; so you still get small caps if that is supported. You've done it the best as is possible. Last edited by bookman156; 09-02-2022 at 04:03 PM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Concept] Telegram Bot for converting epubs to kepubs (and transferring) | Tommalka | Kobo Developer's Corner | 2 | 01-01-2022 04:03 AM |
Recipe request: Worcester Telegram | NSILMike | Recipes | 0 | 12-31-2020 08:52 AM |
Worcester Telegram Recipe request | NSILMike | Recipes | 0 | 10-11-2020 07:39 AM |
Green Island - Telegram-channel for authors and writers of books | Phil J. Parker | Self-Promotions by Authors and Publishers | 0 | 06-26-2018 02:23 PM |
E-readers chat (telegram, whatsapp)? | Mochy | Android Devices | 4 | 07-28-2015 08:46 AM |