![]() |
Vanity fonts
Hello. Admittedly, this is my first time using Sigil to create an epub, so if I'm doing it wrong, please let me know.
I've declared a specialty font for use in my epub (Belgrano). Long story short, if the font is not installed in my pc, even though Sigil css is declared and used properly, Belgrano is not displayed in the preview window in Sigil. I had to install the font on my laptop to view it in the preview window of Sigil. Belgrano was already installed on my desktop and thus rendered properly there. I doubt this is a big deal, because to my (very limited) knowledge, it really doesn't matter what font I prefer / declare, because at end-stage, whatever epub reader the user is using does it's own thing anyway, right? Was this a big waste of time? Possibly. But let me know? And otherwise, 'Hello world!' :hatsoff: - Andy |
Generally, If I really want to use a specific font in an ebook, I add it as an embedded font. Otherwise, no guarantee as to what font will be used when the font I want to use is not present on the device I'm reading on.
|
Quote:
For an example, have a look at this book with an embedded blackletter font. You also might find my CSSFromFonts plugin helpful, which'll add a font declaration to your CSS file. |
We recently fixed a bug that prevented previewing embedded fonts in a resource tab whenever the path to Sigil's temp directory contained a space, but that didn't effect properly embedded fonts from rendering in the Preview widget. If it's not down to a css syntax or path error, it's typically down to problematic fonts whenever they won't render in a browser (like QtWebEngine or QtWebkit). There's a lot of terrible font files floating around out there. But if it renders when it's installed as a system font, that's usually a dead giveaway that it's just not being embedded in the epub correctly.
|
1 Attachment(s)
Did you add the font to the EPUB? It goes in the Fonts folder, highlighted in the image below.
Attachment 187152 |
Adding to my response above, I used my own font long ago (no idea if this is still the proper way); here's the css:
Code:
@font-face { |
You can also consider using Doitsu's CSSFromFonts plugin to somewhat automate creating the CSS for embedded fonts.
|
Thanks all for the input. Problem solved!
|
I prefer not to encounter the problem. 1) you must have the legal right to distribute the fonts, 2) you must have the knowledge to embed them, 3) you have to hope that Amazon doesn't rip them out (as it sometimes does, assuming your mean to publish through KDP), and 4) your idea of great typeface may offend the reader who prefers his/her/its own great typeface, and who gives you a one-star review in consequence.
Besides, ARA General Belgrano sank with great loss of life in 1982. |
Quote:
|
Quote:
|
Quote:
So, that's a no-fly-zone. That does not mean that there aren't pre-2014 or 2015 files out there with specified, stipulated body fonts. Ironically, most of them are trade publisher files! (And WHAT is with trade pubbed books today coming in Kindle with block-style, space-between paragraphs, for novels? I mean, talk about STEAM!) Hitch |
Quote:
|
Quote:
With ePub, you can embed a font that's only used in some places and that font will be seen. |
Quote:
I would love a job reformatting commercial eBooks. But not one like that Churchill eBook. Way too many footnotes to deal with. |
Quote:
It seems like a perfect gig for a perfectionist...but, hell, ask Tex, the biggest perfectionist I know. He'll tell you and you KNOW he has mad formatting skills. Trust me. Hitch |
Quote:
|
Quote:
On the last ebook I saw that attempted to get around this, the author styled each paragraph with the embedded font using style= and it didn't work. |
Quote:
|
Quote:
We had this truly godawful book. It was...I can't even describe it. It was like a person's journal/memoir/something. And it careened from font to font. It also made extensive use of Arial. Well, like good little obedient doggies, we licensed the fonts and off we go and we could NOT NOT NOT get Arial to "take." Something about the usages, too many fonts, too much Arial in conjunction with (IDK what else). Seriously, if you removed a paragraph with Arial, you could add one. We demonstrated it over and over. There appeared to be hard limit, in how many paragraphs you could have, in Arial. We tried normal CSS; we tried inline; we even tried putting it on the HTML tags (the customer was ADAMANT!), and we never got it to work. Use it all the time for headings and subheads, and for books where it's the only font...but there is something, somewhere, that makes it explode with a certain (number/type) of other fonts. Most bizarre font thing--well, almost--that I ever saw. The Daily Prophet Effect--the one where the text appeared to come "unstuck" from the page and float around, in Previewer and on-sale--that was the MOST bizarre. We'd upload this perfectly normal novel, and when you'd preview it, the text of the book simply...came apart. And floated around the page, as if unanchored to lines, grids...weirdest thing ever. Customer as horribly unhappy with us. Never did figure out WHY. Hitch |
Quote:
And this is in trade published books? Report it. Quote:
I could maybe see a self-help book, programming book, or something like that... but a novel‽ Quote:
There are plenty of abysmal ebooks out there that need reformatting. Heck, that's how I got started. Side Note: I even used this method in 2018: I purchased an ebook from one of the podcasters I listen to. He only had an Amazon/Kindle version for sale, so I wanted to create an EPUB so it could be sold on all the other stores. Turns out it was a Word->Kindle conversion... and there were busted footnotes, broken URLs, and other issues. I blew him away by pointing out tons of errors/typos. He gave me the original source files, and I was able to generate a super clean, amazing EPUB (and better Kindle version too!). Now he's one of my best clients/buddies, and I've done 6+ books for them (with more on the way). But note, you'd probably want to be less abrasive with your "my way or the highway" demeanor. Quote:
So once you spot the pattern, it's usually just a handful of regex to normalize the text. I just reduce everything down to the super-clean: Code:
<sup>1</sup>Quote:
In that entire Calibre library of his, there must be hundreds, thousands, millions! He's outproduced us all! :D Quote:
|
| All times are GMT -4. The time now is 10:33 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.