summaryrefslogtreecommitdiff
path: root/modules/arabic/langboxfont.h
blob: c2343938f489d971425fab32f48e4862e1739ace (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
/* pango-arabic module 
 * 
 * (C) 2000 K. Koehler  <koehler@or.uni-bonn.de>
 *
 * This file provides a mapping unicode <- langboxfont
 */
#ifndef __lboxfont_h_
#define __lboxfont_h_
#include "pangox.h"
#include "arconv.h"

/* 
 *  create an arabic_fontstruct for the langbox-module
 *  returns: NULL on failure
 */
ArabicFontInfo*
arabic_lboxinit(PangoFont  *font);


/* glyph2 is the next glyph in line; if there is none, put in NULL 
 */
void
arabic_lbox_recode(PangoXSubfont* subfont,gunichar* glyph,gunichar* glyph2,
                   PangoXSubfont* lboxfonts);


#endif