{"id":19602633,"url":"https://github.com/wang-bin/fribidi","last_synced_at":"2025-07-02T09:05:18.129Z","repository":{"id":141348681,"uuid":"48903815","full_name":"wang-bin/fribidi","owner":"wang-bin","description":"Unofficial Fribidi with cmake support and VS projects. Fribidi: GNU FriBidi is an implementation of the Unicode Bidirectional Algorithm (bidi).","archived":false,"fork":false,"pushed_at":"2022-12-21T13:15:13.000Z","size":5027,"stargazers_count":0,"open_issues_count":0,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T01:51:13.439Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.fribidi.org/","language":"C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wang-bin.png","metadata":{"files":{"readme":"README","changelog":"ChangeLog.old","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-02T08:34:49.000Z","updated_at":"2020-09-08T13:51:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"f2bb3443-b60a-4e08-947b-60b269b2806e","html_url":"https://github.com/wang-bin/fribidi","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/wang-bin/fribidi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang-bin%2Ffribidi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang-bin%2Ffribidi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang-bin%2Ffribidi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang-bin%2Ffribidi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wang-bin","download_url":"https://codeload.github.com/wang-bin/fribidi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang-bin%2Ffribidi/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263108810,"owners_count":23415005,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T09:25:09.386Z","updated_at":"2025-07-02T09:05:18.104Z","avatar_url":"https://github.com/wang-bin.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is GNU FriBidi\nThe Free Implementation of the Unicode Bidirectional Algorithm.\n\nBackground\n==========\n\nOne of the missing links stopping the penetration of free software in Middle\nEast is the lack of support for the Arabic and Hebrew alphabets. In order to\nhave proper Arabic and Hebrew support, the BiDi algorithm should have been\nimplemented. It is our hope that this library will stimulate more free\nsoftware in the Middle Eastern countries.\n\nAudience\n========\n\nIt is our hope that this library will stimulate the implementation of Hebrew\nand Arabic in lots of free software. Here is a small list of projects that\nwould benefit from the use of the GNU FriBidi library, but of course there are\nmany more: Wine, Mozilla, Qt, KDE, lynx, OpenOffice.\n\nGNU FriBidi is already being used in projects like Pango (resulting in GTK+\nand GNOME using GNU FriBidi), AbiWord, MLTerm, MPlayer, and BiCon.\n\nDependencies\n============\n\nCurrently GNU FriBidi does not depend on any other library, but uses Glib if\navailable.  It uses GNU Build System for build and installation on POSIX\nsystems.\n\nDownloading\n===========\n\nThe latest version of GNU FriBidi may be found at:\n\n   http://fribidi.org/\n\nBuilding\n========\n\nSee INSTALL for a description of how to build and install GNU FriBidi.\n\nLicense\n=========\n\nGNU FriBidi is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public License\nas published by the Free Software Foundation; either version 2.1\nof the License, or (at your option) any later version.\n\nGNU FriBidi is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU Lesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public License\nalong with GNU FriBidi, in a file named COPYING; if not, write to the\nFree Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\nBoston, MA  02110-1301  USA\n\nFor licensing issues, contact \u003clicense@farsiweb.info\u003e.\n\nImplementation\n==============\n\nThe library implements the algorithm described in the \"Unicode Standard\nAnnex #9, The Bidirectional Algorithm\", available at\nhttp://www.unicode.org/unicode/reports/tr9/. GNU Fribidi has been tested\nexhaustively against the Unicode Reference Code, and to the best of our\nknowledge, it completely conforms to the specification, always producing\nthe same result as the Reference Code.\n\nThe library uses Unicode (UTF32) entirely. The character properties are\nautomatically extracted from the Unicode data files, available from:\n\n\thttp://www.unicode.org/Public/UNIDATA/\n\nThis means that every Unicode character is treated in strict accordance\nwith the Unicode specification.\n\nThere is a limited support for character set conversion from/to the UTF32\nencoding.  Data in these character sets must be converted into UTF32 before\nthe library may be used.  iconv(3) can always do a better job on that, so you\nmay find that the character sets conversion code is typically turned off on\nPOSIX machines.\n\nThe reordering of characters is typically done through the function:\n      \n     fribidi_boolean\n     fribidi_log2vis(/* input */\n\t\t     FriBidiChar *str,\n\t\t     FriBidiStrIndex len,\n\t\t     FriBidiCharType *pbase_dir,\n\t\t     /* output */\n\t\t     FriBidiChar *visual_str,\n\t\t     FriBidiStrIndex *position_L_to_V_list,\n\t\t     FriBidiStrIndex *position_V_to_L_list,\n\t\t     FriBidiLevel    *embedding_level_list\n\t\t     )\n    \n\nwhere\n     str                    is the Unicode input string\n     len                    is the length of the unicode string\n     pbase_dir              is the input and output base direction. If \n                            base == FRIBIDI_TYPE_ON then fribidi_log2vis \n                            calculates the base direction on its own\n                            according to the BiDi algorithm.\n     visual_str             The reordered output unicode string.\n     position_L_to_V_list   Maps the positions in the logical string to \n                            positions in the visual string.\n     position_V_to_L_list   Maps the positions in the visual string to \n                            the positions in the logical string.\n     embedding_level_list   Returns the classification of each character. Even\n                            levels indicate LTR characters, and odd levels\n                            indicate RTL characters. The main use of this\n                            list is in interactive applications when the\n                            embedding e.g. level determines cursor display.\n\nIn any of the output pointers == NULL, then that information is not \ncalculated.\n\nHow it looks like\n=================\n\nHave a look at tests directory, to see some input and outputs, which\nCapRTL charset means that CAPITAL letters are right to left, and digits\n6, 7, 8, 9 are Arabic digits, try 'fribidi --charsetdesc CapRTL' for the\nfull description.\n\nExecutable\n==========\n\nThere is also a command-line utilitity called fribidi that loops over\nthe text of a file and performs the BiDi algorithm on each line, also\nused for testing the algorithm. Run fribidi with the --help option to\nlearn about usage.  The command-line utility is known to have problems\nwith line-breaking and ltov/vtol lists.\n\nBugs and comments\n=================\n\nReport GNU FriBidi bugs at:\n\n\thttp://fribidi.org/bug\n\nAnd send your comments to:\n\n\tfribidi@freedesktop.org\n\n\nBehdad Esfahbod\nbehdad@gnu.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwang-bin%2Ffribidi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwang-bin%2Ffribidi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwang-bin%2Ffribidi/lists"}