I have two fonts installed on my AIX machine:
FONT FILE GLYPH FONT
ID NAME SIZE ENCODING
==== ============== ===== =========
0 Erg22.iso1.snf 12x30 ISO8859-1
1 Erg11.iso1.snf 8x15 ISO8859-1
I want to install more, how to obtain available fonts list ? What filesets I must install ? I'm looking font for IBM-921 charset ?
This one thing that has been on my mind for at least a decade. At times I need a font for a specific purpose, but there is no designer around to guide me. I go to sites that offer fonts and locate one that I think is suitable. There seems to be no common categorisation however, that offers criteria... (5 Replies)
Hi all!
Why the cyrillic fonts which are inside the application window (Openwindows, CDE) displays correct, and the cyrillic font which are top of window (CaptionBar) displays not correct?
This is caption of window.
!#*?":"^& (1 Reply)
Hi gurus,
Interesting little problem here. IVe got an Xmanager installed on my PC. I use it to connect to the DTlogin / CDE sessions I have running on a number of solaris servers.
If I connect to server A, I get the login server, which I log into as root, I then start a terminal session,... (0 Replies)
Hi All,
I'm running RH 7.3 and wish to install new fonts on the box ? What are the steps in downloading and installing new fonts ?
Thanks,
KENT (3 Replies)
Hi,
I have a Barcode printer.
It's defined as a remote printer on the system.
The /etc/lp/interface/<printer> file is printing has a part that enables Hebrew printing.
For some reason the Printer is printing in a very small font.
I'll attach the interface file:
#!/usr/bin/sh
# /* @(#)... (3 Replies)
load_dat_font(3alleg4) Allegro manual load_dat_font(3alleg4)NAME
load_dat_font - Loads a FONT from an Allegro datafile.
SYNOPSIS
#include <allegro.h>
FONT *load_dat_font(const char *filename, RGB *pal, void *param)
DESCRIPTION
Loads a FONT from an Allegro datafile. You can set param parameter to point to an array that holds two strings that identify the font and
the palette in the datafile by name. The first string in this list is the name of the font. You can pass NULL here to just load the first
font found in the datafile. The second string can be used to specify the name of the palette associated with the font. This is only
returned if the pal parameter is not NULL. If you pass NULL for the name of the palette, the last palette found before the font was found
is returned. You can also pass NULL for param, which is treated as if you had passed NULL for both strings separately. In this case, the
function will simply load the first font it finds from the datafile and the palette that precedes it.
For example, suppose you have a datafile named `fonts.dat' with the following contents:
FONT FONT_1_DATA
FONT FONT_2_DATA
FONT FONT_3_DATA
PAL FONT_1_PALETTE
PAL FONT_2_PALETTE
Then the following code will load FONT_1_DATA as a FONT and return FONT_1_PALETTE as the palette:
FONT *f;
PALETTE pal;
char *names[] = { "FONT_1_DATA", "FONT_1_PALETTE" }
f = load_dat_font("fonts.dat", pal, names);
If instead you want to load the second font, FONT_2, from the datafile, you would use:
FONT *f;
PALETTE pal;
char *names[] = { "FONT_2_DATA", "FONT_2_PALETTE" }
f = load_dat_font("fonts.dat", pal, names);
If you want to load the third font, but not bother with a palette, use:
FONT *f;
char *names[] = { "FONT_3_DATA", NULL }
f = load_dat_font("fonts.dat", NULL, names);
RETURN VALUE
Returns a pointer to the font or NULL on error. Remember that you are responsible for destroying the font when you are finished with it to
avoid memory leaks.
SEE ALSO register_font_file_type(3alleg4), load_font(3alleg4)Allegro version 4.4.2 load_dat_font(3alleg4)