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

#include "context.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,
		ttf2f_ctx *ctx, encoding_type type,
		void (*callback)(int progress));

#endif