[libbluray-devel] org.dvb.ui.FontFactory: log failed font name
hpi1
git at videolan.org
Tue Apr 1 15:01:41 CEST 2014
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Apr 1 12:12:28 2014 +0300| [df2c530dba4fc589f63c4f5434e84d2af3d6dd40] | committer: hpi1
org.dvb.ui.FontFactory: log failed font name
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=df2c530dba4fc589f63c4f5434e84d2af3d6dd40
---
src/libbluray/bdj/java-j2se/org/dvb/ui/FontFactory.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/libbluray/bdj/java-j2se/org/dvb/ui/FontFactory.java b/src/libbluray/bdj/java-j2se/org/dvb/ui/FontFactory.java
index 3986789..eeb6eb9 100644
--- a/src/libbluray/bdj/java-j2se/org/dvb/ui/FontFactory.java
+++ b/src/libbluray/bdj/java-j2se/org/dvb/ui/FontFactory.java
@@ -76,8 +76,10 @@ public class FontFactory {
Font font = (Font)fonts.get(name);
- if (font == null)
+ if (font == null) {
+ logger.info("Failed creating font: " + name + " " + style + " " + size);
throw new FontNotAvailableException();
+ }
return font.deriveFont(style, size);
}
More information about the libbluray-devel
mailing list