| Server IP : 81.2.241.106 / Your IP : 216.73.216.165 Web Server : Apache/2.4.67 (Debian) System : Linux tranq-f.bakta.org 5.10.0-45-amd64 #1 SMP Debian 5.10.259-1 (2026-07-02) x86_64 User : lisky ( 1002) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /proc/thread-self/root/usr/include/fribidi/ |
Upload File : |
/* FriBidi * fribidi-joining.h - Arabic joining algorithm * * Authors: * Behdad Esfahbod, 2004 * * Copyright (C) 2004 Sharif FarsiWeb, Inc * Copyright (C) 2004 Behdad Esfahbod * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this library, in a file named COPYING; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA * * For licensing issues, contact <fribidi.license@gmail.com>. */ #ifndef _FRIBIDI_JOINING_H #define _FRIBIDI_JOINING_H #include "fribidi-common.h" #include "fribidi-types.h" #include "fribidi-bidi-types.h" #include "fribidi-joining-types.h" #include "fribidi-begindecls.h" /* fribidi_join_arabic - do Arabic joining * * This function does the Arabic joining algorithm. Means, given Arabic * joining types of the characters in ar_props (don't worry, * FriBidiJoiningType can be casted to FriBidiArabicProp automagically), this * function modifies this properties to grasp the effect of neighboring * characters. You probably need this information later to do Arabic shaping. * * This function implements rules R1 to R7 inclusive (all rules) of the Arabic * Cursive Joining algorithm of the Unicode standard as available at * http://www.unicode.org/versions/Unicode4.0.0/ch08.pdf#G7462. It also * interacts correctly with the bidirection algorithm as defined in Section * 3.5 Shaping of the Unicode Bidirectional Algorithm available at * http://www.unicode.org/reports/tr9/#Shaping. * * There are a few macros defined in fribidi-joining-types.h for querying the * Arabic properties computed by this function. */ FRIBIDI_ENTRY void fribidi_join_arabic ( const FriBidiCharType *bidi_types, /* input list of bidi types as returned by fribidi_get_bidi_types() */ const FriBidiStrIndex len, /* input string length */ const FriBidiLevel *embedding_levels, /* input list of embedding levels, as returned by fribidi_get_par_embedding_levels */ FriBidiArabicProp *ar_props /* Arabic properties to analyze, initialized by joining types, as returned by fribidi_get_joining_types */ ); #include "fribidi-enddecls.h" #endif /* !_FRIBIDI_JOINING_H */ /* Editor directions: * vim:textwidth=78:tabstop=8:shiftwidth=2:autoindent:cindent */