java.lang.IllegalStateException: Not a valid TTF or OTF file: Signature not recognized.

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Happens for fonts /Library/Fonts/AlBayan.ttf /Library/Fonts/AlBayanBold.ttf /Library/Fonts/Apple Chancery.ttf /Library/Fonts/Apple LiGothic Medium.ttf /Library/Fonts/Apple LiSung Light.ttf /Library/Fonts/AppleGothic.ttf /Library/Fonts/AppleMyungjo.ttf /Library/Fonts/ArialHB.ttf /Library/Fonts/ArialHBBold.ttf /Library/Fonts/BiauKai.ttf /Library/Fonts/Corsiva.ttf /Library/Fonts/CorsivaBold.ttf /Library/Fonts/Gungseouche.ttf /Library/Fonts/HeadlineA.ttf .... 013-01-02 15:03:08,648 [ 3790] DEBUG - org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry - Running on operating system: Mac OS X 2013-01-02 15:03:08,648 [ 3790] DEBUG - org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry - Character encoding used as default: ISO-8859-1 2013-01-02 15:03:08,648 [ 3790] DEBUG - org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry - Detected MacOS. 2013-01-02 15:03:08,668 [ 3810] DEBUG - org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFontRegistry - Unable to register font file /Library/Fonts/AlBayan.ttf java.lang.IllegalStateException: Not a valid TTF or OTF file: Signature not recognized. at org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFont$TrueTypeFontHeader.<init>(TrueTypeFont.java:55) at org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFont.<init>(TrueTypeFont.java:200) at org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFont.<init>(TrueTypeFont.java:222) at org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFont.<init>(TrueTypeFont.java:208) at org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFontRegistry.addFont(TrueTypeFontRegistry.java:149) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerFontFile(AbstractFontFileRegistry.java:479) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerFontPath(AbstractFontFileRegistry.java:423) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerDefaultFontPath(AbstractFontFileRegistry.java:126) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.initialize(AbstractFontFileRegistry.java:76) at org.pentaho.reporting.libraries.fonts.merge.CompoundFontRegistry.initialize(CompoundFontRegistry.java:73) at org.pentaho.reporting.engine.classic.core.modules.output.support.itext.BaseFontModule.getFontRegistry(BaseFontModule.java:51) at org.pentaho.reporting.engine.classic.core.modules.output.support.itext.BaseFontModule.initialize(BaseFontModule.java:75) at org.pentaho.reporting.libraries.base.boot.PackageState.initialize(PackageState.java:184) at org.pentaho.reporting.libraries.base.boot.PackageManager.initializeModules(PackageManager.java:276) at org.pentaho.reporting.engine.classic.core.ClassicEngineBoot.performBoot(ClassicEngineBoot.java:303) at org.pentaho.reporting.libraries.base.boot.AbstractBoot.start(AbstractBoot.java:202) at org.pentaho.reporting.designer.core.ReportDesigner.main(ReportDesigner.java:266) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
    via by Sulaiman Karmali,
  • Happens for fonts /Library/Fonts/AlBayan.ttf /Library/Fonts/AlBayanBold.ttf /Library/Fonts/Apple Chancery.ttf /Library/Fonts/Apple LiGothic Medium.ttf /Library/Fonts/Apple LiSung Light.ttf /Library/Fonts/AppleGothic.ttf /Library/Fonts/AppleMyungjo.ttf /Library/Fonts/ArialHB.ttf /Library/Fonts/ArialHBBold.ttf /Library/Fonts/BiauKai.ttf /Library/Fonts/Corsiva.ttf /Library/Fonts/CorsivaBold.ttf /Library/Fonts/Gungseouche.ttf /Library/Fonts/HeadlineA.ttf .... 013-01-02 15:03:08,648 [ 3790] DEBUG - org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry - Running on operating system: Mac OS X 2013-01-02 15:03:08,648 [ 3790] DEBUG - org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry - Character encoding used as default: ISO-8859-1 2013-01-02 15:03:08,648 [ 3790] DEBUG - org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry - Detected MacOS. 2013-01-02 15:03:08,668 [ 3810] DEBUG - org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFontRegistry - Unable to register font file /Library/Fonts/AlBayan.ttf java.lang.IllegalStateException: Not a valid TTF or OTF file: Signature not recognized. at org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFont$TrueTypeFontHeader.<init>(TrueTypeFont.java:55) at org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFont.<init>(TrueTypeFont.java:200) at org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFont.<init>(TrueTypeFont.java:222) at org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFont.<init>(TrueTypeFont.java:208) at org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFontRegistry.addFont(TrueTypeFontRegistry.java:149) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerFontFile(AbstractFontFileRegistry.java:479) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerFontPath(AbstractFontFileRegistry.java:423) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerDefaultFontPath(AbstractFontFileRegistry.java:126) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.initialize(AbstractFontFileRegistry.java:76) at org.pentaho.reporting.libraries.fonts.merge.CompoundFontRegistry.initialize(CompoundFontRegistry.java:73) at org.pentaho.reporting.engine.classic.core.modules.output.support.itext.BaseFontModule.getFontRegistry(BaseFontModule.java:51) at org.pentaho.reporting.engine.classic.core.modules.output.support.itext.BaseFontModule.initialize(BaseFontModule.java:75) at org.pentaho.reporting.libraries.base.boot.PackageState.initialize(PackageState.java:184) at org.pentaho.reporting.libraries.base.boot.PackageManager.initializeModules(PackageManager.java:276) at org.pentaho.reporting.engine.classic.core.ClassicEngineBoot.performBoot(ClassicEngineBoot.java:303) at org.pentaho.reporting.libraries.base.boot.AbstractBoot.start(AbstractBoot.java:202) at org.pentaho.reporting.designer.core.ReportDesigner.main(ReportDesigner.java:266) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
    via by Sulaiman Karmali,
    • java.lang.IllegalStateException: Not a valid TTF or OTF file: Signature not recognized. at org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFont$TrueTypeFontHeader.<init>(TrueTypeFont.java:55) at org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFont.<init>(TrueTypeFont.java:200) at org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFont.<init>(TrueTypeFont.java:222) at org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFont.<init>(TrueTypeFont.java:208) at org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFontRegistry.addFont(TrueTypeFontRegistry.java:149) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerFontFile(AbstractFontFileRegistry.java:479) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerFontPath(AbstractFontFileRegistry.java:423) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.registerDefaultFontPath(AbstractFontFileRegistry.java:126) at org.pentaho.reporting.libraries.fonts.registry.AbstractFontFileRegistry.initialize(AbstractFontFileRegistry.java:76) at org.pentaho.reporting.libraries.fonts.merge.CompoundFontRegistry.initialize(CompoundFontRegistry.java:73) at org.pentaho.reporting.engine.classic.core.modules.output.support.itext.BaseFontModule.getFontRegistry(BaseFontModule.java:51) at org.pentaho.reporting.engine.classic.core.modules.output.support.itext.BaseFontModule.initialize(BaseFontModule.java:75) at org.pentaho.reporting.libraries.base.boot.PackageState.initialize(PackageState.java:184) at org.pentaho.reporting.libraries.base.boot.PackageManager.initializeModules(PackageManager.java:276) at org.pentaho.reporting.engine.classic.core.ClassicEngineBoot.performBoot(ClassicEngineBoot.java:303) at org.pentaho.reporting.libraries.base.boot.AbstractBoot.start(AbstractBoot.java:202) at org.pentaho.reporting.designer.core.ReportDesigner.main(ReportDesigner.java:266) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
    No Bugmate found.