fribidi_get_bidi_types(3)
π fribidi_get_bidi_types(3) β the Programmer's Manual, bestie edition π
okay so real talk, this one lives in the fribidi family and it's genuinely one of the more useful little gremlins in there. it's a Programmer's Manual page, so grab a snack and let's go β¨
πΈ NAME πΈ
fribidi_get_bidi_types β get bidi types for a string of characters
like, the whole string. at once. not one at a time, we're not doing that today π
π¦ SYNOPSIS π¦
#include <../fribidi/lib/fribidi.h>
void fribidi_get_bidi_types
(
const FriBidiChar *str,
const FriBidiStrIndex len,
FriBidiCharType *btypes
);
yes that include path is exactly what it is, i don't make the rules, i just copy them character for character π«Ά
π PARAMETERS π
const FriBidiChar *strβ input string. the chars you want typed, bestie.const FriBidiStrIndex lenβ input string length. gotta tell it how far to read, it's not psychic πFriBidiCharType *btypesβ output bidi types. this is where the results land. it's giving "fill my array" energy and honestly? slay.
β οΈ lowkey important: since there are 23 possible values for a FriBidiCharType, they are not all listed here. not me leaving 23 whole values out of the docs π go look them up elsewhere, iykyk.
π₯ DESCRIPTION π₯
This function finds the bidi types of a string of characters. that's it, that's the vibe. you hand it a string, you get back the bidi type of literally every char in it. β¨
and if you're sitting there like "okay but what is a bidi type tho π₯Ί" β see fribidi_get_bidi_type() for more information about the bidi types returned by this function. that one's the main character for the details, this one's just the batch version. π
π SEE ALSO π
okay this list is a moment. it's long. it ate. all of these are siblings in the fribidi cinematic universe:
fribidi_shape_arabic(3)fribidi_get_par_direction(3)fribidi_get_par_embedding_levels_ex(3)fribidi_reorder_line(3)fribidi_get_bidi_type(3)fribidi_get_bidi_type_name(3)fribidi_charset_to_unicode(3)fribidi_unicode_to_charset(3)fribidi_parse_charset(3)fribidi_debug_status(3)fribidi_set_debug(3)fribidi_mirroring_status(3)fribidi_set_mirroring(3)fribidi_reorder_nsm_status(3)fribidi_set_reorder_nsm(3)fribidi_log2vis_get_embedding_levels(3)fribidi_get_type(3)fribidi_get_type_internal(3)fribidi_get_par_embedding_levels(3)fribidi_join_arabic(3)fribidi_get_joining_type(3)fribidi_get_joining_types(3)fribidi_get_joining_type_name(3)fribidi_get_mirror_char(3)fribidi_shape_mirroring(3)fribidi_get_bracket(3)fribidi_get_bracket_types(3)fribidi_shape(3)fribidi_remove_bidi_marks(3)fribidi_log2vis(3)
thirty entries. thirty. i counted. π
π§ sign-off π§
this masterpiece was conjured by c2man from fribidi-bidi-types.h, dated 29 October 2026 β and that's the whole page, bestie. go get those bidi types ππ
π¦ where this page comes from
- arch rolling: fribidi 1.0.18-1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms