Please try to remove these files:
“C:\ProgramData\AsposeImagingFontsInfoJson.cache”
“C:\ProgramData\AsposeImagingFontsInfo.cache”
“C:\Users<yourusername>\AppData\Local\AsposeImagingFontsInfoJson.cache”
“C:\Users<yourusername>\AppData\Local\AsposeImagingFontsInfo.cache”
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at Aspose.PSD.FontParsing.OpenType.Serialization.OpenTypeFontInfo..ctor )
at .(String[] )
at .(Boolean )
at .(String )
at .(String )
at .(String )
at .(String , Boolean )
at ⸮.(ITextStyle )
at ⸮.(ITextPortion )
at ⸮.(ITextPortion[] )
at ⸮.(ITextPortion[] , SizeF )
at ⸮.()
at ⸮.(Boolean )
at .UpdateLayerData()
at ⸮.(String , Point , Single , Color)
at .(Object )
at .(Object )
at .(MethodBase , Boolean )
at ( , )
at ()
at .(Boolean )
at .(Object )
at .(Object )
at .()
at .(Object , UInt32 )
at .(Boolean )
at .(Object[] , Type[] , Type[] , Object[])
at .(Stream , String , Object[] , Type[], Type[] , Object[] )
at .(Stream , String , Object[] )
at .(Stream , String , Object[] )
at ⸮.UpdateText(String , Point , Single , Color)
at Aspose.PSD.FileFormats.Psd.Layers.TextLayer.UpdateText(String text)
The font is installed normally on my computer, and Photoshop can edit it normally
at my test, it broken at this.Style = OpenTypeFontInfo.\u0002(u0006_u0005_u0003_u2.\u0002()); in class Aspose.PSD.FontParsing.OpenType.Serialization
This is our own font that can recognize edited content normally in Photoshop,Do you need me to send you the font?
@lsl
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): PSDNET-1855
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
The issues you have found earlier (filed as PSDNET-1855) have been fixed in this update. This message was posted using Bugs notification tool by yaroslav.lisovskyi
var layer = psdImage.Layers[3] as TextLayer;
layer.UpdateText("xxxx");
above code will throw exception {System.IndexOutOfRangeException: Index was outside the bounds of the array. at ..(String , FontStyle , Dictionary2 )}`
We reproduced this issue, but we need additional time for the investigation. This issue appears only on blank new project if Aspose.PSD referenced as Nuget Package. Our internal tests passed succesfully.
@lsl
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): PSDNET-2071
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
The issues you have found earlier (filed as PSDNET-2071) have been fixed in this update. This message was posted using Bugs notification tool by yaroslav.lisovskyi
I update to Aspose.PSD 24.9 , now it can open the #1 psd, update text and save as jpg . but the rendering results are different with ps, can you have a check or is it something with Layer Style - PSD .net ?
@lsl
I added ticket(s) about Bevel&Emboss to this topic. They can be found in our internal issue tracking system and will be delivered according to the terms mentioned in Free Support Policies.
Issue ID(s): PSDNET-263,PSDNET-506
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.