OpenType fonts

I am working with Aspose Slides 6.9.1 for Java under Ubuntu12.04. Whenever it finds an OpenType font under /usr/share/fonts It will crash when saving a presentation with the following stacktrace:


Exception in thread “main” java.lang.AssertionError: Cannot read a name from the name table in a font.
at com.aspose.slides.c.a.b.a.do(Unknown Source)
at com.aspose.slides.a.n.do(Unknown Source)
at com.aspose.slides.a.n.do(Unknown Source)
at com.aspose.slides.a.n.do(Unknown Source)
at com.aspose.slides.a.l.C.if(Unknown Source)
at com.aspose.slides.a.l.C.try(Unknown Source)
at com.aspose.slides.a.l.C.do(Unknown Source)
at com.aspose.slides.a.l.k.do(Unknown Source)
at com.aspose.slides.a.l.k.(Unknown Source)
at com.aspose.slides.a.l.h.case(Unknown Source)
at com.aspose.slides.a.l.h.try(Unknown Source)
at com.aspose.slides.a.l.h.do(Unknown Source)
at com.aspose.slides.a.l.j.do(Unknown Source)
at com.aspose.slides.a.l.j.do(Unknown Source)
at com.aspose.slides.a.l.j.do(Unknown Source)
at com.aspose.slides.oi.(Unknown Source)
at com.aspose.slides.Kx.int(Unknown Source)
at com.aspose.slides.Kx.final(Unknown Source)
at com.aspose.slides.cD.do(Unknown Source)
at com.aspose.slides.JO.do(Unknown Source)
at com.aspose.slides.JO.do(Unknown Source)
at com.aspose.slides.JO.(Unknown Source)
at com.aspose.slides.TextFrameEx.do(Unknown Source)
at com.aspose.slides.AutoShapeEx.do(Unknown Source)
at com.aspose.slides.AutoShapeEx.do(Unknown Source)
at com.aspose.slides.GroupShapeEx.do(Unknown Source)
at com.aspose.slides.SlideEx.do(Unknown Source)
at com.aspose.slides.SlideEx.do(Unknown Source)
at com.aspose.slides.PresentationEx.else(Unknown Source)
at com.aspose.slides.PresentationEx.do(Unknown Source)
at com.aspose.slides.PresentationEx.do(Unknown Source)
at com.aspose.slides.PresentationEx.do(Unknown Source)
at com.aspose.slides.PresentationEx.do(Unknown Source)
at com.aspose.slides.Bq.do(Unknown Source)
at com.aspose.slides.c.b.d.h.do(Unknown Source)
at com.aspose.slides.c.b.d.i.do(Unknown Source)
at com.aspose.slides.PresentationEx.write(Unknown Source)

As soon as I move all OpenType fonts out of the way everything works again.
I do not need any of those fonts for the presentation to be created but they are used by my IDE…

Hi Martin,


Thanks for your interest in Aspose.Slides.

I have observed the issue shared by you and like to share that at the moment the support for Open Type fonts is unavailable in Aspose.Slides. I have created an issue with ID SLIDESJAVA-33702 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 automatically notified once the issue will be resolved.

We are sorry for your inconvenience.

Hi Martin,


We are investigating the issue shared by you and have not been able to to observe the issue with default OpenType fonts installed in my Ubuntu. Can you please share the OpenType fonts that you have on your system and that when you remove, every thing become OK. Please share the fonts available in /usr/share/fonts”.

I will really appreciate your cooperation in this regard.

Many Thanks,

Hi Mudassir,


here is the list of fonts I am using.


/usr/share/fonts/opentype/artemisia:

GFSArtemisiaBoldIt.otf
GFSArtemisiaBold.otf
GFSArtemisiaIt.otf
GFSArtemisia.otf

/usr/share/fonts/opentype/bodoni-classic:

GFSBodoniClassic.otf

/usr/share/fonts/opentype/complutum:

GFSPolyglot.otf

/usr/share/fonts/opentype/didot:

GFSDidotBoldItalic.otf
GFSDidotBold.otf
GFSDidotItalic.otf
GFSDidot.otf

/usr/share/fonts/opentype/didot-classic:

GFSDidotClassic.otf

/usr/share/fonts/opentype/freefont:

FreeMonoBoldOblique.otf
FreeMonoBold.otf
FreeMonoOblique.otf
FreeMono.otf
FreeSansBoldOblique.otf
FreeSansBold.otf
FreeSansOblique.otf
FreeSans.otf
FreeSerifBoldItalic.otf
FreeSerifBold.otf
FreeSerifItalic.otf
FreeSerif.otf
Untitled1.otf

/usr/share/fonts/opentype/gazis:

GFSGazis.otf

/usr/share/fonts/opentype/inconsolata:

Inconsolata.otf

/usr/share/fonts/opentype/neohellenic:

GFSNeohellenicBoldIt.otf
GFSNeohellenicBold.otf
GFSNeohellenicIt.otf
GFSNeohellenic.otf

/usr/share/fonts/opentype/olga:

GFSOlga.otf

/usr/share/fonts/opentype/solomos:

GFSSolomos.otf

Hi,


As requested earlier, can you please provide the fonts used that are responsible for issue. We need them to investigate on our end.

Many Thanks,

Hi,


Sorry. Was not sure about this.

Hi Martin,


Thank you very much for sharing the data. We will share the feedback with you as soon as it will be shared.

Many Thanks,

The issues you have found earlier (filed as SLIDESJAVA-33702) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.