The idea behind this script is to test the OpenType features of an installed font in InDesign - without flyouts, dropdowns, and the like.
Some of the OpenType features are also not accessible from the English or German user interface of InDesign.1 Some features are only accessible via script.
Download the script via Code
‣ Download ZIP
Put the script into the script folder of InDesign and start it from the script panel via double click. By selecting a checkbox, the corresponding OpenType feature is enabled in the current selection of your document.
Here are some short short Video on how to use the »Basic Features«, the »Extended Features« and search for a font with specific OpenType features.
Insertion Point: If the insertion point is placed in a paragraph, the feature is enabled in the entire paragraph.
Text Frame: If a text frame is selected, the feature is enabled in its entire text content.
Text: If a range of text is selected, the feature is enabled in this text only.
All OpenType features in Tab »Basic Features« are also accessible via InDesign user interface (albeit deeply hidden in the panel menus ) and can be saved in a character style.
If the current selection contains different values for the same OpenType feature, the background of the checkbox is highlighted in red. In the help text of the checkbox, this fact is pointed out again.
If the fonts contained in the selection have different availabilities for the same OpenType feature, the background of the checkbox is grayed out.
If a checkbox is grayed out (Mode »enable«), it is possible to activate it with an ALT + click
.
This is sometimes useful when values are assigned but this OpenType feature is not available for the font in the selection or this feature should be included in the character style.
The user interface of the script is updated when the selection in the active document changes. If this is not done correctly, the update can be triggered by pressing the Refresh
button.
The selected features can be transferred to a character style. To do this, enter the desired name in the input field (bottom right) and click on the Character Style
button.
The OpenType features on tab »Extended Features« can only be applied via script. Unfortunately, they cannot be saved in a character style.
Please note: The setting via »Extended features« tab has priority and overwrites the »Basic features«. Thus, in case of same functionality, assigning or removing a »Basic Feature« no longer has any effect.
If more than one text style range is selected, they will be displayed in the right list separated by a blank line.
- Registry: Registered feature2 that cannot be assigned via the InDesign user interface.
- InDesign: Feature that occurs only in InDesign
- InDesign/Registry: Registered feature used in the same way in InDesign
- InDesign+/Registry: Registered feature, but used differently in InDesign, e.g. as a combination of two features.
At the bottom of the tab there are two filters that can be used to limit the displayed features. Multiple tags are separated by spaces, e.g. hlig liga cv84
By double-clicking on one of the entries in the list on the left, you can change the feature value (shown in the Value column). Only positive integers are allowed as values.
- Select the desired text in your document
- Mark one or more features in the list on the left
- Click on the
Apply
button
Hint: If you activate the button for style overrides in the paragraph style panel in the InDesign user interface, these text passages are highlighted in the normal document view.
- Select the relevant text in document
- Click on the button
Clear
The »Font Search« tab can be used to search for fonts with specific OpenType features.
The list on the left shows the available features. After selecting one or more entries, the script analyzes all available fonts. The matching fonts are displayed in the list on the right.
Set Lipika or Harfbuzz as the shaping engine for Latin and Indic script. If Harfbuzz
is checked harfbuzz shaping is set for all languages for world ready composer.
This setting is used for the active document. After activation (only) the selected text will be recomposed. Available for InDesign 2020+.
Lipika is the name for default shaping engine in Adobe World Ready Composer. Harfbuzz as an alternative shaping engine supports the latest indic shaping specifications.3
Error messages are displayed in the title bar of the dialog.
Thanks for tips and discussion to Dirk Becker/IxtaTypeUI and Ken Lunde. And also a big thank you to @indiscripts and @dhinostroza for help with the translation.
If you want to support the development of the script:
Footnotes
-
To get full functionality for Japanese/CJK or Arabic OpenType features in InDesign, read this article. ↩
-
»OpenType Layout Tag Registry«, Microsoft, https://docs.microsoft.com/de-de/typography/opentype/spec/featurelist ↩