Hello,
When I save PSD to png file, the console output print these lines.
Font cache was not available for : STSongti-SC-Black
Font cache was not available for : STSongti-SC-Black
Font cache was not available for : STSongti-SC-Black
Font cache was not available for : STSongti-SC-Black
Font cache was not available for : STSongti-SC-Black
Font cache was not available for : ArialMT
PSD text was supposedly updated from 屜ㅐ쾏�㟿Ā� to 就像这样!
Font cache was not available for : MicrosoftYaHei
Font cache was not available for : MicrosoftYaHei
and the out png file is not correct, the text is displayed very strange.
the flowing is my code, it is very simple.
String dataDir = Utils.getDataDir(SavingToDisk.class) + "Conversion/";
String sourceFile = dataDir + "6.psd";
String destName = dataDir + "result.png";
// load PSD image and replace the non found fonts.
Image image = Image.load(sourceFile);
PsdImage psdImage = (PsdImage)image;
psdImage.save(destName, new PngOptions());
result.png (18.7 KB)