View Single Post
Old 03-22-2020, 06:07 AM   #12
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
font-variant-alternates

Hi

Is this necro-posting?

It's still about the CSS property font-variant-alternates to be used in an ePub3.
My OT font is Linux Libertine. I'd like to write in the CSS at the body place, the following line:

font-variant-alternates: stylistic ();

Question: I do not know how to fill-up what must be inserted within the red brackets. In the text of the ePub, I'd like to make appear the alternate character instead of &

My font has the stylistic set ss06 (see screenshot). Currently, I can make appear the alternate character only using the smcp set as you can see (other screenshot), but then I have to wrap a span around each & which is not very convenient.

I'm afraid I have not been clear...
Attached Thumbnails
Click image for larger version

Name:	ss06.png
Views:	189
Size:	18.3 KB
ID:	177859   Click image for larger version

Name:	smcp.png
Views:	205
Size:	50.0 KB
ID:	177860  

Last edited by roger64; 03-22-2020 at 06:20 AM.
roger64 is offline   Reply With Quote