Font features

Some fonts have "font features". They control how individual characters appear. See https://software.sil.org/ and https://scriptsource.org/ for more information.

Currently there is no Bloom UI support for this. However, advanced users can edit the customCollectionStyles.css or customBookStyles.css file and add a rule.

Examples

[lang="kdj"]

{
  font-feature-settings: "dig4" 1;
  -moz-font-feature-settings: "dig4" 1;
}

[lang="kdj"], [long="tpi"]

{
  font-feature-settings: "dig4" 1, "i_tl" 1, "Qalt" 1;
  -moz-font-feature-settings: "dig4" 1, "i_tl" 1, "Qalt" 1;
}

In this case, you need to enable "Stylistic set 2". Then, the correct glyph will appear.

To do this, edit your customCollectionStyles.css or customBookStyles.css file.

Here is an example of the rule to add.

[lang="kdj"]

{
  font-feature-settings: "ss02" 1;
  -moz-font-feature-settings: "ss02" 1;
}

Note

Related Topics

Editing stylesheets overview