View Single Post
Old 07-30-2014, 06:50 PM   #27
GJ Coop
Enthusiast
GJ Coop began at the beginning.
 
GJ Coop's Avatar
 
Posts: 25
Karma: 10
Join Date: Jul 2014
Location: Nelson New Zealand
Device: desktop app
Hitch

Thank you so much for taking the time with this.

Quote:
Originally Posted by Hitch View Post
Six, quite frankly, is a LOT.
I agree embedding six fonts would be entirely ridiculous. I am using one font and six classes.


Quote:
Originally Posted by Hitch View Post
You might want to consider getting a pro to do it once
Embedding fonts is one of the most difficult issues to get my head around that I've encountered in coding. It would be helped by KPD having a more explicit Official Guide. But also it seems that there mustn't be any official standard for the construction of the fonts, ie, why some work and others don't.

If I hadn't been in the finishing straight I would have been way better to pay someone else to sort this. The amount of wasted time has been quite staggering.

I would certainly recommend anyone else having issues with font embedment to get someone who knows what they are doing to sort this out. Like paying for it. It would be money well spent, at least if you value your time.

On the other hand, having made 100 mistakes I've come to understand how the font embedment process works. If you are the type to learn from mistakes it hasn't been entirely wasted.

Quote:
Originally Posted by Hitch View Post
try:

Code:
src: url("../Fonts/YanoneKaffeesatz-Regular.ttf") format("truetype");
I copied my code originally from someone else, somewhere, long ago. Clearly it works while on my computer but chokes up in the cloud.

I think it's probably those missing "" that have been causing my problems all along. Thanks for pointing out the obvious.


Quote:
Originally Posted by Hitch View Post

Code:
media-type="application/x-font-ttf" />
Calibre changes the application to what I had automatically. I'm not sure this is critical, but I'll change it anyway.

Quote:
Originally Posted by Hitch View Post

I know that this seems like nitpicky little stuff ...

Hitch
It's this nitpicky stuff that chokes code up. You must have an extreme eye for detail in this business, playing spot the difference. Get one character wrong, even a " instead of ' and it can come to grief.

Well, the day is youngish, there's four ebooks to fiddle with.

Hitch, thanks again, your advice has been extremely helpful.
GJ Coop is offline   Reply With Quote