This package does not provide any new widget. Rather, it gives a set of subprogram for postscript font handling, and is used by most of the Gtk.Extra.* packages.
The following is the name of the 35 default Adobe fonts:
Types |
---|
type Gtk_PsFont is new Gdk.C_Proxy; | |
A postscript font.
|
Subprograms |
---|
function Getfont (Name : in String) return Gtk_PsFont; | ||
Return the font structure associated with the font Name.
| ||
function Get_Gdkfont (Name : in String; Height : in Gint) return Gdk.Font.Gdk_Font; | ||
Return the Gdk_Font that matches the postscript font Name. | ||
function Get_Psfontname (Name : in String) return String; | ||
Return the real postscript name of the font. | ||
procedure Add (Fontname : in String; Psname : in String; Family : in String; Xstring : in Gtkada.Types.Chars_Ptr_Array; Italic : in Boolean; Bold : in Boolean); | ||
Add a new font to the list of recognized fonts. | ||
function Find_By_Family (Name : in String; Italic : in Boolean; Bold : in Boolean) return Gtk_PsFont; | ||
Return the first postscript font whose family is Name and whose | ||
function Get_Psname (Font : Gtk_PsFont) return String; | ||
Return the name of the font. | ||
function Init return Gint; | ||
Initialize the internal list for Get_Families. | ||
procedure Unref; | ||
Free the memory used by the internal lists for Get_Families. |