summaryrefslogtreecommitdiff
path: root/src/encoding.h
blob: 49b4e291b4b6489605d41ce9fc2330f386711713 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _TTF2F_ENCODING_H_
#define _TTF2F_ENCODING_H_

#include "utils.h"

typedef enum encoding_type {
	ENCODING_TYPE_NORMAL,
	ENCODING_TYPE_SPARSE
} encoding_type;

struct glyph;

ttf2f_result encoding_write(const char *savein, const char *name,
		struct glyph *glyph_list, int list_size, encoding_type type,
		void (*callback)(int progress));

#endif