08-31-2019, 07:02 PM | #46 |
Connoisseur
Posts: 97
Karma: 200000
Join Date: Aug 2019
Device: none
|
I think for distribution from my website I'll do two versions - one w/ embedded fonts and one w/o embedded fonts.
This magazine is a print magazine. People who buy the print get free PDF and/or ePub, and people will also be able buy the digital who didn't buy the print. The whole point of the magazine is to be similar to pulps in style. Similar, not identical, it technically is not a pulp - but a lot of typesetting decisions were taken from pulps of the 30s and 40s. The ePub already loses a lot of the pulp style typesetting (e.g. two column per page where on an open view with two pages, one of the outside columns is text ads) - I'm trying to keep as much of the ePub similar as I can, hence using same background and same fonts whenever I can. But yes, I do now think a version w/o embedded fonts and w/o background color set should be available and let the reader choose which to download. |
08-31-2019, 09:21 PM | #47 | |
Bibliophagist
Posts: 35,307
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
But hey, Jon can learn -- he no longer wants to use 0 for widows/orphans. |
|
Advert | |
|
09-01-2019, 05:17 AM | #48 | |
Resident Curmudgeon
Posts: 73,894
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Oh and your comment for the fonts should read... I chose these fonts because I have no idea what I am doing and I don't care about my readers. |
|
09-01-2019, 05:28 AM | #49 |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
|
09-02-2019, 03:36 AM | #50 | |
Connoisseur
Posts: 97
Karma: 200000
Join Date: Aug 2019
Device: none
|
Quote:
You don't like the fonts. Others do, e.g. Mozilla uses Clear Sans for FireFox mobile. It's fair to have a dislike of a type face, but opinions are like nostrils - everybody has more than one. |
|
Advert | |
|
09-02-2019, 04:55 AM | #51 | |
Guru
Posts: 668
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
|
Quote:
If you only need English letters, the font is less than 100kB. (OTF fonts are more likely to have larger character sets, TTF might just have basic European glyphs. But some OTFs are given the .ttf suffix so you need to inspect the font.) If such a basic version is not available, you can make one with a font editor. The subsetting tools should cut the unused glyphs, though I've found them to reduce size by much less than they should; e.g. still several MB font that I only used 4 Chinese glyphs in. But for script/handwriting, I normally use italic -- that's what it's based on anyway. Upright "Roman" letters are based on carved ones. Last edited by AlanHK; 09-02-2019 at 05:20 AM. |
|
09-02-2019, 09:03 PM | #52 |
Connoisseur
Posts: 97
Karma: 200000
Join Date: Aug 2019
Device: none
|
So what I need then is to script fontforge to remove the unicode ranges I don't use, and a second script I can run on my xhtml files that verify what ranges they do have so I don't end up accidentally removing a unicode range one of the short stories in my magazine does use.
The liberation fonts are the biggest with ten at over 300 kB each (12 of them for all three variants in all four standard faces) and Clear Sans are next at just under 300 kB for the four standard faces. The other fonts that are just decorative in nature and not used for much are already down in the 50 kB to 128 kB range and probably already only contain western latin-1. |
09-02-2019, 09:07 PM | #53 |
Connoisseur
Posts: 97
Karma: 200000
Join Date: Aug 2019
Device: none
|
And while it is true I probably could ditch Liberation Sans and Liberation Serif as neither are used for very much - Liberation Mono is a must because apparently some devices do not even have a monospace font. I suppose monospace isn't used for much in most books, but I do use it.
I specifically want to keep Liberation Sans and Serif though because the metrics match Helvetica and Times and they look better than what some systems substitute for Helvetica and Times when those two aren't available (why so many systems use Arial for Helvetica is really puzzling) |
09-02-2019, 09:17 PM | #54 | |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
|
|
09-02-2019, 10:03 PM | #55 |
Connoisseur
Posts: 97
Karma: 200000
Join Date: Aug 2019
Device: none
|
I use a shell script to pack the final .ePub - not GUI tools. I don't like GUI tools. They change from one version to another, they break when a library they are built against changes, etc. They tend to lock you in to their product.
I have very bad experiences with GUI tools. They are useful, but not for critical parts of the workflow. |
09-02-2019, 10:45 PM | #56 |
Connoisseur
Posts: 97
Karma: 200000
Join Date: Aug 2019
Device: none
|
looks like pyftsubset is the tool to use, and I'm guessing what Calibre does inside.
|
09-03-2019, 12:06 AM | #57 | ||||
Bookmaker & Cat Slave
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Quote:
Quote:
Quote:
GUI does not equal proprietary. Just like the earlier discussion about the Dyslexian fonts, Calibre and Sigil and all their plugins, etc. are completely, 100% FREE and nobody is locking you in or getting rich off you. Calibre is supported by donations--and Sigil is not; its current developers do it for the love of the project and the software and won't even ACCEPT donations. Hitch |
||||
09-03-2019, 12:18 AM | #58 |
Connoisseur
Posts: 97
Karma: 200000
Join Date: Aug 2019
Device: none
|
I know GUI != proprietary, but open source also doesn't mean it won't break.
One of the reasons I use CentOS 7 is because it is mostly stable, they don't change APIs in libraries often, but even there on occasion something breaks. And when something breaks, I have three options - fix it myself if I can, pay someone else to fix it, or wait for the volunteers that maintain it to fix it. Using command line tools makes it a lot easier to fix it myself when something breaks. It also makes it easier for me to ssh in remotely, fix a typo or otherwise change content, and rebuild whatever I was building - even if the added content results in glyphs not used in the previous version. |
09-03-2019, 12:49 AM | #59 | |
null operator (he/him)
Posts: 20,552
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
09-03-2019, 12:55 AM | #60 | |
Connoisseur
Posts: 97
Karma: 200000
Join Date: Aug 2019
Device: none
|
Quote:
What about monospace fonts `work badly' in eBooks? I haven't seen anything I'm doing with them `work badly'. I wouldn't use them as the main content font, but they are great for some things. Most books use them for text associated with barcodes (such as ISBN number), LOC number, etc. - and they are also necessary for ASCII art. |
|
Tags |
epub, font, woff2 |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugin Best Practices | sbenz | Development | 12 | 11-28-2014 10:34 PM |
Superscript best practices? | DiapDealer | ePub | 19 | 04-14-2012 04:28 PM |
Apple practices...... | carpetmojo | News | 67 | 02-16-2012 05:15 AM |
Best practices for margins | Mookiemon | ePub | 8 | 07-24-2011 07:13 PM |
DTBook - best practices | Nate the great | Workshop | 6 | 05-15-2009 04:06 AM |