home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 3
/
PDCD_3.iso
/
languages
/
c
/
oslib
/
HelpData
/
Font
/
HelpData
next >
Wrap
Text File
|
1995-06-29
|
67KB
|
1,609 lines
font_string_flags
Defined in: <font=>font.$>.h
Declaration: typedef bits font_string_flags;
Description: Flags for painting and scanning strings
Values: <font_JUSTIFY>
<font_RUBOUT>
<font_OS_UNITS>
<font_GIVEN_BLOCK>
<font_GIVEN_TRFM>
<font_GIVEN_LENGTH>
<font_GIVEN_FONT>
<font_KERN>
<font_RIGHT_TO_LEFT>
<font_RETURN_CARET_POS>
<font_RETURN_BBOX>
<font_RETURN_MATRIX>
<font_RETURN_SPLIT_COUNT>font_f
Defined in: <font=>font.$>.h
Declaration: typedef byte font_f;
Values: <font_SYSTEM>
<font_CURRENT>font_paint_block
Defined in: <font=>font.$>.h
Declaration: typedef
struct
{ <os_coord=>os.os_coord> space;
<os_coord=>os.os_coord> letter;
<os_box=>os.os_box> rubout;
}
font_paint_block;font_scan_block
Defined in: <font=>font.$>.h
Declaration: typedef
struct
{ <os_coord=>os.os_coord> space;
<os_coord=>os.os_coord> letter;
int split_char;
<os_box=>os.os_box> bbox;
}
font_scan_block;font_thresholds
Defined in: <font=>font.$>.h
Declaration: typedef
struct
{ byte t [...];
}
font_thresholds;font_colour_table
Defined in: <font=>font.$>.h
Declaration: typedef
struct
{ byte c [...];
}
font_colour_table;font_bitmap_type
Defined in: <font=>font.$>.h
Declaration: typedef bits font_bitmap_type;
Values: <font_BITMAP_DEEP>
<font_BITMAP_HORIZONTAL_SUB_PIXEL>
<font_BITMAP_VERTICAL_SUB_PIXEL>
<font_BITMAP_DELETE>font_characteristic_flags
Defined in: <font=>font.$>.h
Declaration: typedef bits font_characteristic_flags;
Values: <font_CHARACTERISTIC_OLD_FORMAT>
<font_CHARACTERISTIC_ROM>
<font_CHARACTERISTIC_MONOCHROME>
<font_CHARACTERISTIC_FILL_RULE_NON_ZERO>font_list_context
Defined in: <font=>font.$>.h
Declaration: typedef int font_list_context;
Values: <font_RETURN_FONT_NAME>
<font_RETURN_LOCAL_FONT_NAME>
<font_USE_LINEFEED>
<font_RETURN_FONT_MENU>
<font_ALLOW_SYSTEM_FONT>
<font_GIVEN_TICK>
<font_RETURN_ENCODING_MENU>font_kern_flags
Defined in: <font=>font.$>.h
Declaration: typedef bits font_kern_flags;
Values: <font_KERN_NO_BBOXES>
<font_KERN_NO_XOFFSETS>
<font_KERN_NO_YOFFSETS>font_metric_flags
Defined in: <font=>font.$>.h
Declaration: typedef bits font_metric_flags;
Values: <font_METRICS_KERN_YONLY>
<font_METRICS_KERN_XONLY>
<font_METRICS_MANY_KERN_PAIRS>font_bbox_info
Defined in: <font=>font.$>.h
Declaration: typedef
struct
{ <os_box=>os.os_box> bboxes [256];
}
font_bbox_info;font_width_info
Defined in: <font=>font.$>.h
Declaration: typedef
struct
{ int widths [256];
}
font_width_info;font_misc_info
Defined in: <font=>font.$>.h
Declaration: typedef
struct
{ short x0;
short y0;
short x1;
short y1;
short xkern;
short ykern;
short italic_correction;
byte underline_position;
byte underline_thickness;
short cap_height;
short xheight;
short descender;
short ascender;
int reserved;
}
font_misc_info;font_short_kern_pair
Defined in: <font=>font.$>.h
Declaration: typedef bits font_short_kern_pair;font_long_kern_pair
Defined in: <font=>font.$>.h
Declaration: typedef
struct
{ int c;
int xkern;
int ykern;
}
font_long_kern_pair;font_kern_info
Defined in: <font=>font.$>.h
Declaration: typedef
union
{ struct
{ int table [256];
int size;
<font_kern_flags> flags;
<font_long_kern_pair> pairs [...];
}
long_info;
struct
{ int table [256];
int size;
<font_kern_flags> flags;
<font_short_kern_pair> pairs [...];
}
short_info;
}
font_kern_info;font_decode_flags
Defined in: <font=>font.$>.h
Declaration: typedef bits font_decode_flags;font_OS_UNIT
Defined in: <font=>font.$>.h
Declaration: #define font_OS_UNIT 400
Description: 1 O S unit in millipointsfont_INCH
Defined in: <font=>font.$>.h
Declaration: #define font_INCH 72000
Description: 1in in millipointsfont_POINT
Defined in: <font=>font.$>.h
Declaration: #define font_POINT 1000
Description: 1pt in millipointsfont_COMMAND_NULL
Defined in: <font=>font.$>.h
Declaration: #define font_COMMAND_NULL ((char) '\\x00')font_COMMAND_XMOVE
Defined in: <font=>font.$>.h
Declaration: #define font_COMMAND_XMOVE ((char) '\\x09')font_COMMAND_LINEFEED
Defined in: <font=>font.$>.h
Declaration: #define font_COMMAND_LINEFEED ((char) '\\x0A')font_COMMAND_YMOVE
Defined in: <font=>font.$>.h
Declaration: #define font_COMMAND_YMOVE ((char) '\\x0B')font_COMMAND_RETURN
Defined in: <font=>font.$>.h
Declaration: #define font_COMMAND_RETURN ((char) '\\x0D')font_COMMAND_GCOL
Defined in: <font=>font.$>.h
Declaration: #define font_COMMAND_GCOL ((char) '\\x11')font_COMMAND_COLOURS
Defined in: <font=>font.$>.h
Declaration: #define font_COMMAND_COLOURS ((char) '\\x12')font_COMMAND_TRUE_COLOURS
Defined in: <font=>font.$>.h
Declaration: #define font_COMMAND_TRUE_COLOURS ((char) '\\x13')font_COMMAND_COMMENT
Defined in: <font=>font.$>.h
Declaration: #define font_COMMAND_COMMENT ((char) '\\x15')font_COMMAND_UNDERLINE
Defined in: <font=>font.$>.h
Declaration: #define font_COMMAND_UNDERLINE ((char) '\\x19')font_COMMAND_FONT
Defined in: <font=>font.$>.h
Declaration: #define font_COMMAND_FONT ((char) '\\x1A')font_COMMAND_HOM_TRFM
Defined in: <font=>font.$>.h
Declaration: #define font_COMMAND_HOM_TRFM ((char) '\\x1B')font_COMMAND_TRFM
Defined in: <font=>font.$>.h
Declaration: #define font_COMMAND_TRFM ((char) '\\x1C')font_JUSTIFY
Defined in: <font=>font.$>.h
Declaration: #define font_JUSTIFY ((<font_string_flags>) 1)
Description: Use when paintingfont_RUBOUT
Defined in: <font=>font.$>.h
Declaration: #define font_RUBOUT ((<font_string_flags>) 2)
Description: Use when paintingfont_OS_UNITS
Defined in: <font=>font.$>.h
Declaration: #define font_OS_UNITS ((<font_string_flags>) 16)
Description: Use when painting, scanning, caret or charbboxfont_GIVEN_BLOCK
Defined in: <font=>font.$>.h
Declaration: #define font_GIVEN_BLOCK ((<font_string_flags>) 32)
Description: Use when painting or scanningfont_GIVEN_TRFM
Defined in: <font=>font.$>.h
Declaration: #define font_GIVEN_TRFM ((<font_string_flags>) 64)
Description: Use when painting or scanningfont_GIVEN_LENGTH
Defined in: <font=>font.$>.h
Declaration: #define font_GIVEN_LENGTH ((<font_string_flags>) 128)
Description: Use when painting or scanningfont_GIVEN_FONT
Defined in: <font=>font.$>.h
Declaration: #define font_GIVEN_FONT ((<font_string_flags>) 256)
Description: Use when painting or scanningfont_KERN
Defined in: <font=>font.$>.h
Declaration: #define font_KERN ((<font_string_flags>) 512)
Description: Use when painting or scanningfont_RIGHT_TO_LEFT
Defined in: <font=>font.$>.h
Declaration: #define font_RIGHT_TO_LEFT ((<font_string_flags>) 1024)
Description: Use when painting or scanningfont_RETURN_CARET_POS
Defined in: <font=>font.$>.h
Declaration: #define font_RETURN_CARET_POS ((<font_string_flags>) 131072)
Description: Use when scanningfont_RETURN_BBOX
Defined in: <font=>font.$>.h
Declaration: #define font_RETURN_BBOX ((<font_string_flags>) 262144)
Description: Use when scanningfont_RETURN_MATRIX
Defined in: <font=>font.$>.h
Declaration: #define font_RETURN_MATRIX ((<font_string_flags>) 524288)
Description: Use when scanningfont_RETURN_SPLIT_COUNT
Defined in: <font=>font.$>.h
Declaration: #define font_RETURN_SPLIT_COUNT ((<font_string_flags>) 1048576)
Description: Use when scanningfont_NO_OUTPUT
Defined in: <font=>font.$>.h
Declaration: #define font_NO_OUTPUT 0x1ufont_ADD_HINTS
Defined in: <font=>font.$>.h
Declaration: #define font_ADD_HINTS 0x2ufont_OUTPUT_SKELETON
Defined in: <font=>font.$>.h
Declaration: #define font_OUTPUT_SKELETON 0x4ufont_CONVERT_BITMAP
Defined in: <font=>font.$>.h
Declaration: #define font_CONVERT_BITMAP 0x8ufont_ERROR_IF_BITMAP
Defined in: <font=>font.$>.h
Declaration: #define font_ERROR_IF_BITMAP 0x10uerror_FONT_NO_ROOM
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_NO_ROOM 0x200u
Description: Not enough memory for Font cacheerror_FONT_CACHE_FULL
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_CACHE_FULL 0x201u
Description: Font cache fullerror_FONT_NO_CACHE
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_NO_CACHE 0x202u
Description: No font cache presenterror_FONT_TOO_LONG
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_TOO_LONG 0x203u
Description: String too longerror_FONT64K
Defined in: <font=>font.$>.h
Declaration: #define error_FONT64K 0x204u
Description: Font definition too largeerror_FONT_PAL_TOO_BIG
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_PAL_TOO_BIG 0x205u
Description: Undefined font colourerror_FONT_BAD_TRAN_BITS
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_BAD_TRAN_BITS 0x206u
Description: Invalid data passed to Font_SetTransfererror_FONT_NOT_ENOUGH_BITS
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_NOT_ENOUGH_BITS 0x207u
Description: Invalid font colourerror_FONT_NO_FONT
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_NO_FONT 0x208u
Description: Undefined font handleerror_FONT_NO_PIXELS
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_NO_PIXELS 0x209u
Description: No pixel data for this fonterror_FONT_BAD_FONT_NUMBER
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_BAD_FONT_NUMBER 0x20Au
Description: Font handle out of rangeerror_FONT_NOT_FOUND
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_NOT_FOUND 0x20Bu
Description: %0 font not founderror_FONT_BAD_FONT_FILE
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_BAD_FONT_FILE 0x20Cu
Description: Illegal font fileerror_FONT_NO_HANDLES
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_NO_HANDLES 0x20Du
Description: No more font handleserror_FONT_BAD_COUNTER
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_BAD_COUNTER 0x20Eu
Description: Fonts must be read sequentiallyerror_FONT_BAD_CTRL_CHAR
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_BAD_CTRL_CHAR 0x20Fu
Description: Illegal control character in font stringerror_FONTS_IN_USE
Defined in: <font=>font.$>.h
Declaration: #define error_FONTS_IN_USE 0x210u
Description: Font manager in useerror_FONT_BAD_SEGMENT
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_BAD_SEGMENT 0x211u
Description: Illegal line segment in outline fonterror_FONT_BAD_PREFIX
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_BAD_PREFIX 0x212u
Description: %1 (while scanning Font$Path)error_FONT_RESERVED
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_RESERVED 0x213u
Description: Reserved fields must be zeroerror_FONT_BAD_CHAR_CODE
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_BAD_CHAR_CODE 0x214u
Description: Character code out of rangeerror_FONT_NO_BITMAPS
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_NO_BITMAPS 0x215u
Description: ROM font directory cannot contain bitmapserror_FONT_NO_BITMAPS2
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_NO_BITMAPS2 0x216u
Description: Can't convert bitmap characters into outlineserror_FONT_BAD_FONT_CACHE_FILE
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_BAD_FONT_CACHE_FILE 0x217u
Description: Invalid font cache fileerror_FONT_FIELD_NOT_FOUND
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_FIELD_NOT_FOUND 0x218u
Description: %0 field not present in font stringerror_FONT_BAD_MATRIX
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_BAD_MATRIX 0x219u
Description: Invalid matrix passed to Font Managererror_FONT_OVERFLOW
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_OVERFLOW 0x21Au
Description: Number too bigerror_FONT_DIVBY0
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_DIVBY0 0x21Bu
Description: Division by zeroerror_FONT_BAD_READ_METRICS
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_BAD_READ_METRICS 0x21Cu
Description: Font_ReadFontMetrics not allowed on a transformed fonterror_FONT_BAD_RGB
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_BAD_RGB 0x21Du
Description: Undefined RGB font colourserror_FONT_ENCODING_NOT_FOUND
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_ENCODING_NOT_FOUND 0x21Eu
Description: %0 encoding not founderror_FONT_MUST_HAVE_SLASH
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_MUST_HAVE_SLASH 0x21Fu
Description: Identifier '%1' should be preceded by '/' in encoding '%0'error_FONT_BAD_ENCODING_SIZE
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_BAD_ENCODING_SIZE 0x220u
Description: Max total size of input and output encoding files is 16kerror_FONT_TOO_MANY_IDS
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_TOO_MANY_IDS 0x221u
Description: Too many identifiers in %0 encodingerror_FONT_TOO_FEW_IDS
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_TOO_FEW_IDS 0x222u
Description: Not enough identifiers in %0 encodingerror_FONT_NO_BASE_ENCODING
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_NO_BASE_ENCODING 0x223u
Description: Base encoding %0 not founderror_FONT_IDENTIFIER_NOT_FOUND
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_IDENTIFIER_NOT_FOUND 0x224u
Description: Identifier %1 not found in encoding %0error_FONT_TOO_MANY_CHUNKS
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_TOO_MANY_CHUNKS 0x225u
Description: Too many characters in %0error_FONT_BAD_FONT_FILE2
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_BAD_FONT_FILE2 0x226u
Description: Illegal font file in %0error_FONT_DATA_NOT_FOUND
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_DATA_NOT_FOUND 0x20Bu
Description: Font data not founderror_FONT_DATA_NOT_FOUND2
Defined in: <font=>font.$>.h
Declaration: #define error_FONT_DATA_NOT_FOUND2 0x20Bu
Description: No suitable font data for %0font_NAME_LIMIT
Defined in: <font=>font.$>.h
Declaration: #define font_NAME_LIMIT 40font_SYSTEM
Defined in: <font=>font.$>.h
Declaration: #define font_SYSTEM ((<font_f>) 0)
Description: Value used as system font or no fontfont_CURRENT
Defined in: <font=>font.$>.h
Declaration: #define font_CURRENT ((<font_f>) 0)
Description: Value for scanningfont_BITMAP_DEEP
Defined in: <font=>font.$>.h
Declaration: #define font_BITMAP_DEEP ((<font_bitmap_type>) 1)font_BITMAP_HORIZONTAL_SUB_PIXEL
Defined in: <font=>font.$>.h
Declaration: #define font_BITMAP_HORIZONTAL_SUB_PIXEL ((<font_bitmap_type>) 2)font_BITMAP_VERTICAL_SUB_PIXEL
Defined in: <font=>font.$>.h
Declaration: #define font_BITMAP_VERTICAL_SUB_PIXEL ((<font_bitmap_type>) 4)font_BITMAP_DELETE
Defined in: <font=>font.$>.h
Declaration: #define font_BITMAP_DELETE ((<font_bitmap_type>) 8)font_CHARACTERISTIC_OLD_FORMAT
Defined in: <font=>font.$>.h
Declaration: #define font_CHARACTERISTIC_OLD_FORMAT ((<font_characteristic_flags>) 1)font_CHARACTERISTIC_ROM
Defined in: <font=>font.$>.h
Declaration: #define font_CHARACTERISTIC_ROM ((<font_characteristic_flags>) 2)font_CHARACTERISTIC_MONOCHROME
Defined in: <font=>font.$>.h
Declaration: #define font_CHARACTERISTIC_MONOCHROME ((<font_characteristic_flags>) 4)font_CHARACTERISTIC_FILL_RULE_NON_ZERO
Defined in: <font=>font.$>.h
Declaration: #define font_CHARACTERISTIC_FILL_RULE_NON_ZERO ((<font_characteristic_flags>) 8)font_RETURN_FONT_NAME
Defined in: <font=>font.$>.h
Declaration: #define font_RETURN_FONT_NAME ((<font_list_context>) 65536)font_RETURN_LOCAL_FONT_NAME
Defined in: <font=>font.$>.h
Declaration: #define font_RETURN_LOCAL_FONT_NAME ((<font_list_context>) 131072)font_USE_LINEFEED
Defined in: <font=>font.$>.h
Declaration: #define font_USE_LINEFEED ((<font_list_context>) 262144)font_RETURN_FONT_MENU
Defined in: <font=>font.$>.h
Declaration: #define font_RETURN_FONT_MENU ((<font_list_context>) 524288)font_ALLOW_SYSTEM_FONT
Defined in: <font=>font.$>.h
Declaration: #define font_ALLOW_SYSTEM_FONT ((<font_list_context>) 1048576)font_GIVEN_TICK
Defined in: <font=>font.$>.h
Declaration: #define font_GIVEN_TICK ((<font_list_context>) 2097152)font_RETURN_ENCODING_MENU
Defined in: <font=>font.$>.h
Declaration: #define font_RETURN_ENCODING_MENU ((<font_list_context>) 4718592)font_TICK_NONE
Defined in: <font=>font.$>.h
Declaration: #define font_TICK_NONE ((char *) 0)font_TICK_SYSTEM_FONT
Defined in: <font=>font.$>.h
Declaration: #define font_TICK_SYSTEM_FONT ((char *) 1)font_KERN_NO_BBOXES
Defined in: <font=>font.$>.h
Declaration: #define font_KERN_NO_BBOXES ((<font_kern_flags>) 1)font_KERN_NO_XOFFSETS
Defined in: <font=>font.$>.h
Declaration: #define font_KERN_NO_XOFFSETS ((<font_kern_flags>) 2)font_KERN_NO_YOFFSETS
Defined in: <font=>font.$>.h
Declaration: #define font_KERN_NO_YOFFSETS ((<font_kern_flags>) 4)font_METRICS_KERN_YONLY
Defined in: <font=>font.$>.h
Declaration: #define font_METRICS_KERN_YONLY ((<font_metric_flags>) 2)font_METRICS_KERN_XONLY
Defined in: <font=>font.$>.h
Declaration: #define font_METRICS_KERN_XONLY ((<font_metric_flags>) 4)font_METRICS_MANY_KERN_PAIRS
Defined in: <font=>font.$>.h
Declaration: #define font_METRICS_MANY_KERN_PAIRS ((<font_metric_flags>) 8)font_GIVEN_ENCODING_MENU
Defined in: <font=>font.$>.h
Declaration: #define font_GIVEN_ENCODING_MENU 0x1uxfont_cache_addr
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_cache_addr (int *version,
int *cache_size,
int *cache_used);
Description: Gets the version number, font cache size and amount used
Exit: version (R0)
cache_size (R2)
cache_used (R3)font_cache_addr
Defined in: <font=>font.$>.h
Declaration: extern void font_cache_addr (int *version,
int *cache_size,
int *cache_used);
Description: Gets the version number, font cache size and amount used
Exit: version (R0)
cache_size (R2)
cache_used (R3)xfont_find_font
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_find_font (char const *font_name,
int xsize,
int ysize,
int xres,
int yres,
<font_f> *font,
int *xres_out,
int *yres_out);
Description: Gets the handle for a font
Entry: font_name (R1)
xsize (R2)
ysize (R3)
xres (R4)
yres (R5)
Exit: font (R0)
xres_out (R4)
yres_out (R5)font_find_font
Defined in: <font=>font.$>.h
Declaration: extern <font_f> font_find_font (char const *font_name,
int xsize,
int ysize,
int xres,
int yres,
int *xres_out,
int *yres_out);
Description: Gets the handle for a font
Entry: font_name (R1)
xsize (R2)
ysize (R3)
xres (R4)
yres (R5)
Exit: xres_out (R4)
yres_out (R5)
Returns: font (R0)xfont_lose_font
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_lose_font (<font_f> font);
Description: Finishes use of a font
Entry: font (R0)font_lose_font
Defined in: <font=>font.$>.h
Declaration: extern void font_lose_font (<font_f> font);
Description: Finishes use of a font
Entry: font (R0)xfont_read_defn
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_read_defn (<font_f> font,
int *xsize,
int *ysize,
int *xres,
int *yres,
int *age,
int *usage_count);
Description: Reads details about a font
Entry: font (R0)
Exit: xsize (R2)
ysize (R3)
xres (R4)
yres (R5)
age (R6)
usage_count (R7)font_read_defn
Defined in: <font=>font.$>.h
Declaration: extern void font_read_defn (<font_f> font,
int *xsize,
int *ysize,
int *xres,
int *yres,
int *age,
int *usage_count);
Description: Reads details about a font
Entry: font (R0)
Exit: xsize (R2)
ysize (R3)
xres (R4)
yres (R5)
age (R6)
usage_count (R7)xfont_read_identifier
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_read_identifier (<font_f> font,
byte *buffer,
int *used);
Description: Reads the full font identifier
Entry: font (R0)
buffer (R1)
Exit: used (R2)font_read_identifier
Defined in: <font=>font.$>.h
Declaration: extern int font_read_identifier (<font_f> font,
byte *buffer);
Description: Reads the full font identifier
Entry: font (R0)
buffer (R1)
Returns: used (R2)xfont_read_info
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_read_info (<font_f> font,
int *x0,
int *y0,
int *x1,
int *y1);
Description: Gets the font bounding box
Entry: font (R0)
Exit: x0 (R1)
y0 (R2)
x1 (R3)
y1 (R4)font_read_info
Defined in: <font=>font.$>.h
Declaration: extern void font_read_info (<font_f> font,
int *x0,
int *y0,
int *x1,
int *y1);
Description: Gets the font bounding box
Entry: font (R0)
Exit: x0 (R1)
y0 (R2)
x1 (R3)
y1 (R4)xfont_string_width
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_string_width (char const *s,
int xmax,
int ymax,
int split,
int length,
char **split_point,
int *x,
int *y,
int *length_out,
int *index_out);
Description: Calculates how wide a string would be in the current font (prefer Font_ScanString)
Entry: s (R1)
xmax (R2)
ymax (R3)
split (R4)
length (R5)
Exit: split_point (R1)
x (R2)
y (R3)
length_out (R4)
index_out (R5)font_string_width
Defined in: <font=>font.$>.h
Declaration: extern void font_string_width (char const *s,
int xmax,
int ymax,
int split,
int length,
char **split_point,
int *x,
int *y,
int *length_out,
int *index_out);
Description: Calculates how wide a string would be in the current font (prefer Font_ScanString)
Entry: s (R1)
xmax (R2)
ymax (R3)
split (R4)
length (R5)
Exit: split_point (R1)
x (R2)
y (R3)
length_out (R4)
index_out (R5)xfont_paint
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_paint (<font_f> font,
char const *string,
<font_string_flags> flags,
int xpos,
int ypos,
<font_paint_block> const *block,
<os_trfm=>os.os_trfm> const *trfm,
int length);
Description: Writes a string to the screen
Entry: font (R0)
string (R1)
flags (R2)
xpos (R3)
ypos (R4)
block (R5)
trfm (R6)
length (R7)font_paint
Defined in: <font=>font.$>.h
Declaration: extern void font_paint (<font_f> font,
char const *string,
<font_string_flags> flags,
int xpos,
int ypos,
<font_paint_block> const *block,
<os_trfm=>os.os_trfm> const *trfm,
int length);
Description: Writes a string to the screen
Entry: font (R0)
string (R1)
flags (R2)
xpos (R3)
ypos (R4)
block (R5)
trfm (R6)
length (R7)xfont_caret
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_caret (<os_colour_number=>os.os_colour_number> colour_number,
int height,
<font_string_flags> unit_flags,
int x,
int y);
Description: Defines text cursor for Font Manager
Entry: colour_number (R0)
height (R1)
unit_flags (R2)
x (R3)
y (R4)font_caret
Defined in: <font=>font.$>.h
Declaration: extern void font_caret (<os_colour_number=>os.os_colour_number> colour_number,
int height,
<font_string_flags> unit_flags,
int x,
int y);
Description: Defines text cursor for Font Manager
Entry: colour_number (R0)
height (R1)
unit_flags (R2)
x (R3)
y (R4)xfont_convertto_os
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_convertto_os (int x,
int y,
int *x_out,
int *y_out);
Description: Converts internal coordinates to OS coordinates
Entry: x (R1)
y (R2)
Exit: x_out (R1)
y_out (R2)font_convertto_os
Defined in: <font=>font.$>.h
Declaration: extern void font_convertto_os (int x,
int y,
int *x_out,
int *y_out);
Description: Converts internal coordinates to OS coordinates
Entry: x (R1)
y (R2)
Exit: x_out (R1)
y_out (R2)xfont_converttopoints
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_converttopoints (int x,
int y,
int *x_out,
int *y_out);
Description: Converts OS coordinates to internal coordinates
Entry: x (R1)
y (R2)
Exit: x_out (R1)
y_out (R2)font_converttopoints
Defined in: <font=>font.$>.h
Declaration: extern void font_converttopoints (int x,
int y,
int *x_out,
int *y_out);
Description: Converts OS coordinates to internal coordinates
Entry: x (R1)
y (R2)
Exit: x_out (R1)
y_out (R2)xfont_set_font
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_set_font (<font_f> font);
Description: Selects the font to be subsequently used
Entry: font (R0)font_set_font
Defined in: <font=>font.$>.h
Declaration: extern void font_set_font (<font_f> font);
Description: Selects the font to be subsequently used
Entry: font (R0)xfont_current_font
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_current_font (<font_f> *font,
<os_gcol=>os.os_gcol> *bg_hint,
<os_gcol=>os.os_gcol> *fill,
int *offset);
Description: Gets the current font handle and colours
Exit: font (R0)
bg_hint (R1)
fill (R2)
offset (R3)font_current_font
Defined in: <font=>font.$>.h
Declaration: extern <font_f> font_current_font (<os_gcol=>os.os_gcol> *bg_hint,
<os_gcol=>os.os_gcol> *fill,
int *offset);
Description: Gets the current font handle and colours
Exit: bg_hint (R1)
fill (R2)
offset (R3)
Returns: font (R0)xfont_future_font
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_future_font (<font_f> *font,
<os_gcol=>os.os_gcol> *bg_hint,
<os_gcol=>os.os_gcol> *fill,
int *offset);
Description: Checks font characteristics after Font_StringWidth
Exit: font (R0)
bg_hint (R1)
fill (R2)
offset (R3)font_future_font
Defined in: <font=>font.$>.h
Declaration: extern <font_f> font_future_font (<os_gcol=>os.os_gcol> *bg_hint,
<os_gcol=>os.os_gcol> *fill,
int *offset);
Description: Checks font characteristics after Font_StringWidth
Exit: bg_hint (R1)
fill (R2)
offset (R3)
Returns: font (R0)xfont_find_caret
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_find_caret (char const *s,
int x,
int y,
char **split_point,
int *x_out,
int *y_out,
int *length_out,
int *index_out);
Description: Finds where the caret is in a string
Entry: s (R1)
x (R2)
y (R3)
Exit: split_point (R1)
x_out (R2)
y_out (R3)
length_out (R4)
index_out (R5)font_find_caret
Defined in: <font=>font.$>.h
Declaration: extern void font_find_caret (char const *s,
int x,
int y,
char **split_point,
int *x_out,
int *y_out,
int *length_out,
int *index_out);
Description: Finds where the caret is in a string
Entry: s (R1)
x (R2)
y (R3)
Exit: split_point (R1)
x_out (R2)
y_out (R3)
length_out (R4)
index_out (R5)xfont_char_bbox
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_char_bbox (<font_f> font,
char c,
<font_string_flags> unit_flags,
int *x0,
int *y0,
int *x1,
int *y1);
Description: Gets the bounding box of a character
Entry: font (R0)
c (R1)
unit_flags (R2)
Exit: x0 (R1)
y0 (R2)
x1 (R3)
y1 (R4)font_char_bbox
Defined in: <font=>font.$>.h
Declaration: extern void font_char_bbox (<font_f> font,
char c,
<font_string_flags> unit_flags,
int *x0,
int *y0,
int *x1,
int *y1);
Description: Gets the bounding box of a character
Entry: font (R0)
c (R1)
unit_flags (R2)
Exit: x0 (R1)
y0 (R2)
x1 (R3)
y1 (R4)xfont_read_scale_factor
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_read_scale_factor (int *xfactor,
int *yfactor);
Description: Reads the internal to OS conversion factor
Exit: xfactor (R1)
yfactor (R2)font_read_scale_factor
Defined in: <font=>font.$>.h
Declaration: extern void font_read_scale_factor (int *xfactor,
int *yfactor);
Description: Reads the internal to OS conversion factor
Exit: xfactor (R1)
yfactor (R2)xfont_set_scale_factor
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_set_scale_factor (int xfactor,
int yfactor);
Description: Sets the internal to OS conversion factor
Entry: xfactor (R1)
yfactor (R2)font_set_scale_factor
Defined in: <font=>font.$>.h
Declaration: extern void font_set_scale_factor (int xfactor,
int yfactor);
Description: Sets the internal to OS conversion factor
Entry: xfactor (R1)
yfactor (R2)xfont_list_fonts
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_list_fonts (byte *buffer1,
<font_list_context> context,
int size1,
byte *buffer2,
int size2,
char const *tick_font,
<font_list_context> *context_out,
int *used1,
int *used2);
Description: Scans for fonts, returning their identifiers one at a time; or or builds a menu of fonts
Entry: buffer1 (R1)
context (R2)
size1 (R3)
buffer2 (R4)
size2 (R5)
tick_font (R6)
Exit: context_out (R2)
used1 (R3)
used2 (R5)font_list_fonts
Defined in: <font=>font.$>.h
Declaration: extern <font_list_context> font_list_fonts (byte *buffer1,
<font_list_context> context,
int size1,
byte *buffer2,
int size2,
char const *tick_font,
int *used1,
int *used2);
Description: Scans for fonts, returning their identifiers one at a time; or or builds a menu of fonts
Entry: buffer1 (R1)
context (R2)
size1 (R3)
buffer2 (R4)
size2 (R5)
tick_font (R6)
Exit: used1 (R3)
used2 (R5)
Returns: context_out (R2)xfont_set_font_colours
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_set_font_colours (<font_f> font,
<os_gcol=>os.os_gcol> bg_hint,
<os_gcol=>os.os_gcol> fill,
int offset);
Description: Changes the current colours and (optionally) the current font (prefer ColourTrans_SetFontColours)
Entry: font (R0)
bg_hint (R1)
fill (R2)
offset (R3)font_set_font_colours
Defined in: <font=>font.$>.h
Declaration: extern void font_set_font_colours (<font_f> font,
<os_gcol=>os.os_gcol> bg_hint,
<os_gcol=>os.os_gcol> fill,
int offset);
Description: Changes the current colours and (optionally) the current font (prefer ColourTrans_SetFontColours)
Entry: font (R0)
bg_hint (R1)
fill (R2)
offset (R3)xfont_set_palette
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_set_palette (<os_gcol=>os.os_gcol> bg_hint,
<os_gcol=>os.os_gcol> fill,
int offset,
<os_colour=>os.os_colour> bg_hint_out,
<os_colour=>os.os_colour> fill_out);
Description: Defines the anti-alias palette
Entry: bg_hint (R1)
fill (R2)
offset (R3)
bg_hint_out (R4)
fill_out (R5)font_set_palette
Defined in: <font=>font.$>.h
Declaration: extern void font_set_palette (<os_gcol=>os.os_gcol> bg_hint,
<os_gcol=>os.os_gcol> fill,
int offset,
<os_colour=>os.os_colour> bg_hint_out,
<os_colour=>os.os_colour> fill_out);
Description: Defines the anti-alias palette
Entry: bg_hint (R1)
fill (R2)
offset (R3)
bg_hint_out (R4)
fill_out (R5)xfont_set_true_palette
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_set_true_palette (<os_gcol=>os.os_gcol> bg_hint,
<os_gcol=>os.os_gcol> fill,
int offset,
<os_colour=>os.os_colour> bg_hint_out,
<os_colour=>os.os_colour> fill_out);
Description: Defines the anti-alias palette with true colour values
Entry: bg_hint (R1)
fill (R2)
offset (R3)
bg_hint_out (R4)
fill_out (R5)font_set_true_palette
Defined in: <font=>font.$>.h
Declaration: extern void font_set_true_palette (<os_gcol=>os.os_gcol> bg_hint,
<os_gcol=>os.os_gcol> fill,
int offset,
<os_colour=>os.os_colour> bg_hint_out,
<os_colour=>os.os_colour> fill_out);
Description: Defines the anti-alias palette with true colour values
Entry: bg_hint (R1)
fill (R2)
offset (R3)
bg_hint_out (R4)
fill_out (R5)xfont_read_thresholds
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_read_thresholds (<font_thresholds> *buffer);
Description: Reads the list of threshold values for painting
Entry: buffer (R1)font_read_thresholds
Defined in: <font=>font.$>.h
Declaration: extern void font_read_thresholds (<font_thresholds> *buffer);
Description: Reads the list of threshold values for painting
Entry: buffer (R1)xfont_set_thresholds
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_set_thresholds (<font_thresholds> const *thresholds);
Description: Defines the list of threshold values for painting
Entry: thresholds (R1)font_set_thresholds
Defined in: <font=>font.$>.h
Declaration: extern void font_set_thresholds (<font_thresholds> const *thresholds);
Description: Defines the list of threshold values for painting
Entry: thresholds (R1)xfont_find_caretj
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_find_caretj (char const *s,
int x,
int y,
int xjust,
int yjust,
char **split_point,
int *x_out,
int *y_out,
int *length_out,
int *index_out);
Description: Finds where the caret is in a justified string
Entry: s (R1)
x (R2)
y (R3)
xjust (R4)
yjust (R5)
Exit: split_point (R1)
x_out (R2)
y_out (R3)
length_out (R4)
index_out (R5)font_find_caretj
Defined in: <font=>font.$>.h
Declaration: extern void font_find_caretj (char const *s,
int x,
int y,
int xjust,
int yjust,
char **split_point,
int *x_out,
int *y_out,
int *length_out,
int *index_out);
Description: Finds where the caret is in a justified string
Entry: s (R1)
x (R2)
y (R3)
xjust (R4)
yjust (R5)
Exit: split_point (R1)
x_out (R2)
y_out (R3)
length_out (R4)
index_out (R5)xfont_string_bbox
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_string_bbox (char const *s,
int *x0,
int *y0,
int *x1,
int *y1);
Description: Measures the size of a string (prefer Font_ScanString)
Entry: s (R1)
Exit: x0 (R1)
y0 (R2)
x1 (R3)
y1 (R4)font_string_bbox
Defined in: <font=>font.$>.h
Declaration: extern void font_string_bbox (char const *s,
int *x0,
int *y0,
int *x1,
int *y1);
Description: Measures the size of a string (prefer Font_ScanString)
Entry: s (R1)
Exit: x0 (R1)
y0 (R2)
x1 (R3)
y1 (R4)xfont_read_colour_table
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_read_colour_table (<font_colour_table> const *colour_table);
Description: Reads the anti-alias colour table
Entry: colour_table (R1)font_read_colour_table
Defined in: <font=>font.$>.h
Declaration: extern void font_read_colour_table (<font_colour_table> const *colour_table);
Description: Reads the anti-alias colour table
Entry: colour_table (R1)xfont_make_bitmap
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_make_bitmap (char const *font_name,
int xsize,
int ysize,
int xres,
int yres,
<font_bitmap_type> flags);
Description: Make a font bitmap file
Entry: font_name (R1)
xsize (R2)
ysize (R3)
xres (R4)
yres (R5)
flags (R6)font_make_bitmap
Defined in: <font=>font.$>.h
Declaration: extern void font_make_bitmap (char const *font_name,
int xsize,
int ysize,
int xres,
int yres,
<font_bitmap_type> flags);
Description: Make a font bitmap file
Entry: font_name (R1)
xsize (R2)
ysize (R3)
xres (R4)
yres (R5)
flags (R6)xfont_un_cache_file
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_un_cache_file (char const *file_name,
bool recache);
Description: Deletes font cache information, or recaches it
Entry: file_name (R0)
recache (R1)font_un_cache_file
Defined in: <font=>font.$>.h
Declaration: extern void font_un_cache_file (char const *file_name,
bool recache);
Description: Deletes font cache information, or recaches it
Entry: file_name (R0)
recache (R1)xfont_set_font_max
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_set_font_max (int font_max,
int font_max1,
int font_max2,
int font_max3,
int font_max4,
int font_max5);
Description: Sets the FontMax values
Entry: font_max (R0)
font_max1 (R1)
font_max2 (R2)
font_max3 (R3)
font_max4 (R4)
font_max5 (R5)font_set_font_max
Defined in: <font=>font.$>.h
Declaration: extern void font_set_font_max (int font_max,
int font_max1,
int font_max2,
int font_max3,
int font_max4,
int font_max5);
Description: Sets the FontMax values
Entry: font_max (R0)
font_max1 (R1)
font_max2 (R2)
font_max3 (R3)
font_max4 (R4)
font_max5 (R5)xfont_read_font_max
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_read_font_max (int *font_max,
int *font_max1,
int *font_max2,
int *font_max3,
int *font_max4,
int *font_max5);
Description: Reads the FontMax values
Exit: font_max (R0)
font_max1 (R1)
font_max2 (R2)
font_max3 (R3)
font_max4 (R4)
font_max5 (R5)font_read_font_max
Defined in: <font=>font.$>.h
Declaration: extern void font_read_font_max (int *font_max,
int *font_max1,
int *font_max2,
int *font_max3,
int *font_max4,
int *font_max5);
Description: Reads the FontMax values
Exit: font_max (R0)
font_max1 (R1)
font_max2 (R2)
font_max3 (R3)
font_max4 (R4)
font_max5 (R5)xfont_read_font_prefix
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_read_font_prefix (<font_f> font,
char *buffer,
int size,
char **end);
Description: Finds the directory prefix for a given font handle
Entry: font (R0)
buffer (R1)
size (R2)
Exit: end (R1)font_read_font_prefix
Defined in: <font=>font.$>.h
Declaration: extern char *font_read_font_prefix (<font_f> font,
char *buffer,
int size);
Description: Finds the directory prefix for a given font handle
Entry: font (R0)
buffer (R1)
size (R2)
Returns: end (R1)xfont_switch_output_to_buffer
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_switch_output_to_buffer (bits flags,
byte *buffer,
char **end);
Description: Switches output to a buffer, creating a Draw file structure
Entry: flags (R0)
buffer (R1)
Exit: end (R1)font_switch_output_to_buffer
Defined in: <font=>font.$>.h
Declaration: extern char *font_switch_output_to_buffer (bits flags,
byte *buffer);
Description: Switches output to a buffer, creating a Draw file structure
Entry: flags (R0)
buffer (R1)
Returns: end (R1)xfont_read_font_metrics
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_read_font_metrics (<font_f> font,
<font_bbox_info> *bbox_info,
<font_width_info> *xwidth_info,
<font_width_info> *ywidth_info,
<font_misc_info> *misc_info,
<font_kern_info> *kern_info,
<font_metric_flags> *flags,
int *bbox_info_size,
int *xwidth_info_size,
int *ywidth_info_size,
int *misc_info_size,
int *kern_info_size);
Description: Reads the full metrics information held in a font's IntMetrics file
Entry: font (R0)
bbox_info (R1)
xwidth_info (R2)
ywidth_info (R3)
misc_info (R4)
kern_info (R5)
Exit: flags (R0)
bbox_info_size (R1)
xwidth_info_size (R2)
ywidth_info_size (R3)
misc_info_size (R4)
kern_info_size (R5)font_read_font_metrics
Defined in: <font=>font.$>.h
Declaration: extern void font_read_font_metrics (<font_f> font,
<font_bbox_info> *bbox_info,
<font_width_info> *xwidth_info,
<font_width_info> *ywidth_info,
<font_misc_info> *misc_info,
<font_kern_info> *kern_info,
<font_metric_flags> *flags,
int *bbox_info_size,
int *xwidth_info_size,
int *ywidth_info_size,
int *misc_info_size,
int *kern_info_size);
Description: Reads the full metrics information held in a font's IntMetrics file
Entry: font (R0)
bbox_info (R1)
xwidth_info (R2)
ywidth_info (R3)
misc_info (R4)
kern_info (R5)
Exit: flags (R0)
bbox_info_size (R1)
xwidth_info_size (R2)
ywidth_info_size (R3)
misc_info_size (R4)
kern_info_size (R5)xfont_decode_menu
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_decode_menu (<font_decode_flags> flags,
byte const *menu,
byte const *block,
byte *buffer,
int size,
int **next_selection,
int *used);
Description: Decode a selection made from a font menu
Entry: flags (R0)
menu (R1)
block (R2)
buffer (R3)
size (R4)
Exit: next_selection (R3)
used (R4)font_decode_menu
Defined in: <font=>font.$>.h
Declaration: extern void font_decode_menu (<font_decode_flags> flags,
byte const *menu,
byte const *block,
byte *buffer,
int size,
int **next_selection,
int *used);
Description: Decode a selection made from a font menu
Entry: flags (R0)
menu (R1)
block (R2)
buffer (R3)
size (R4)
Exit: next_selection (R3)
used (R4)xfont_scan_string
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_scan_string (<font_f> font,
char const *s,
<font_string_flags> flags,
int x,
int y,
<font_scan_block> const *block,
<os_trfm=>os.os_trfm> const *trfm,
int length,
char **split_point,
int *x_out,
int *y_out,
int *length_out);
Description: Returns information on a string
Entry: font (R0)
s (R1)
flags (R2)
x (R3)
y (R4)
block (R5)
trfm (R6)
length (R7)
Exit: split_point (R1)
x_out (R3)
y_out (R4)
length_out (R7)font_scan_string
Defined in: <font=>font.$>.h
Declaration: extern void font_scan_string (<font_f> font,
char const *s,
<font_string_flags> flags,
int x,
int y,
<font_scan_block> const *block,
<os_trfm=>os.os_trfm> const *trfm,
int length,
char **split_point,
int *x_out,
int *y_out,
int *length_out);
Description: Returns information on a string
Entry: font (R0)
s (R1)
flags (R2)
x (R3)
y (R4)
block (R5)
trfm (R6)
length (R7)
Exit: split_point (R1)
x_out (R3)
y_out (R4)
length_out (R7)xfont_set_colour_table
For internal use onlyfont_set_colour_table
For internal use onlyxfont_current_rgb
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_current_rgb (<font_f> *font,
<os_colour=>os.os_colour> *bg_hint,
<os_colour=>os.os_colour> *fill,
int *offset);
Description: Reads the settings of colours after calling Font_Paint
Exit: font (R0)
bg_hint (R1)
fill (R2)
offset (R3)font_current_rgb
Defined in: <font=>font.$>.h
Declaration: extern <font_f> font_current_rgb (<os_colour=>os.os_colour> *bg_hint,
<os_colour=>os.os_colour> *fill,
int *offset);
Description: Reads the settings of colours after calling Font_Paint
Exit: bg_hint (R1)
fill (R2)
offset (R3)
Returns: font (R0)xfont_future_rgb
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_future_rgb (<font_f> *font,
<os_colour=>os.os_colour> *bg_hint,
<os_colour=>os.os_colour> *fill,
int *offset);
Description: Reads the settings of colours after calling various Font... SWI's
Exit: font (R0)
bg_hint (R1)
fill (R2)
offset (R3)font_future_rgb
Defined in: <font=>font.$>.h
Declaration: extern <font_f> font_future_rgb (<os_colour=>os.os_colour> *bg_hint,
<os_colour=>os.os_colour> *fill,
int *offset);
Description: Reads the settings of colours after calling various Font... SWI's
Exit: bg_hint (R1)
fill (R2)
offset (R3)
Returns: font (R0)xfont_read_encoding_filename
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_read_encoding_filename (<font_f> font,
char *buffer,
int size,
char **end);
Description: Returns the file name of the encoding file used for a given font handle
Entry: font (R0)
buffer (R1)
size (R2)
Exit: end (R1)font_read_encoding_filename
Defined in: <font=>font.$>.h
Declaration: extern char *font_read_encoding_filename (<font_f> font,
char *buffer,
int size);
Description: Returns the file name of the encoding file used for a given font handle
Entry: font (R0)
buffer (R1)
size (R2)
Returns: end (R1)xfont_find_field
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_find_field (char const *identifier,
char qualifier,
char **field,
bool *found);
Description: Returns a pointer to a specified field within a font identifier
Entry: identifier (R0)
qualifier (R2)
Exit: field (R1)
found (R2)font_find_field
Defined in: <font=>font.$>.h
Declaration: extern bool font_find_field (char const *identifier,
char qualifier,
char **field);
Description: Returns a pointer to a specified field within a font identifier
Entry: identifier (R0)
qualifier (R2)
Exit: field (R1)
Returns: found (R2)xfont_apply_fields
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_apply_fields (char const *identifier,
char const *fields,
char *buffer,
int size,
int *spare);
Description: Merges a new set of fields with those already in a given font identifier
Entry: identifier (R0)
fields (R1)
buffer (R2)
size (R3)
Exit: spare (R3)font_apply_fields
Defined in: <font=>font.$>.h
Declaration: extern int font_apply_fields (char const *identifier,
char const *fields,
char *buffer,
int size);
Description: Merges a new set of fields with those already in a given font identifier
Entry: identifier (R0)
fields (R1)
buffer (R2)
size (R3)
Returns: spare (R3)xfont_lookup_font
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xfont_lookup_font (<font_f> font,
<font_characteristic_flags> *flags);
Description: Returns information about a given font
Entry: font (R0)
Exit: flags (R2)font_lookup_font
Defined in: <font=>font.$>.h
Declaration: extern <font_characteristic_flags> font_lookup_font (<font_f> font);
Description: Returns information about a given font
Entry: font (R0)
Returns: flags (R2)xservice_fonts_changed
Defined in: <font=>font.$>.h
Declaration: extern <os_error=>os.os_error> *xservice_fonts_changed (void);
Description: New Font$Path detectedservice_fonts_changed
Defined in: <font=>font.$>.h
Declaration: extern void service_fonts_changed (void);
Description: New Font$Path detectedFont
<font_string_flags>
<font_f>
<font_paint_block>
<font_scan_block>
<font_thresholds>
<font_colour_table>
<font_bitmap_type>
<font_characteristic_flags>
<font_list_context>
<font_kern_flags>
<font_metric_flags>
<font_bbox_info>
<font_width_info>
<font_misc_info>
<font_short_kern_pair>
<font_long_kern_pair>
<font_kern_info>
<font_decode_flags>
<font_OS_UNIT>
<font_INCH>
<font_POINT>
<font_COMMAND_NULL>
<font_COMMAND_XMOVE>
<font_COMMAND_LINEFEED>
<font_COMMAND_YMOVE>
<font_COMMAND_RETURN>
<font_COMMAND_GCOL>
<font_COMMAND_COLOURS>
<font_COMMAND_TRUE_COLOURS>
<font_COMMAND_COMMENT>
<font_COMMAND_UNDERLINE>
<font_COMMAND_FONT>
<font_COMMAND_HOM_TRFM>
<font_COMMAND_TRFM>
<font_JUSTIFY>
<font_RUBOUT>
<font_OS_UNITS>
<font_GIVEN_BLOCK>
<font_GIVEN_TRFM>
<font_GIVEN_LENGTH>
<font_GIVEN_FONT>
<font_KERN>
<font_RIGHT_TO_LEFT>
<font_RETURN_CARET_POS>
<font_RETURN_BBOX>
<font_RETURN_MATRIX>
<font_RETURN_SPLIT_COUNT>
<font_NO_OUTPUT>
<font_ADD_HINTS>
<font_OUTPUT_SKELETON>
<font_CONVERT_BITMAP>
<font_ERROR_IF_BITMAP>
<error_FONT_NO_ROOM>
<error_FONT_CACHE_FULL>
<error_FONT_NO_CACHE>
<error_FONT_TOO_LONG>
<error_FONT64K>
<error_FONT_PAL_TOO_BIG>
<error_FONT_BAD_TRAN_BITS>
<error_FONT_NOT_ENOUGH_BITS>
<error_FONT_NO_FONT>
<error_FONT_NO_PIXELS>
<error_FONT_BAD_FONT_NUMBER>
<error_FONT_NOT_FOUND>
<error_FONT_BAD_FONT_FILE>
<error_FONT_NO_HANDLES>
<error_FONT_BAD_COUNTER>
<error_FONT_BAD_CTRL_CHAR>
<error_FONTS_IN_USE>
<error_FONT_BAD_SEGMENT>
<error_FONT_BAD_PREFIX>
<error_FONT_RESERVED>
<error_FONT_BAD_CHAR_CODE>
<error_FONT_NO_BITMAPS>
<error_FONT_NO_BITMAPS2>
<error_FONT_BAD_FONT_CACHE_FILE>
<error_FONT_FIELD_NOT_FOUND>
<error_FONT_BAD_MATRIX>
<error_FONT_OVERFLOW>
<error_FONT_DIVBY0>
<error_FONT_BAD_READ_METRICS>
<error_FONT_BAD_RGB>
<error_FONT_ENCODING_NOT_FOUND>
<error_FONT_MUST_HAVE_SLASH>
<error_FONT_BAD_ENCODING_SIZE>
<error_FONT_TOO_MANY_IDS>
<error_FONT_TOO_FEW_IDS>
<error_FONT_NO_BASE_ENCODING>
<error_FONT_IDENTIFIER_NOT_FOUND>
<error_FONT_TOO_MANY_CHUNKS>
<error_FONT_BAD_FONT_FILE2>
<error_FONT_DATA_NOT_FOUND>
<error_FONT_DATA_NOT_FOUND2>
<font_NAME_LIMIT>
<font_SYSTEM>
<font_CURRENT>
<font_BITMAP_DEEP>
<font_BITMAP_HORIZONTAL_SUB_PIXEL>
<font_BITMAP_VERTICAL_SUB_PIXEL>
<font_BITMAP_DELETE>
<font_CHARACTERISTIC_OLD_FORMAT>
<font_CHARACTERISTIC_ROM>
<font_CHARACTERISTIC_MONOCHROME>
<font_CHARACTERISTIC_FILL_RULE_NON_ZERO>
<font_RETURN_FONT_NAME>
<font_RETURN_LOCAL_FONT_NAME>
<font_USE_LINEFEED>
<font_RETURN_FONT_MENU>
<font_ALLOW_SYSTEM_FONT>
<font_GIVEN_TICK>
<font_RETURN_ENCODING_MENU>
<font_TICK_NONE>
<font_TICK_SYSTEM_FONT>
<font_KERN_NO_BBOXES>
<font_KERN_NO_XOFFSETS>
<font_KERN_NO_YOFFSETS>
<font_METRICS_KERN_YONLY>
<font_METRICS_KERN_XONLY>
<font_METRICS_MANY_KERN_PAIRS>
<font_GIVEN_ENCODING_MENU>
<xfont_cache_addr>
<font_cache_addr>
<xfont_find_font>
<font_find_font>
<xfont_lose_font>
<font_lose_font>
<xfont_read_defn>
<font_read_defn>
<xfont_read_identifier>
<font_read_identifier>
<xfont_read_info>
<font_read_info>
<xfont_string_width>
<font_string_width>
<xfont_paint>
<font_paint>
<xfont_caret>
<font_caret>
<xfont_convertto_os>
<font_convertto_os>
<xfont_converttopoints>
<font_converttopoints>
<xfont_set_font>
<font_set_font>
<xfont_current_font>
<font_current_font>
<xfont_future_font>
<font_future_font>
<xfont_find_caret>
<font_find_caret>
<xfont_char_bbox>
<font_char_bbox>
<xfont_read_scale_factor>
<font_read_scale_factor>
<xfont_set_scale_factor>
<font_set_scale_factor>
<xfont_list_fonts>
<font_list_fonts>
<xfont_set_font_colours>
<font_set_font_colours>
<xfont_set_palette>
<font_set_palette>
<xfont_set_true_palette>
<font_set_true_palette>
<xfont_read_thresholds>
<font_read_thresholds>
<xfont_set_thresholds>
<font_set_thresholds>
<xfont_find_caretj>
<font_find_caretj>
<xfont_string_bbox>
<font_string_bbox>
<xfont_read_colour_table>
<font_read_colour_table>
<xfont_make_bitmap>
<font_make_bitmap>
<xfont_un_cache_file>
<font_un_cache_file>
<xfont_set_font_max>
<font_set_font_max>
<xfont_read_font_max>
<font_read_font_max>
<xfont_read_font_prefix>
<font_read_font_prefix>
<xfont_switch_output_to_buffer>
<font_switch_output_to_buffer>
<xfont_read_font_metrics>
<font_read_font_metrics>
<xfont_decode_menu>
<font_decode_menu>
<xfont_scan_string>
<font_scan_string>
<xfont_set_colour_table>
<font_set_colour_table>
<xfont_current_rgb>
<font_current_rgb>
<xfont_future_rgb>
<font_future_rgb>
<xfont_read_encoding_filename>
<font_read_encoding_filename>
<xfont_find_field>
<font_find_field>
<xfont_apply_fields>
<font_apply_fields>
<xfont_lookup_font>
<font_lookup_font>
<xservice_fonts_changed>
<service_fonts_changed>