FontInfo::HasChar in X11

git-svn-id: svn://ultimatepp.org/upp/trunk@842 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2009-02-07 13:49:13 +00:00
parent 8eef95b764
commit 5cec55579d

View file

@ -88,6 +88,11 @@ static int sCheckComposed(const char *face)
return n > 10;
}
bool FontInfo::Data::HasChar(int ch) const
{
return XftCharExists(Xdisplay, xftfont, ch);
}
void Draw::InitPlatformFonts()
{
for(int i = 0; i < __countof(basic_fonts); i++) {