hdogan
November 30, 2019, 5:14pm
1
HarfBuzzTextShaperFactory class does not exist in 19.11 java (checked jdk 16 and 17 one) package(s).
Test.java:3: error: package com.aspose.words.shaping.harfbuzz does not exist
Line 3:
import com.aspose.words.shaping.harfbuzz.HarfBuzzTextShaperFactory;
@hdogan ,
For example, we have added automation code in the Main Maven POM file . When you run this POM file, it will automatically choose the correct JDK version and also download the plugin (if needed) for advanced HarfBuzz Shaper based Typography (note that this only works for windows). Hope, this helps.
In case the problem still remains, please also try the following POM.XML file:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.aspose</groupId>
<artifactId>AsposeWordsMavenTest</artifactId>
<version>1.0-SNAPSHOT</version>
<repositories>
<repository>
<id>AsposeJavaAPI</id>
<name>Aspose Java API</name>
<url>https://repository.aspose.com/repo/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-words</artifactId>
<version>19.11</version>
<classifier>jdk17</classifier>
</dependency>
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-words</artifactId>
<version>19.11</version>
<classifier>javadoc</classifier>
</dependency>
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-words</artifactId>
<version>19.11</version>
<classifier>shaping-harfbuzz-plugin</classifier>
</dependency>
</dependencies>
</project>
hdogan
December 1, 2019, 11:23am
3
Oh, I’ve seen blog post which indicates it’s available on Unix based OS too.
new release of Aspose.Words for Java i.e. 19.11 that supports Harfbuzz Shaper plugin on Unix-based operating systems
I’ll check maven based installation.
@hdogan ,
Sure, please let us know if you have any troubles and we will be glad to look into this further for you.