Open
Description
Named instances and collections are conceptually similar: they both allow a single file to hold a finite set of faces, where each face has a name. However, in CSS they are currently triggered using wildly different mechanisms:
For font collections, you say:
@font-face {
font-family: AMemberOfACollection;
src: url("aFontCollection.ttc#TheMemberIWant");
}
For named instances, you say:
@font-face {
font-family: ANamedInstance;
src: url("aVariableFont.ttf");
font-named-instance: TheNamedInstanceIWant;
}
I think we have 3-4 options:
- Keep it like it is
- Allow named instances to be specified in the fragment of the
src
URL
2b. Deletefont-named-instance
entirely since it's unimplemented, and say the only way to use named instances is in the fragment of thesrc
URL - Allow the postscript name of a member in a collection to be supplied to
font-named-instance