Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

fribidi(1) [linux man page]

FRIBIDI(1)							   User Commands							FRIBIDI(1)

NAME
fribidi - a command line interface for the fribidi library, converts a logical string to visual SYNOPSIS
fribidi [OPTION]... [FILE]... DESCRIPTION
A command line interface for the fribidi library, Converts a logical string to visual. -h, --help Display this information and exit -V, --version Display version information and exit -v, --verbose Verbose mode, same as --basedir --ltov --vtol --levels --changes -d, --debug Output debug information -t, --test Test fribidi, same as --clean --nobreak --showinput --reordernsm -c, --charset CS Specify character set, default is UTF-8 -C, --charsetdesc CS Show descriptions for character set CS and exit --caprtl Old style: set character set to CapRTL --showinput Output the input string too --nopad Do not right justify RTL lines --nobreak Do not break long lines -w, --width W Screen width for padding, default is 80, but if environment variable COLUMNS is defined, its value will be used, --width over- rides both of them. -B, --bol BOL Output string BOL before the visual string -E, --eol EOL Output string EOL after the visual string --rtl Force base direction to RTL --ltr Force base direction to LTR --wrtl Set base direction to RTL if no strong character found --wltr Set base direction to LTR if no strong character found (default) --nomirror Turn mirroring off, to do it later --reordernsm Reorder NSM sequences to follow their base character --clean Remove explicit format codes in visual string output, currently does not affect other outputs --basedir Output Base Direction --ltov Output Logical to Visual position map --vtol Output Visual to Logical position map --levels Output Embedding Levels --changes Output information about changes between logical and visual string (start, length) --novisual Do not output the visual string, to be used with --basedir, --ltov, --vtol, --levels, --changes All string indexes are zero based Output: For each line of input, output something like this: [input-str` => '][BOL][[padding space]visual-str][EOL] [ base-dir][ ltov-map][ vtol-map][ levels][ changes] Available character sets: * UTF-8 : UTF-8 (Unicode) * CapRTL : CapRTL (Test) X * ISO8859-6 : ISO 8859-6 (Arabic) * ISO8859-8 : ISO 8859-8 (Hebrew) * CP1255 : CP1255 (Hebrew/Yiddish) * CP1256 : CP1256 (MS- Arabic) * ISIRI-3342: ISIRI 3342 (Persian) X: Character set has descriptions, use --charsetdesc to see REPORTING BUGS
Report bugs online at <http://fribidi.sourceforge.net/bugs.php>. interface version 2 Unicode version 3.2.0 COPYRIGHT
Copyright (C) 2002 FriBidi Project (http://fribidi.sf.net/). fribidi comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of fribidi under the terms of the GNU Lesser General Public License. For more information about these matters, see the files named COPYING. fribidi 0.10.5 April 2003 FRIBIDI(1)

Check Out this Related Man Page

fribidi_log2vis(3)						Programmer's Manual						fribidi_log2vis(3)

NAME
fribidi_log2vis - get visual string SYNOPSIS
#include <fribidi.h> FriBidiLevel fribidi_log2vis ( const FriBidiChar *str, const FriBidiStrIndex len, FriBidiParType *pbase_dir, FriBidiChar *visual_str, FriBidiStrIndex *positions_L_to_V, FriBidiStrIndex *positions_V_to_L, FriBidiLevel *embedding_levels ); PARAMETERS
const FriBidiChar *str Input logical string. const FriBidiStrIndex len Input string length. FriBidiParType *pbase_dir Requested and resolved paragraph base direction. Possible values for a FriBidiParType are as follows: FRIBIDI_PAR_LTR Left-To-Right paragraph. FRIBIDI_PAR_RTL Right-To-Left paragraph. FRIBIDI_PAR_ON DirectiOn-Neutral paragraph. FRIBIDI_PAR_WLTR Weak Left To Right paragraph. FRIBIDI_PAR_WRTL Weak Right To Left paragraph. FriBidiChar *visual_str Output visual string. FriBidiStrIndex *positions_L_to_V Output mapping from logical to visual string positions. FriBidiStrIndex *positions_V_to_L Output mapping from visual string back to the logical string positions. FriBidiLevel *embedding_levels Output list of embedding levels. DESCRIPTION
This function converts the logical input string to the visual output strings as specified by the Unicode Bidirectional Algorithm. As a side effect it also generates mapping lists between the two strings, and the list of embedding levels as defined by the algorithm. If NULL is passed as any of the the lists, the list is ignored and not filled. This function is obsolete because it only handles one-line paragraphs. Please consider using other functions instead. Deprecated. RETURNS
Maximum level found plus one, or zero if any error occured (memory allocation failure most probably). SEE ALSO
fribidi_charset_to_unicode(3), fribidi_unicode_to_charset(3), fribidi_parse_charset(3), fribidi_shape_arabic(3), fribidi_get_par_direc- tion(3), fribidi_get_par_embedding_levels(3), fribidi_reorder_line(3), fribidi_get_bidi_type(3), fribidi_get_bidi_types(3), fribidi_get_bidi_type_name(3), fribidi_debug_status(3), fribidi_mirroring_status(3), fribidi_set_mirroring(3), fribidi_reorder_nsm_sta- tus(3), fribidi_set_reorder_nsm(3), fribidi_log2vis_get_embedding_levels(3), fribidi_get_type(3), fribidi_get_type_internal(3), fribidi_remove_bidi_marks(3), fribidi_join_arabic(3), fribidi_get_joining_type(3), fribidi_get_joining_types(3), fribidi_get_join- ing_type_name(3), fribidi_get_mirror_char(3), fribidi_shape_mirroring(3), fribidi_shape(3) GNU FriBidi 0.19.2 30 January 2006 fribidi_log2vis(3)
Man Page