The Birdfont Source Code
Drop old font settings
These changes was commited to the Birdfont repository Sun, 15 Sep 2019 19:22:53 +0000.
Contributing
Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
Drop old font settings
--- a/libbirdfont/ExportTool.vala
+++ b/libbirdfont/ExportTool.vala
@@ -260,11 +260,6 @@
body {
text-rendering: optimizeLegibility;
font-feature-settings: "kern";
- -moz-font-feature-settings: "kern=1";
- -ms-font-feature-settings: "kern";
- -webkit-font-feature-settings: "kern";
- -o-font-feature-settings: "kern";
-
margin: 0 0 0 0;
}
@@ -392,32 +387,20 @@
}
span.swashes {
- -moz-font-feature-settings: "swsh";
- -ms-font-feature-settings: "swsh";
- -webkit-font-feature-settings: "swsh";
font-feature-settings: "swsh";
}
span.alternates {
- -moz-font-feature-settings: "salt" 1;
- -ms-font-feature-settings: "salt" 1;
- -webkit-font-feature-settings: "salt" 1;
font-feature-settings: "salt" 1;
}
span.smallcaps {
font-variant-caps: small-caps;
- -moz-font-feature-settings: "smcp";
- -ms-font-feature-settings: "smcp";
- -webkit-font-feature-settings: "smcp";
font-feature-settings: "smcp";
}
span.capstosmallcaps {
font-variant-caps: all-small-caps;
- -moz-font-feature-settings: "c2sc", "smcp";
- -ms-font-feature-settings: "c2sc", "smcp";
- -webkit-font-feature-settings: "c2sc", "smcp";
font-feature-settings: "c2sc", "smcp";
}