![]() |
#1 | ||
Enthusiast
![]() Posts: 48
Karma: 24
Join Date: Jul 2008
Device: Kobo Clara BW, Boox Tab Mini C, Boox Note 2
|
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:
|
||
![]() |
![]() |
![]() |
#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 | |
|
![]() |
#3 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,016
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
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. |
![]() |
![]() |
![]() |
#4 |
Fool
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 468
Karma: 4113712
Join Date: Feb 2003
Device: Kindle: Voyage,PW1,KOA, Kobo: Clara Colour, Nook GLP, Pocketbook verse
|
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. |
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 9500498
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 | |
|
![]() |
#6 | |
Enthusiast
![]() Posts: 48
Karma: 24
Join Date: Jul 2008
Device: Kobo Clara BW, Boox Tab Mini C, Boox Note 2
|
Quote:
|
|
![]() |
![]() |
![]() |
Tags |
chinese, epub 3, font |
|
![]() |
||||
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 |