View Single Post
Old 10-16-2017, 12:00 AM   #19
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by AlanHK View Post
In this case, these aren't headings, but some words in a <p> paragraph. So they have to be spans.
And so in Kindle you have to have "Publisher Font" to see them.
And so the body font becomes sans unless I style it otherwise.
Yeah, okay, we run into that also. HOWEVER, in Kindle, even w/o Publisher font selected, you should still see what's in the spans (in the KF8's, obviously).

Quote:
Blame the author who liked to play with typography.
(That's why I was doing this book, as an exercise to see if I could make the effects work in ebook as they did on paper, without resorting to images of text.)
I feel ya. I've got one in right now with 10 bloody fonts, 8 of them handwriting. If you're hearing a weird noise in the troposphere, that's me screaming.

Quote:
But in mobi you can't change fonts at all (aside from serif/sans), I thought? Anyway, not too concerned about mobi format, though would not break it unnecessarily.
I have 21 spans in the book, most of them to make a standing cap.
I do not go along with the Calibre-terminology of "AZW3" and "MOBI." The dual-file that we produce, for Amazon, is a MOBI file. Is it a KF7 mobi? No. It's a dual mobi, containing both KF7 and KF8, but it still has a .mobi file extension, and thus, I'm not going to call it something else. When I say MOBI, I mean a dual mobi. If I am discussing a KF7 mobi, I'll call it a KF7 or KF7 MOBI. I wasn't discussing KF7 with you, because obviously the topic of fonts is irrelevant in that context.

Quote:
I do follow that "rule" myself. I don't use spans to style headings. Very rarely an entire paragraph of any kind.
Yeah. Too many spans=too many headaches, on too many fronts.

I'm not sure what's causing your issue, but the spanned font should be working. Try making the book with only a single chapter--for speed in troubleshooting--and see if the spanned font text suddenly shows up in the right font. I've seen oddities like that happen, too, where I had to bracket navigate a problem, removing chapters, etc. to get to the coding that was causing the issue.

If you don't set a body font, does the spanned font work? I don't mean, selecting it on the device--I mean, if you completely remove the font setting on the body CSS, does it work then?


Hitch
Hitch is offline   Reply With Quote