FcStrStrIgnoreCase(3)
π FcStrStrIgnoreCase(3) π
okay bestie, so this is one of those little fontconfig man pages (yes, from the fontconfig manual, section 3, we love a classic) and honestly? it's giving "small but mighty" β¨
πΈ NAME πΈ
FcStrStrIgnoreCase β find a UTF-8 substring but make it case-blind, no cap π«Ά
π SYNOPSIS π
#include <fontconfig/fontconfig.h>
FcChar8 * FcStrStrIgnoreCase (const FcChar8 *s1, const FcChar8 *s2);
π¦ DESCRIPTION π¦
so here's the tea β β it hands you back the location of s2 inside s1, and it does it ignoring case. like, it literally does not care about uppercase vs lowercase, it's above all that drama π
and if s2 is not present in s1? it gives you NULL. that's it, that's the whole situation π no substring for you, bestie.
the important part: this test is case-insensitive for all proper UTF-8 encoded strings π₯ so it's not out here doing some janky ASCII-only thing β proper UTF-8, all of it, case-insensitive. iconic behavior, truly π
ngl it's a tiny function but it's lowkey carrying the whole "does this string contain that string, vibes only" agenda π
β¨ that's the whole page, you ate that β¨
this lil masterpiece is from Fontconfig 2.17.0, dated 27 June 2025 β mwah, sending you off with a kiss and a π fr fr π
π¦ 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