extensions.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Sat, 26 Nov 2016 21:09:32 +0000
branchjv
changeset 7719 c2f802dd340a
parent 7154 f2d585b5f20e
child 7855 46203abe7d57
permissions -rw-r--r--
XFT: Forbid XFT rendering on bitmaps (depth-1 pixmaps) In theory it could work if XFT would just turn gray into either black or white. But XFT doesn't do it and simply draw nothing without failing in any way. To prevent this silent failures, forbid drawing XFT onto bitmaps (depth-1 pixmaps). After all, the while point of XFT is to use anti-aliased fonts.

"{ Package: 'stx:libview' }"!

!ConfigurableFeatures class methodsFor:'queries-features'!

hasFontConfig
%{
#if defined(HAVE_FONTCONFIG)
    RETURN ( true );
#endif	
%}.
    ^ false

    "Created: / 22-02-2016 / 08:08:45 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !

!ConfigurableFeatures class methodsFor:'queries-features'!

hasXFT
%{
#if defined(HAVE_FONTCONFIG) && defined(XFT)
    RETURN ( true );
#endif	
%}.
    ^ false

    "Created: / 22-02-2016 / 08:08:38 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !

!stx_libview class methodsFor:'documentation'!

extensionsVersion_HG

    ^ '$Changeset: <not expanded> $'
! !