![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 243
Karma: 359054
Join Date: Nov 2012
Device: default
|
Opentype font features
I realise that 'font-feature-settings' is still not officially in CSS3, so it is unlikely to be supported in ePUB or even any device, but I'm somewhat confused about the layout tags.
There is a registry of various tags such as 'liga', 'dlig', 'hist' maintained here, but MS seem to be shy about defining what each tag must contain, only supplying examples fo what is typical. I appreciate they will vary depending on the script, but surely something called standard ligatures should contain a certain set for latin, and another set for other say greek, yadda yadda. The only way I can figure out what ligatures and other layout features are supported is by digging through the font info in FontForge, which is not entirely straight forward. For instance, the "IM FELL Great Primer PRO" font available here has 'liga','dlig' but no 'hist' to get the long s directly, it can only be had via 'ss01' style set, only then will the long s ligatures 'liga' in work. I did find a funky web tool that lets you turn on/off certain of the tags here, but it only supports certain of the most common tags. Even so , the drag and drop bit works very well. So my question is how does one find out quickly and easily what layout tags are available and what they contain for a given font? |
![]() |
![]() |
![]() |
#2 | ||
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,548
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
Quote:
|
||
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 243
Karma: 359054
Join Date: Nov 2012
Device: default
|
I was using Element|Font info and then digging around in the Lookups section.
The metrics menu doesn't seem to contain anything related to font features (other than kerning). ETA I'm not really expert in FontForge, I have no aim to design a font, just use one, but it is the only software I have right now that tells me, however painstakingly, what I want to know. Last edited by DomesticExtremis; 06-29-2014 at 06:24 AM. Reason: Afterthought |
![]() |
![]() |
![]() |
#4 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 243
Karma: 359054
Join Date: Nov 2012
Device: default
|
otfinfo gives some data - at least it's quick:
Code:
[me@home ~]otfinfo -f IMFeGPrm29C.otf aalt Access All Alternates calt Contextual Alternates dlig Discretionary Ligatures hist Historical Forms kern Kerning liga Standard Ligatures salt Stylistic Alternates smcp Small Capitals ss01 Stylistic Set 1 ss02 Stylistic Set 2 ss03 Stylistic Set 3 ss04 Stylistic Set 4 |
![]() |
![]() |
![]() |
#5 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,727
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,548
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
Write something in the box, and then you should have a list of features you can enable/disable, and see the effect. It does't tell you what each feature does, but it's a relatively quick way to know e.g. if there's any way to enable a "ct" ligature or a long s. |
|
![]() |
![]() |
![]() |
#7 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 243
Karma: 359054
Join Date: Nov 2012
Device: default
|
OK thanks Jellby.
I notice there are slight discrepancies between oftinfo and what I can see in FontForge. Anyhoo, I tried using 'font-feature-settings' as suggested by the web page above in an epub, needless to say it did not have any effect on my Kobo Mini, though the same document and css works well in Firefox. I guess we'll just have to wait... |
![]() |
![]() |
![]() |
#8 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
I have Typograf, which is pretty cheap (I have the paid-for version) and it gives me kerning pairs for those fonts that have ligatures. I don't know if that helps. It also has individual letter kerning, for those fonts (usually foundry fonts, obviously) that have the information available in the fontset. Hitch |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mini advanced font settings ignored in one book - embedded font? | lordofazeroth | Kobo Reader | 4 | 09-20-2013 02:15 PM |
Touch ePub: embedded TrueType (TTF) vs OpenType (OTF) | seanos | Barnes & Noble NOOK | 0 | 07-26-2013 02:43 AM |
Determine font and font size on incoming epub? | peaceridge | Calibre | 4 | 01-30-2012 03:35 PM |
Which best and easiest for Font features? | Font | Which one should I buy? | 8 | 09-28-2010 07:25 PM |
feed to lrf, how do I change font (or have default font) | lovemov | Calibre | 3 | 03-16-2009 10:57 PM |