Hi
The free version for personal use of Prince reached 13.3. I installed it on my Linux box and, reading its user book, I realized it had some nice new features. Among them, two seem to be particularly interesting for ebook-readers.
inpage footnotes
I've seen that you can insert a span wiht "fn" class, add some CSS marking for footnote-call and marker and enjoy inpage footnotes. However, I do not know how to convert an ePub3 footnote code to be used by Prince...
open-type features.
I've read these comments:
Quote:
OpenType Features in Prince
Prince supports OpenType features, and enables certain ones by default in specific scripts. The following ones are enabled by default in Prince:
Script Enabled features
Latin, Greek, Cyrillic ccmp, liga, dist, kern*, mark, mkmk, vrt2/vert
Arabic/Syriac ccmp, rlig, calt, liga, mset, isol, medi, fina, kern, curs, mark, mkmk
Indic ccmp, and many other Indic-specific substitutions
Other scripts kern*, mark, mkmk
* Kerning can be disabled with the keyword prince-no-kerning of the font-variant property.
Microsoft has a list of the OpenType feature names here.
It is possible to enable other OpenType features by using the font-variant CSS property with the prince-opentype() function (see CSS Functional Expressions).
Care must be taken in which order the features are enabled! And please note that enabling one feature will disable all the default features.
|
However, I fail how to understand how I could use them with my ePub3.
I am most interested with
font-variant-numeric (for oldnum) and
font-variant-ligatures (for hlig) which can be added to ePub with a no-problem fallback. I still plan to use my own font for smcp.
Thank you for any help or explanation on how to implement these features.