View Single Post
Old 01-26-2022, 03:26 PM   #9
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 ValTim View Post
I am using version 2.0.6. You can see the validation in the attached image.



I assigned it in the stylesheet. It is in the first post of this thread. I copy it again:

Code:
@font-face {
	font-family:Quicksand;
	font-style:normal;
	font-weight:normal;
	src : url("../font/Quicksand-Regular.ttf");
}
@font-face {
	font-family:VAGRundschriftD;
	font-style:normal;
	font-weight:normal;
	src : url("../font/VAGRundschriftD.otf");
}
p.Numero-capitulo2 {
	color:#39a2c4;
	font-family:VAGRundschriftD, Quicksand, sans-serif;
	font-size:3em;
	font-style:normal;
	font-variant:normal;
	font-weight:normal;
	line-height:1.2;
	margin-bottom:45px;
	margin-left:0;
	margin-right:0;
	margin-top:0;
	orphans:1;
	page-break-after:auto;
	page-break-before:always;
	text-align:right;
	text-decoration:none;
	text-indent:0;
	text-transform:none;
	widows:1;
}
For me it is weird that Quicksand and VAG Rundschrift are combined in the same paragraph. I changed
Code:
font-family:VAGRundschriftD, Quicksand, sans-serif;
for
Code:
font-family:VAGRundschriftD, Futura, sans-serif;
, and it worked just fine. Of course, the second version does not have Quicksand embedded.
Sorry that I missed the earlier post. Not my intention to make people repeat themselves.

In the second version of the EPUB, the main font works for all the characters of the word? It is only when you use the Quicksand font that letters are replaced? Is that the bottom line?

And it happens in no other location? Just this one sentence/line? The Futura does not show up, right?

I agree. That's damned weird. And only the reading apps like "IBooks" (or whatever they're calling it now) are displaying this mixed-font approach? Those that don't, like KP3, the original font alone displays?

Hitch
Hitch is offline   Reply With Quote