FRIBIDI(1)
π FRIBIDI π
okay so bestie, this is the manual for fribidi β the command line interface for the fribidi library. it converts a logical string to visual. that's the whole vibe. π¦
β¨ NAME β¨
fribidi β a command line interface for the fribidi library, converts a logical string to visual
πΈ SYNOPSIS πΈ
fribidi [OPTION]... [FILE]...
π DESCRIPTION π
okay so it's a command line interface for the fribidi library, and what it does is convert a logical string to visual. that's it, that's the job. let's get into the flags because there are so many and honestly each one is kind of iconic in its own way. π
-h,--helpβ shows you this info and then dips. exit stage left. β¨-V,--versionβ spills the version info, then exits. π-v,--verboseβ verbose mode, bestie. it's literally the same as running--basedir --ltov --vtol --levels --changesall at once. main character energy, it wants to show you EVERYTHING. π-d,--debugβ outputs debug information. for when you need to see the messy behind-the-scenes. π-t,--testβ tests fribidi. it's the same as--clean --nobreak --showinput --reordernsmstacked together. vibe check mode fr fr. π₯-c,--charset CSβ pick your character set. the default isUTF-8. specify it with CS. β¨-C,--charsetdesc CSβ shows you the descriptions for character set CS, and then exits. it's giving "let me explain myself". π--caprtlβ old style: sets the character set toCapRTL. retro, nostalgic, we love a throwback. π¦--showinputβ outputs the input string too, so you can see where it came from. π--nopadβ do NOT right justify RTL lines. no padding, no fuss. π«Ά--nobreakβ do not break long lines. let them be long, let them live. π-w,--width Wβ screen width for padding. default is80. BUT. if the environment variableCOLUMNSis defined, its value will be used instead. and--widthoverrides both of them. so the hierarchy is:--width>COLUMNS>80. periodt. π-B,--bol BOLβ outputs the string BOL before the visual string. π-E,--eol EOLβ outputs the string EOL after the visual string. π--rtlβ force base direction to RTL. π--ltrβ force base direction to LTR. π--wrtlβ sets base direction to RTL if no strong character is found. π§--wltrβ sets base direction to LTR if no strong character is found. this one is the default, so it's the lowkey one that's always there for you. π§--nomirrorβ turns mirroring off, so you can do it later. it's giving "i'll deal with it eventually". π--reordernsmβ reorders NSM sequences so they follow their base character. β¨--cleanβ removes explicit format codes in the visual string output. heads up: currently it does not affect other outputs. πΈ--basedirβ outputs Base Direction. π--ltovβ outputs the Logical to Visual position map. π--vtolβ outputs the Visual to Logical position map. π--levelsβ outputs Embedding Levels. π--changesβ outputs information about changes between the logical and visual string (start, length). π--novisualβ does not output the visual string. this one is meant to be used with--basedir,--ltov,--vtol,--levels,--changes. it's a team player. π
also important bestie: all string indexes are zero based. don't forget. i know you won't. π
β Output β
for each line of input, the output looks something like this:
[input-str` => '][BOL][[padding space]visual-str][EOL] [\n base-dir][\n ltov-map][\n vtol-map][\n levels][\n changes]
π Available character sets π
here's the whole roster, no skips:
UTF-8: UTF-8 (Unicode)CapRTL: CapRTL (Test) XISO8859-6: ISO 8859-6 (Arabic)ISO8859-8: ISO 8859-8 (Hebrew)CP1255: CP1255 (Hebrew/Yiddish)CP1256: CP1256 (MS-Arabic)ISIRI-3342: ISIRI 3342 (Persian)
and that little X up there? that means the character set has descriptions, so go use --charsetdesc to see them. iykyk. π₯
π REPORTING BUGS π
found a bug? report it online at <http://fribidi.sourceforge.net/bugs.php>. do it, bestie, they wanna know. π
also for the record: interface version 2, Unicode version 3.2.0.
π COPYRIGHT π
Copyright Β© 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. π
okay that's the whole page bestie, you ate that π
β¨ β this was fribidi 0.10.5, dated April 2003, signing off like the icon it is. ππ¦π
π¦ where this page comes from
- debian bookworm: libfribidi-bin 1.0.8-2.1 Β· LGPL-2.1-or-later
- debian trixie: libfribidi-bin 1.0.16-1 Β· LGPL-2.1-or-later
- ubuntu jammy: libfribidi-bin 1.0.8-2ubuntu3 Β· LGPL-2.1-or-later
- ubuntu jammy: libfribidi-bin 1.0.8-2ubuntu3.1 Β· LGPL-2.1-or-later
- ubuntu noble: libfribidi-bin 1.0.13-3build1 Β· LGPL-2.1-or-later
- ubuntu questing: libfribidi-bin 1.0.16-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms