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
(comment from inherited method)
this message is sent by the runtime system (VM) when
a message is not understood by some object (i.e. there
is no method for that selector). The original message has
been packed into aMessage (i.e. the receiver, selector and
any arguments) and the original receiver is then sent the
#doesNotUnderstand: message.
Here, we raise another signal which usually enters the debugger.
You can of course redefine #doesNotUnderstand: in your classes
to implement message delegation,
or handle the MessageNotUnderstood exception gracefully.

queries
o  deviceFonts

o  supportsXftFonts



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 04:15:34 GMT