added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / compiler / include / diskfont / diskfonttag.h
blob7ee5dc67c820563b4bf6874b84b3027643df97e5
1 #ifndef DISKFONT_DISKFONTTAG_H
2 #define DISKFONT_DISKFONTTAG_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Tags for outline font engines and .otag files
9 Lang: english
12 #ifndef EXEC_TYPES_H
13 # include <exec/types.h>
14 #endif
16 #ifndef UTILITY_TAGITEM_H
17 # include <utility/tagitem.h>
18 #endif
20 #define OT_Level0 TAG_USER
21 #define OT_Level1 (TAG_USER | 0x1000)
22 #define OT_Level2 (TAG_USER | 0x2000)
23 #define OT_Level3 (TAG_USER | 0x3000)
24 #define OT_Indirect 0x8000
26 /* Font engine tags */
28 #define OT_DeviceDPI (OT_Level0 | 0x01)
29 #define OT_DotSize (OT_Level0 | 0x02)
30 #define OT_PointHeight (OT_Level0 | 0x08)
31 #define OT_SetFactor (OT_Level0 | 0x09)
32 #define OT_ShearSin (OT_Level0 | 0x0a)
33 #define OT_ShearCos (OT_Level0 | 0x0b)
34 #define OT_RotateSin (OT_Level0 | 0x0c)
35 #define OT_RotateCos (OT_Level0 | 0x0d)
36 #define OT_EmboldenX (OT_Level0 | 0x0e)
37 #define OT_EmboldenY (OT_Level0 | 0x0f)
38 #define OT_PointSize (OT_Level0 | 0x10)
39 #define OT_GlyphCode (OT_Level0 | 0x11)
40 #define OT_GlyphCode2 (OT_Level0 | 0x12)
41 #define OT_GlyphWidth (OT_Level0 | 0x13)
42 #define OT_OTagPath (OT_Level0 | OT_Indirect | 0x14)
43 #define OT_OTagList (OT_Level0 | OT_Indirect | 0x15)
44 #define OT_GlyphMap (OT_Level0 | OT_Indirect | 0x20)
45 #define OT_WidthList (OT_Level0 | OT_Indirect | 0x21)
46 #define OT_TextKernPair (OT_Level0 | OT_Indirect | 0x22)
47 #define OT_DesignKernPair (OT_Level0 | OT_Indirect | 0x23)
48 #define OT_UnderLined (OT_Level0 | 0x24)
49 #define OT_StrikeThrough (OT_Level0 | 0x25)
50 #define OT_GlyphMap8Bits (OT_Level0 | OT_Indirect | 0x50)
52 #define OTUL_None 0
53 #define OTUL_Solid 1
54 #define OTUL_Broken 2
55 #define OTUL_DoubleSolid 3
56 #define OUTL_DoubleBroken 4
58 /* .otag tags */
60 #define OTSUFFIX ".otag"
61 #define OTE_Bullet "bullet"
63 #define OT_FileIdent (OT_Level1 | 0x01)
64 #define OT_Engine (OT_Level1 | OT_Indirect | 0x02)
65 #define OT_Family (OT_Level1 | OT_Indirect | 0x03)
66 #define OT_BName (OT_Level2 | OT_Indirect | 0x05)
67 #define OT_IName (OT_Level2 | OT_Indirect | 0x06)
68 #define OT_BIName (OT_Level2 | OT_Indirect | 0x07)
69 #define OT_SymbolSet (OT_Level1 | 0x10)
70 #define OT_YSizeFactor (OT_Level1 | 0x11)
71 #define OT_SpaceWidth (OT_Level2 | 0x12)
72 #define OT_IsFixed (OT_Level2 | 0x13)
73 #define OT_SerifFlag (OT_Level1 | 0x14)
74 #define OT_StemWeight (OT_Level1 | 0x15)
75 #define OT_SlantStyle (OT_Level1 | 0x16)
76 #define OT_HorizStyle (OT_Level1 | 0x17)
77 #define OT_SpaceFactor (OT_Level2 | 0x18)
78 #define OT_InhibitAlgoStyle (OT_Level2 | 0x19)
79 #define OT_AvailSizes (OT_Level1 | OT_Indirect | 0x20)
81 #define OT_SpecCount (OT_Level1 | 0x100)
82 #define OT_Spec (OT_Level1 | 0x100)
83 #define OT_Spec1 (OT_Level1 | 0x101)
85 #define OTS_UltraThin 8
86 #define OTS_ExtraThin 24
87 #define OTS_Thin 40
88 #define OTS_ExtraLight 56
89 #define OTS_Light 72
90 #define OTS_DemiLight 88
91 #define OTS_SemiLight 104
92 #define OTS_Book 120
93 #define OTS_Medium 136
94 #define OTS_SemiBold 152
95 #define OTS_DemiBold 168
96 #define OTS_Bold 184
97 #define OTS_ExtraBold 200
98 #define OTS_Black 216
99 #define OTS_ExtraBlack 232
100 #define OTS_UltraBlack 248
102 #define OTS_Upright 0
103 #define OTS_Italic 1
104 #define OTS_LeftItalic 2
106 #define OTH_UltraCompressed 16
107 #define OTH_ExtraCompressed 48
108 #define OTH_Compressed 80
109 #define OTH_Condensed 112
110 #define OTH_Normal 144
111 #define OTH_SemiExpanded 176
112 #define OTH_Expanded 208
113 #define OTH_ExtraExpanded 240
115 #define OT_MAXAVAILSIZES 20
117 #endif /* DISKFONT_DISKFONTTAG_H */