revert between 56095 -> 55830 in arch
[AROS.git] / workbench / system / ftmanager / fontinfo_class.h
blobbd646968dac2c64b99cb11964af05201512130ad
1 #ifndef FONTINFO_CLASS_H
2 #define FONTINFO_CLASS_H
4 #include <diskfont/diskfonttag.h>
6 #define FONTINFO_BASE TAG_USER
7 #define MUIA_FontInfo_Filename (FONTINFO_BASE + 1)
8 #define MUIA_FontInfo_Face (FONTINFO_BASE + 2)
10 #define FONTINFO_MBASE TAG_USER
11 #define MUIM_FontInfo_UpdatePreview (FONTINFO_MBASE + 1)
12 #define MUIM_FontInfo_SetOTags (FONTINFO_MBASE + 2)
13 #define MUIM_FontInfo_WriteFiles (FONTINFO_MBASE + 3)
15 struct MUI_CustomClass *FontInfoClass;
17 #define FontInfoObject NewObject(FontInfoClass->mcc_Class, NULL //)
19 void CleanupFontInfoClass(void);
20 int InitFontInfoClass(void);
23 struct FontInfoData
25 STRPTR Filename;
26 FT_Face Face;
27 Object *AttachedFile;
28 Object *Name;
29 Object *YSizeFactorHigh;
30 Object *YSizeFactorLow;
31 Object *StemWeight;
32 Object *SlantStyle;
33 Object *HorizStyle;
34 Object *Family;
35 Object *Fixed;
36 Object *Serif;
37 //Object *AlgoStyle;
38 Object *FaceNum;
39 Object *Metric;
40 Object *BBoxYMin;
41 Object *BBoxYMax;
42 Object *SpaceWidth;
43 Object *Preview;
44 Object *PreviewGroup;
45 Object *Gray;
46 Object *TestSize;
47 Object *TestString;
48 struct TagItem OTags[26];
49 UWORD AvailSizes[OT_MAXAVAILSIZES];
52 typedef struct FontInfoData FontInfoData;
54 ULONG fiWriteFiles(FontInfoData *dat, STRPTR base, STRPTR target_dir, ULONG size);
56 #endif