diff options
author | Rasmus Andersson <rasmus@notion.se> | 2019-08-05 01:17:39 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2019-08-05 01:17:39 +0300 |
commit | 49cd0c56c80c87ed721a3a317e891348f4515da1 (patch) | |
tree | 704f971fd494073e67c8e1e518af8f5aa32ea5cb /src/features/README.md | |
parent | 3c2b3619da463f2f86a4a654495efb4e4fda504d (diff) | |
download | inter-49cd0c56c80c87ed721a3a317e891348f4515da1.tar.xz |
moves feature code out of the glyphs file
Diffstat (limited to 'src/features/README.md')
-rw-r--r-- | src/features/README.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/features/README.md b/src/features/README.md new file mode 100644 index 000000000..75c85a84f --- /dev/null +++ b/src/features/README.md @@ -0,0 +1,21 @@ +# OpenType features + +This directory contains most (but not all) OpenType feature code. + +- Some features are maintained by the Glyphs application and are stored in the .glyphs file. +- The order of features are defined in the .glyphs file + +Each feature file in this directory is automatically wrapped in a `feature {...}` block. +For example, `cv07.fea` contains the following code: + +```fea +sub germandbls by germandbls.1; +``` + +And when the font is compiled, it actually becomes: + +``` +feature cv07 { + sub germandbls by germandbls.1; +} +``` |