fribidi_get_joining_type(3)

🌸 fribidi_get_joining_type 🌸

okay so real quick β€” this is page fribidi_get_joining_type(3) from the Programmer's Manual, and bestie, it's a little one but it's a whole vibe. sit down, hydrate, let's get into it πŸ’…


✨ NAME ✨

fribidi_get_joining_type β€” get character joining type πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <../fribidi/lib/fribidi.h>

FriBidiJoiningType fribidi_get_joining_type(FriBidiChar ch);

πŸ“ PARAMETERS πŸ“

  • FriBidiChar ch β€” the input character. that's it. that's the one. the character you're curious about, she's the main character here πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

so what this function does is it hands you back the joining type of a character β€” as defined in Table 8-2 Primary Arabic Joining Classes of the Unicode standard, which you can find at http://www.unicode.org/versions/Unicode4.0.0/ch08.pdf#G7462 🌈

and the data behind the scenes comes from the file ArabicShaping.txt and UnicodeData.txt from the Unicode Character Database, at http://www.unicode.org/Public/UNIDATA/ArabicShaping.txt and http://www.unicode.org/Public/UNIDATA/UnicodeData.txt ✨

also there's a little clutch of macros defined in fribidi-joining-types.h for querying a joining type β€” so you can poke at the result without doing it all by hand 🫢


πŸ‘‘ RETURNS πŸ‘‘

the possible values for a FriBidiJoiningType are, in their full glory:

  • FRIBIDI_JOINING_TYPE_U β€” NUn-joining, e.g. Full Stop. (yes the capital N is literally how it's written, no cap, not me fixing it, keeping it iconic πŸ’€)
  • FRIBIDI_JOINING_TYPE_R β€” Right-joining, e.g. Arabic Letter Dal.
  • FRIBIDI_JOINING_TYPE_D β€” Dual-joining, e.g. Arabic Letter Ain.
  • FRIBIDI_JOINING_TYPE_C β€” Join-Causing, e.g. Tatweel, ZWJ.
  • FRIBIDI_JOINING_TYPE_T β€” Transparent, e.g. Arabic Fatha.
  • FRIBIDI_JOINING_TYPE_L β€” Left-joining, i.e. Fictional. (she's literally not real, it's giving imaginary friend 🧚)
  • FRIBIDI_JOINING_TYPE_G β€” IGnored, e.g. LRE, RLE, ZWNBSP.

πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, fr fr β€” go say hi to:


lowkey the whole thing took like thirty seconds to read and now you know what a joining type is. we love a short queen. slay 🌸

and that's the page!! sign-off time πŸŽ€ this lil' beauty was generated by c2man from fribidi-joining-types.h, dated 29 October 2026, and she's part of page fribidi_get_joining_type(3). periodt. πŸ’œ

πŸ“¦ where this page comes from