+ added XftDefaultHasRender

This commit is contained in:
eknauel 2003-10-17 08:34:53 +00:00
parent 8892dd700c
commit abd03a7d7a
1 changed files with 8 additions and 0 deletions

View File

@ -385,6 +385,12 @@ s48_value scx_XftFontSetPrint(s48_value sxfs)
return S48_UNSPECIFIC;
}
s48_value scx_XftDefaultHasRender(s48_value sdpy)
{
return XftDefaultHasRender(scx_extract_display(sdpy)) ? S48_TRUE : S48_FALSE;
}
void scx_xft_init(void)
{
XFT_GC_PROTECT_IMPORT_BINDING(scx_xftpattern_record_type, "xft-pattern");
@ -446,4 +452,6 @@ void scx_xft_init(void)
S48_EXPORT_FUNCTION(scx_XftPatternPrint);
S48_EXPORT_FUNCTION(scx_XftFontSetPrint);
S48_EXPORT_FUNCTION(scx_XftDefaultHasRender);
}