Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 06-29-2014, 04:26 AM   #1
DomesticExtremis
Addict
DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.
 
DomesticExtremis's Avatar
 
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?
DomesticExtremis is offline   Reply With Quote
Old 06-29-2014, 05:53 AM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,548
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by DomesticExtremis View Post
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.
Ideally, yes. But different fonts have different needs, and different designers different tastes. For instance, Vollkorn provides both an alternate f and "fi"-like ligatures. By default "liga", the "fi" ligature is active, but "fj" uses the alternate f instead, and the "fj" is available in "dlig" (if I remember correctly). Other fonts may include "fj" in the standard ligatures, or move "fi" to the discretionary ones.

Quote:
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?
Is FontForge's metrics window quick and easy enough?
Jellby is offline   Reply With Quote
Advert
Old 06-29-2014, 06:20 AM   #3
DomesticExtremis
Addict
DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.
 
DomesticExtremis's Avatar
 
Posts: 243
Karma: 359054
Join Date: Nov 2012
Device: default
Quote:
Originally Posted by Jellby View Post

Is FontForge's metrics window quick and easy enough?
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
DomesticExtremis is offline   Reply With Quote
Old 06-29-2014, 06:37 AM   #4
DomesticExtremis
Addict
DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.
 
DomesticExtremis's Avatar
 
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
DomesticExtremis is offline   Reply With Quote
Old 06-29-2014, 06:47 AM   #5
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,727
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by DomesticExtremis View Post
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?
AFAIK, there's no easy way to find out what layout tags are available. However, if you have Microsoft Word 2010 (or Office Starter 2010) installed, you can test the display of the most frequently used layout tags via the Advanced tab of the Font dialog box.
Doitsu is offline   Reply With Quote
Advert
Old 06-29-2014, 07:57 AM   #6
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,548
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by DomesticExtremis View Post
The metrics menu doesn't seem to contain anything related to font features (other than kerning).
Window -> Open new metrics window (or something similar)

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.
Jellby is offline   Reply With Quote
Old 06-29-2014, 10:45 AM   #7
DomesticExtremis
Addict
DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.DomesticExtremis ought to be getting tired of karma fortunes by now.
 
DomesticExtremis's Avatar
 
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...
DomesticExtremis is offline   Reply With Quote
Old 06-29-2014, 05:25 PM   #8
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 DomesticExtremis View Post
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?

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
Hitch is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 02:14 AM.


MobileRead.com is a privately owned, operated and funded community.