Determining HarfBuzz version used by Aspose Words

Hi,

For a given version of Aspose Words for Java, how can I determine the version of HarfBuzz used?

Thanks in advance,
Taras

@TarasTielkes

To determine the version of HarfBuzz used by a specific version of Aspose.Words for Java, you may encounter some challenges, as the version information for HarfBuzz is not explicitly included in the Aspose.Words library binaries. This lack of documentation means that users cannot easily track which version of HarfBuzz is bundled with the Aspose.Words library.

However, it is known that Aspose.Words for Java utilizes HarfBuzz for advanced text shaping capabilities, particularly for complex scripts and languages. If you need to ensure compatibility or check for vulnerabilities related to HarfBuzz, it is advisable to refer to the changelogs or release notes provided by Aspose for the specific version of Aspose.Words you are using. These documents may contain information about the HarfBuzz version or any updates related to it.

For further details on using HarfBuzz with Aspose.Words, you can refer to the tutorial on integrating HarfBuzz for text shaping in your Java applications, which provides insights into its functionality and setup.

If you have specific security concerns or need to track dependencies, consider reaching out to Aspose support for more detailed information regarding the HarfBuzz version used in your version of Aspose.Words.

Sources:
[1]: Using HarfBuzz in Aspose.Words for Java
[2]: Third-Party Library Assessment – Aspose Words

@TarasTielkes You should use the same version of HarBuzz plugin as Aspose.Words.

<dependency>
    <groupId>com.aspose</groupId>
    <artifactId>aspose-words</artifactId>
    <version>25.1</version>
    <classifier>jdk17</classifier>
</dependency>
<dependency>
    <groupId>com.aspose</groupId>
    <artifactId>aspose-words</artifactId>
    <version>25.1</version>
    <classifier>shaping-harfbuzz-plugin</classifier>
</dependency>

It would be useful if this could be exposed programmatically by Aspose Words. In addition, the metadata properties of harfbuzz-shaping-engine-dll.dll could include this information.

@alexey.noskov I am not referring to the Aspose version of HarfBuzz, but rather to the corresponding release of HarfBuzz itself. For example, the current version of HarfBuzz is 10.2.0

@TarasTielkes,

In the current version of Aspose.Words for Java, the Shaping HarfBuzz Plugin utilizes HarfBuzz 10.1.0. In the upcoming Aspose.Words for Java 25.2 release, HarfBuzz 10.2.0 will be used.

Hi @alexey.maslov

Thanks for the information.
But it would be good to add some way for a user to determine the version, without asking in this forum.

Thanks again, and kind regards,
Taras

@TarasTielkes Thank you for your suggestion. we will consider to provide this information in the package description.

@alexey.noskov just to explain why I am asking for this: we have upgraded our application from JDK 8 to JDK 11, and are considering whether to include the Aspose Words shaping-harfbuzz-plugin, or to use the HarfBuzz renderer that is part of the JDK now.

1 Like