[css-fonts] Custom feature files

In LuaLaTeX, an author can load custom feature files that are then applied to fonts as if they’d been compiled into the OT tables by the font creator. The Adobe syntax (v1.7) is used for those files, which frequently show a ‘.fea’ extension. <http://www.adobe.com/devnet/opentype/afdko/topic_feature_file_syntax.html>

  \usepackage{fontspec}
  \setmainfont[FeatureFile=foo.fea, RawFeature=+quuz]{Bar}

If browsers supported such virtual fonts, which they don’t, would the ‘src’ descriptor be the right place or should Fonts 4 get a specialized descriptor?

  @font-face {
    font-family: Bar;
    src: url(bar.otf) url(foo.fea);
  }

  @font-face {
    font-family: Bar;
    src: url(bar.otf);
    font-features: url(foo.fea);
  }

Received on Friday, 21 March 2014 21:50:24 UTC