mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
FontInfo::HasChar in X11
git-svn-id: svn://ultimatepp.org/upp/trunk@842 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
8eef95b764
commit
5cec55579d
1 changed files with 5 additions and 0 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue