File: HBF_api.h

package info (click to toggle)
chdrv 1.0.13-0.1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,204 kB
  • ctags: 1,069
  • sloc: ansic: 8,972; perl: 412; asm: 234; makefile: 195; sh: 36
file content (38 lines) | stat: -rw-r--r-- 677 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef __HBF_API_H
#define __HBF_API_H
#include "chinese.h"
#include <stdio.h>
typedef struct
{
  FILE *fp;
  double ver;
  int scheme;
  char *font;
  int wx,wy,dx,dy,fwx,fwy,fdx,fdy;
  char *family_name;
  char *add_style_name;
  unsigned short default_char;
  char *copyright;
  char *notice;
  int chars;
  int numb2range;
  int numcoderange;
  CHAR *b2range;
  unsigned short *coderange;
  unsigned short *codestart;
  int charsofline;
  char **chfile;
  int *chlen;
  FILE **chfp;
  CHAR b2tran[256];
  int sizeb;

} HBF;

#define SCHEME_GB         1
#define SCHEME_BIG5       2
#define SCHEME_BIG5_ETEN  3
#define SCHEME_UNICODE    4
HBF *HBF_OpenFont(char *);

#endif