02-02-2024, 05:27 PM | #1 | ||
Enthusiast
Posts: 36
Karma: 24
Join Date: Jul 2008
Device: Kobo Aura HD
|
Referencing fonts installed on Android without embedding?
Hello, My Chinese text has fonts in two distinct styles, and I'd like to be able to replicate that in the epub. Since it's Chinese, the fonts are huge (20+ megabytes for one of them), and embedding multiple fonts isn't really practical. I tried just referring to fonts that are installed on my computer/ebook reader by name, with mixed results - the Calibre reader on Windows picked up one of the fonts but not the other, and on Android only Reasily picked up both fonts - most readers ignored both. The relevant bits from the stylesheet are here: Quote:
Quote:
|
||
02-05-2024, 03:33 AM | #2 |
Zealot
Posts: 131
Karma: 9236
Join Date: Jun 2020
Device: Kindle PW3 [KOReader]
|
Sorry, I don’t think I can be of help, but I’m curious, if you can barely make it work for yourself, how do you expect it to work on other systems, isn’t it too impredictable? And if it’s just for personal use, why not use the one reader that works?
Also, how does the @font-face definitions look like? Maybe it would work better if you chose font-family: "YRDZST Semibold";? |
Advert | |
|
02-05-2024, 06:35 AM | #3 |
the rook, bossing Never.
Posts: 11,222
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Some Android readers ignore any stock or installed fonts on Android and ignore embedded fonts, no matter what is in the epub!
So for Android you need to use which ever ereader app works for you. |
02-05-2024, 04:31 PM | #4 |
Fool
Posts: 377
Karma: 3557934
Join Date: Feb 2003
Device: Kindle Voyage, Kindle PW1, Kobo Glo HD, Nook Glowlight Plus ...
|
I don't have any advise on the question you actually asked. However, you may want to consider only embedding the glyphs from each font that are actually used in your text. (This is usually called "subsetting.")
I would expect this to drastically reduce the space taken up by the embedded fonts, probably to a very reasonable size. Calibre and other programs can do this for you. |
02-05-2024, 05:15 PM | #5 |
Wizard
Posts: 1,111
Karma: 4911876
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
I discovered that not all font files can be subsetted with Calibre, but you might have better luck with Sigil...
https://www.mobileread.com/forums/sh...d.php?t=353435 |
Advert | |
|
02-06-2024, 04:11 AM | #6 | |
Enthusiast
Posts: 36
Karma: 24
Join Date: Jul 2008
Device: Kobo Aura HD
|
Quote:
|
|
Tags |
chinese, epub 3, font |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aura H2O Referencing internal fonts? | Ghitulescu | Kobo Reader | 7 | 12-12-2014 07:03 AM |
Embedding fonts | DrChiper | Editor | 11 | 02-24-2014 11:13 AM |
Touch referencing fonts | tshering | Kobo Reader | 14 | 07-07-2012 12:52 PM |
Fonts embedding | 1drey | Writer2ePub | 3 | 06-17-2011 11:15 PM |
Embedding fonts | JaneFancher | Calibre | 14 | 04-10-2010 09:28 PM |