Quote:
Originally Posted by RbnJrg
By the way, the font you uploaded is not a small-cap font but a regular one.
|
For the last years, I used a dedicated small-cap font and still do. Today's problem is different and there is a misundertanding I'd like to clear. Yes, this font is a regular one
but it has optional smcp capabillities
Please, do analyze my font using this
site
Select the "features" tab. You'll see that it has indeed some
optional features which are "off by default". Among them, using small-caps.(see screenshot).
My question is how to use them on an ePub?
I am afraid that using
font-variant: small-caps does not yield good results. Your ePub does not display smcp characters coming from the font using Sigil ou Calibre.
There is a simple way to check if you really use smcp characters coming from the font. Try to write:
&. You should get the second character on the left of the screenshot.. (I've put a circle around it)
I add a second screenshot, showing a PDF exported from LibreOffice, using characters from this font, and which displays small-caps correctly, and also (see red marks)
- standard ligatures (on by default)
- old style numerics (off by default)
This is the result I am aiming for.
Edit:
However, after some searching, the informations I've reffered to above seem to be a little ahead of schedule as far as CSS is concerned.
The CSS Fonts Module Level 3 properties,
font-feature-settings and
font-variant-caps (among others) are currently "Candidates au statut de recommandation" (candidates to get a recommended status). Thre reference document is
this one..
So, for the time being, it's too early to hope to get any CSS implementation, even if some software like LibreOffice or probably some browsers make already wide use of them.