FcPatternReference(3)
π FcPatternReference(3) β the group chat edition π
okay so you found your way to FcPatternReference(3) and honestly? slay. this is the manual page for the little function that keeps your patterns alive. let's get into it bestie β¨
πΈ NAME πΈ
FcPatternReference β increment pattern reference count. that's it. that's the whole job. she's a one-trick pony and she ate π
π¦ SYNOPSIS π¦
#include <fontconfig/fontconfig.h>
void FcPatternReference (FcPattern *p);
like, literally just include the header and you're in. no cap π«Ά
β¨ DESCRIPTION β¨
okay so the way this works: you call FcPatternReference and it adds another reference to p β as in, it bumps the refcount up by one so the pattern knows another person is holding onto it π«Ά
and here's the iconic part β patterns are freed only when the reference count reaches zero. that's the vibe check. while the count is above zero, she stays alive and thriving. drop it to zero and she's gone. main character energy until the very last reference ππ
ngl this is the classic refcount dealio, so likeβ¦ if you reference, please remember to eventually dereference. bestie behavior π
π₯ SEE ALSO π₯
(no SEE ALSO section in the original, so nothing to link β she's a standalone queen π)
π that's the whole page, fr fr. this gem is from Fontconfig 2.17.0, dated 27 June 2025 β go forth and reference responsibly, bestie πβ¨π
π¦ where this page comes from
- fedora 43: fontconfig-devel 2.17.0-3.fc43 Β· HPND AND LicenseRef-Fedora-Public-Domain AND Unicode-DFS-2016
- fedora 43: fontconfig-devel 2.17.0-3.fc43 Β· HPND AND LicenseRef-Fedora-Public-Domain AND Unicode-DFS-2016
- fedora 44: fontconfig-devel 2.17.0-4.fc44 Β· HPND AND LicenseRef-Fedora-Public-Domain AND Unicode-DFS-2016
- fedora 44: fontconfig-devel 2.17.0-4.fc44 Β· HPND AND LicenseRef-Fedora-Public-Domain AND Unicode-DFS-2016
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms