Change the default shaping engine for World-Ready Composer

Learn how to change the default shaping engine for World Ready Composer in InDesign.

Note:

Starting with the InDesign 19.0 version (October 2023), Harfbuzz is the default text shaping engine of the World Ready Composer.

Set legacy shaping engine as the default for World-Ready composer

You can change the default shaping engine for World Ready Composer using the Preferences panel or a script in InDesign.

Using the Preferences dialog

You can go to Preferences > Advanced Type and select Enable Legacy Text Shaping for Adobe World-Ready Composer to switch back to the older/legacy text-shaping engine for Adobe World-ready Composer.

Using the script

  1. Open a text editing app like TextEdit (macOS) or Notepad (Windows).

  2. Copy the below snippet and save it as .jsx:

    app.textPreferences.shapeIndicAndLatinWithHarbuzz = false;

    try
    {
    alert( " Is Harfbuzz Enabled : "+app.textPreferences.shapeIndicAndLatinWithHarbuzz );
    }
    catch(e)
    {
    alert( "ERROR: " + e.number +"\r"+ e.message );
    };

  3. Place the saved .jsx file inside the InDesign root folder ../Scripts/Scripts Panel.

  4. Launch InDesign.

  5. Go to Windows > Utilities > Scripts.

  6. Double-click on the .jsx file that you have saved earlier to execute it.

Reset Harfbuzz shaping engine as the default for World-Ready composer

Similarly, to change back to the Harfbuzz shaping engine, use the following code snippet within the .jsx file:

app.textPreferences.shapeIndicAndLatinWithHarbuzz = true;

try
{
alert( " Is Harfbuzz Enabled : "+app.textPreferences.shapeIndicAndLatinWithHarbuzz );
}
catch(e)
{
alert( "ERROR: " + e.number +"\r"+ e.message );
};

Have a question or an idea?

Ask the Community

We would love to hear from you. Share your thoughts with the Adobe InDesign Community

Get help faster and easier

New user?