eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'XWorkstation::PseudoDeviceWithoutXFTSupport':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: PseudoDeviceWithoutXFTSupport (private in XWorkstation

This class is only visible from within XWorkstation.

Inheritance:

   Object
   |
   +--XWorkstation::PseudoDeviceWithoutXFTSupport

Package:
stx:libview
Category:
Interface-Graphics
Owner:
XWorkstation
Author:
cg

Description:


this is a proxy device, which forwards its messages to a real device,
possibly overriding some messages.
It is currently only used as a hack (workaround) a bug in the XWindows
interface, which cannot draw strings into pixmaps using XFT fonts.
For this, a pseudoDevice instance is set as device into the pixmap's GC,
so it will draw using non-xft fonts.
This should vanish, once the xft drawing works.


Instance protocol:

accessing
o  realDevice: aDevice

message forwarding
o  doesNotUnderstand: aMessage

queries
o  deviceFonts

o  supportsXftFonts



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 26 Apr 2024 12:02:25 GMT