display the build version as well as the runtime version of Xft
This commit is contained in:
parent
231f4dadab
commit
219e18e744
1 changed files with 4 additions and 2 deletions
|
@ -50,9 +50,11 @@ Font::Font(int screen_num, const std::string &fontstring,
|
|||
printf(_("Couldn't initialize Xft.\n\n"));
|
||||
::exit(3);
|
||||
}
|
||||
int build = XFT_VERSION;
|
||||
int version = XftGetVersion();
|
||||
printf(_("Using Xft %d.%d.%d.\n"),
|
||||
version / 10000 % 100, version / 100 % 100, version % 100);
|
||||
printf(_("Using Xft %d.%d.%d (Built against %d.%d.%d).\n"),
|
||||
version / 10000 % 100, version / 100 % 100, version % 100,
|
||||
build / 10000 % 100, build / 100 % 100, build % 100);
|
||||
_xft_init = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue