Bug 27368 - [Xlib peer] Font.canDisplayUpTo throws UnsupportedOperationException
Summary: [Xlib peer] Font.canDisplayUpTo throws UnsupportedOperationException
Status: NEW
Alias: None
Product: classpath
Classification: Unclassified
Component: awt (show other bugs)
Version: unspecified
: P3 minor
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-01 13:23 UTC by Robin Green
Modified: 2021-05-04 12:16 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2016-10-03 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Green 2006-05-01 13:23:53 UTC
Until/unless bug 25375 is fixed, I'd like to use the Xlib AWT peer. But I can't yet, because it doesn't implement the peer method for java.awt.Font.canDisplayUpTo - it throws an UnsupportedOperationException. (Incidentally, the gtk peer doesn't implement it either - it just returns a dummy answer.)

I don't think that core Xlib provides a convenient API for this info, so maybe the Xlib peer should use Xft for font stuff instead of core Xlib.
Comment 1 Andrew Pinski 2016-09-30 22:51:41 UTC
Closing as won't fix as libgcj (and the java front-end) has been removed from the trunk.
Comment 2 Andrew John Hughes 2016-10-03 22:07:53 UTC
Bug in GNU Classpath code. Only the Qt peer seems to implement this method.