2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
5 Desc: Graphics function CloseFont()
8 #include <aros/debug.h>
9 #include "graphics_intern.h"
10 #include <graphics/text.h>
12 /*****************************************************************************
15 #include <graphics/text.h>
16 #include <proto/graphics.h>
18 AROS_LH1(void, CloseFont
,
21 AROS_LHA(struct TextFont
*, textFont
, A1
),
24 struct GfxBase
*, GfxBase
, 13, Graphics
)
30 font - font pointer from OpenFont() or OpenDiskFont()
45 29-10-95 digulla automatically created from
46 graphics_lib.fd and clib/graphics_protos.h
48 *****************************************************************************/
52 if (!textFont
) return;
54 ASSERT_VALID_PTR(textFont
);
57 textFont
->tf_Accessors
--;
58 if ((textFont
->tf_Accessors
== 0) && !(textFont
->tf_Flags
& FPF_ROMFONT
))