polarsys / b612

Eclipse B612
https://projects.eclipse.org/projects/polarsys.b612
SIL Open Font License 1.1
1.08k stars 50 forks source link

Access slashed zero as OpenType feature #24

Open vladatanasiu opened 2 years ago

vladatanasiu commented 2 years ago

It would be useful if the slashed zero would be accessible as an OpenType feature. In case a contributor would like to take up this task, here is a suggestion for how to do it in FontLab.

  1. FontLab > Window > Panels > Features
  2. Features > + > type "zero"
  3. Add the following in the code box:
feature zero {
# GSUB feature: Slashed Zero
# Lookups: 1

  sub zero by slashedzero;

  script latn; # Latin

  script cyrl; # Cyrillic

} zero;
  1. File > Export Fonts As... > OpenType PS (OTF)