@forasposeissues Thank you for additional information. unfortunately, I cannot reproduce the problem on my side. Here is PDF document produced on my side using the above provided code:
out.pdf (1.2 MB)
Could you please describe the environment where the problem occurs?
Hi Team,
This code throws an error on RHEL7 OS. but it does not throws error on windows machine. Do we need to do some config or installation of lib on system.
java.lang.UnsatisfiedLinkError: 'long com.aspose.words.shaping.harfbuzz.HB.hb_buffer_create(int)'
at com.aspose.words.shaping.harfbuzz.HB.hb_buffer_create(Native Method)
at com.aspose.words.shaping.harfbuzz.zzS.<init>(Unknown Source)
at com.aspose.words.shaping.harfbuzz.zzZ51.zzS(Unknown Source)
at com.aspose.words.shaping.harfbuzz.zzZ51.zzS(Unknown Source)
at com.aspose.words.shaping.harfbuzz.zzZ51.shapeText(Unknown Source)
at com.aspose.words.zzVWt.zzFH(Unknown Source)
at com.aspose.words.zzVWt.zzFH(Unknown Source)
Appreciate your help.
Thanks
@forasposeissues For Windows platforms no additional efforts are required for installing HarfBuzz because Aspose.Words.Shaping.Harfbuzz already includes compiled HarfBuzz library.
For other systems, Aspose.Words.Shaping.Harfbuzz relies on already installed HarfBuzz library. For instance, many Linux-based systems have HarfBuzz installed system-wide by default. If not, there is usually a package available for installing via package manager.