We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

PSD Aspose 21.6 - TextLayer Operation - Word wrap issue - Text Trim

https://drive.google.com/file/d/1hc4dd311kICXYfd3rjtCDld6bhavPkoa/view?usp=sharingHello Team,
We are facing an issue while working on PSD TextLayer.
The desired operation: Should able to perform Text alteration on PSD TextLayer and export PSD as JPEG, PDF with updated Text.
ASPOSE version: PSD 21.6


  1. Getting different output while performing on Windows and Linux (Mac) systems.
  2. While performing on Windows system Text is not getting trimmed but fonts are getting changed (Default to Arial) while original font is Mali-Regular (Which is already installed on all the systems)
  3. While performing same operation on Linux / Mac with same input PSD file , Text is getting trimmed. Fonts are coming correctly.

Code snippet:

PsdImage image = psdProcessor.loadPSD(f.getAbsolutePath());
for (Layer layer : image.getLayers()) {
if (layer instanceof TextLayer) {
TextLayer textLayer = (TextLayer) layer;
textLayer.updateText(textLayer.getText().replaceAll("@name", name));


Attached Input PSD

Resending web link for attach documents : https://drive.google.com/file/d/1hc4dd311kICXYfd3rjtCDld6bhavPkoa/view?usp=sharing


I have created an issue with ID PSDJAVA-359 in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

Appreciate your quick reply, As this issue is blocking our production and introducing much more manual efforts. It will be great if you can provide a tentative timeline else we are ok to get an intermediate build as a hotFix for this issue.


The issue has just been added in our issue tracking system and is pending for investigation in issues queue. We request for your patience and will be able to share the timeline with you as soon as it will be investigated by our team on its due turn.

Hello Team,
Is there any updates on the status on this issue.


I regret to share that at present the issue is still unresolved. We request for your patience and will share the good news with you as soon as the issue will be fixed.