fribidi_get_mirror_char(3)
π NAME π
okay so this is the fribidi_get_mirror_char(3) page in the Programmer's Manual, and the function is literally called get mirrored character. That's the whole assignment, bestie. π
β¨ SYNOPSIS β¨
#include <../fribidi/lib/fribidi.h>
fribidi_boolean fribidi_get_mirror_char
(
FriBidiChar ch,
FriBidiChar *mirrored_ch
);
π PARAMETERS π
FriBidiChar chβ the input character. This is the character you're bringing to the function's attention. πFriBidiChar *mirrored_chβ the output mirrored character. This is where the mirrored result goes. β¨
π¦ DESCRIPTION π¦
This function finds the mirrored equivalent of a character, as defined in the file BidiMirroring.txt of the Unicode Character Database, available at http://www.unicode.org/Public/UNIDATA/BidiMirroring.txt. Like, that file is the source of truth for the mirror lore. π₯
If the input character is declared as a mirroring character in the Unicode standard and has a mirrored equivalent, the matching mirrored character is put in the output. Otherwise, the input character itself is put in the output. No cap: you either get the mirror match or you get your original character back. πͺβ¨
π RETURNS π
It returns whether the character has a mirroring equivalent or not. That's the whole fribidi_boolean vibe check, bestie β yes-or-no energy about whether a mirror equivalent exists. π«Ά
π SEE ALSO π
go give these other pages some love, iykyk:
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_types(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_shape_mirroring(3)fribidi_get_bracket(3)fribidi_get_bracket_types(3)fribidi_shape(3)fribidi_remove_bidi_marks(3)fribidi_log2vis(3)
mwah π this cutie was brought to you by c2man from fribidi-mirroring.h, dated 29 October 2026, and it's literally the fribidi_get_mirror_char(3) page. periodt. π
π¦ 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