init commit
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/*
|
||||
/**
|
||||
Bidirectional text processing.
|
||||
|
||||
Derived from the SmartOffice code, which is itself derived
|
||||
@@ -21,8 +21,11 @@
|
||||
#define FITZ_BIDI_H
|
||||
|
||||
#include "mupdf/fitz/system.h"
|
||||
#include "mupdf/fitz/context.h"
|
||||
|
||||
typedef enum fz_bidi_direction_e
|
||||
/* Implementation details: subject to change. */
|
||||
|
||||
typedef enum
|
||||
{
|
||||
FZ_BIDI_LTR = 0,
|
||||
FZ_BIDI_RTL = 1,
|
||||
@@ -30,14 +33,14 @@ typedef enum fz_bidi_direction_e
|
||||
}
|
||||
fz_bidi_direction;
|
||||
|
||||
typedef enum fz_bidi_flags_e
|
||||
typedef enum
|
||||
{
|
||||
FZ_BIDI_CLASSIFY_WHITE_SPACE = 1,
|
||||
FZ_BIDI_REPLACE_TAB = 2
|
||||
}
|
||||
fz_bidi_flags;
|
||||
|
||||
/*
|
||||
/**
|
||||
Prototype for callback function supplied to fz_bidi_fragment_text.
|
||||
|
||||
@param fragment first character in fragment
|
||||
@@ -56,7 +59,7 @@ typedef void (fz_bidi_fragment_fn)(const uint32_t *fragment,
|
||||
int script,
|
||||
void *arg);
|
||||
|
||||
/*
|
||||
/**
|
||||
Partitions the given Unicode sequence into one or more
|
||||
unidirectional fragments and invokes the given callback
|
||||
function for each fragment.
|
||||
|
||||
Reference in New Issue
Block a user