|
|
@@ -206,10 +206,10 @@ public class FontInfoFinder { |
|
|
|
if (ttcNames == null) { |
|
|
|
return null; |
|
|
|
} |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Throwable e) { |
|
|
|
if (this.eventListener != null) { |
|
|
|
this.eventListener.fontLoadingErrorAtAutoDetection(this, |
|
|
|
fontURI.toASCIIString(), e); |
|
|
|
fontURI.toASCIIString(), new RuntimeException(e)); |
|
|
|
} |
|
|
|
return null; |
|
|
|
} finally { |
|
|
@@ -231,13 +231,13 @@ public class FontInfoFinder { |
|
|
|
if (this.eventListener != null) { |
|
|
|
customFont.setEventListener(this.eventListener); |
|
|
|
} |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Throwable e) { |
|
|
|
if (fontCache != null) { |
|
|
|
fontCache.registerFailedFont(embedUri.toASCIIString(), fileLastModified); |
|
|
|
} |
|
|
|
if (this.eventListener != null) { |
|
|
|
this.eventListener.fontLoadingErrorAtAutoDetection(this, |
|
|
|
embedUri.toASCIIString(), e); |
|
|
|
embedUri.toASCIIString(), new RuntimeException(e)); |
|
|
|
} |
|
|
|
continue; |
|
|
|
} |
|
|
@@ -258,13 +258,13 @@ public class FontInfoFinder { |
|
|
|
if (this.eventListener != null) { |
|
|
|
customFont.setEventListener(this.eventListener); |
|
|
|
} |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Throwable e) { |
|
|
|
if (fontCache != null) { |
|
|
|
fontCache.registerFailedFont(embedUri.toASCIIString(), fileLastModified); |
|
|
|
} |
|
|
|
if (this.eventListener != null) { |
|
|
|
this.eventListener.fontLoadingErrorAtAutoDetection(this, |
|
|
|
embedUri.toASCIIString(), e); |
|
|
|
embedUri.toASCIIString(), new RuntimeException(e)); |
|
|
|
} |
|
|
|
return null; |
|
|
|
} |