Next Previous Up Top Contents Index

4.3 DUIM-DCs Module

make-device-font

Function

Summary

Returns a device-specific font.

Signature

make-device-font port font => device-font

Arguments

port
An instance of type <port>.

font
An instance of type <object>.

Values

device-font
A font object or the name of a font.

Library

duim-dcs

Module

duim-dcs

Description

Returns a device-specific font. Text styles are mapped to fonts for a port, a character set, and a text style. All ports must implement methods for the generic functions, for all classes of text style.

The objects used to represent a font mapping are unspecified and are likely to vary from port to port. For instance, a mapping might be some sort of font object on one type of port, or might simply be the name of a font on another.

Part of initializing a port is to define the mappings between text styles and font names for the port's host window system.


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index