fcft_set_emoji_presentation(3)
π
fcft_set_emoji_presentation(3) β the fcft girlies' guide to emoji vibes
okay so bestie, this one lives in the fcft manual, and it's literally about making your emojis pick a lane. let's get into it π
β¨ NAME β¨
fcft_set_emoji_presentation β configures the default emoji presentation π«Ά
πΈ SYNOPSIS πΈ
#include <fcft/fcft.h>
bool fcft_set_emoji_presentation(struct fcft_font *font,
enum fcft_emoji_presentation presentation);
π DESCRIPTION π
note: this function is deprecated and will be removed in the next major release. yes, she's on her way out π use her while she's here but don't get attached.
fcft_set_emoji_presentation() configures the default presentation style to use with emojis that have both a text presentation and an emoji presentation style. two-faced icons, we stan π
so these emojis can be followed by an (invisible) variation selector. when they're not followed by a selector, the implementation has to choose a style β someone's gotta make the call, and usually it's not you π«
one example of such an emoji is U+263A β WHITE SMILING FACE:
- unqualified: βΊ
- text: βΊοΈ
- emoji: βΊοΈ
the Unicode standard defines the default presentation styles, and that's what fcft defaults to. iconic behavior, no notes π
but sometimes the application is like "no actually, I want always text style" or "no actually, I want always emoji style." main character energy, honestly.
that's literally what fcft_set_emoji_presentation() is for. possible values for presentation are:
FCFT_EMOJI_PRESENTATION_DEFAULTFCFT_EMOJI_PRESENTATION_TEXTFCFT_EMOJI_PRESENTATION_EMOJI
to re-iterate (because yes, this matters fr fr): this setting affects emojis without an explicit variation selector. in other words, it overrides the default presentation style. it's giving "I'm the default now" π
FCFT_EMOJI_PRESENTATION_DEFAULT is the default, and causes fcft to use the default presentation as defined by Unicode. classic, reliable, she ate π
FCFT_EMOJI_PRESENTATION_TEXT forces all multi-presentation style emojis to be rendered in their text presentation style. monochrome moment π€
FCFT_EMOJI_PRESENTATION_EMOJI forces all multi-presentation style emojis to be rendered in their emoji presentation style. full color, full sparkle β¨π₯
heads up bestie: this function does not clear the glyph caches, and should therefore be called before rasterizing any glyphs. set the vibe first, then render. don't be out here changing the rules mid-glyph π
π¦ SEE ALSO π¦
fcft_rasterize_char_utf32()fcft_rasterize_grapheme_utf32()fcft_rasterize_text_run_utf32()
and that's the whole page, bestie π this one's from fcft version 3.3.3, dated 2026-04-09, and it's fcft_set_emoji_presentation(3) signing off β go set some defaults and slay β¨π
π¦ where this page comes from
- alpine 3.24: fcft-doc 3.3.3-r0 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms