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


Solutions on the web

Solution icon of pentaho
via Pentaho BI Platform Tracking by Sulaiman Karmali, 1 year ago
Not a valid TTF or OTF file: Signature not recognized.

Solution icon of pentaho
via Pentaho BI Platform Tracking by Sulaiman Karmali, 1 year ago
Not a valid TTF or OTF file: Signature not recognized.

Stack trace

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)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.