summaryrefslogtreecommitdiff
path: root/modules/hebrew/hebrew-shaper.h
blob: 6b590013a655fb3f4e0eacdd5b2a9215135309e8 (plain)
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
#ifndef HEBREW_SHAPER_H
#define HEBREW_SHAPER_H

char *
hebrew_shaper_get_next_cluster(const char	*text,
			       gint		length,
			       gunichar       *cluster,
			       gint		*num_chrs);

void
hebrew_shaper_get_cluster_kerning(gunichar            *cluster,
				  gint                cluster_length,
				  PangoRectangle      ink_rect[],

				  /* input and output */
				  gint                width[],
				  gint                x_offset[],
				  gint                y_offset[]);

void
hebrew_shaper_swap_range (PangoGlyphString *glyphs,
			  int               start,
			  int               end);

void
hebrew_shaper_bidi_reorder(PangoGlyphString *glyphs);

#endif