GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
fcft_set_emoji_presentation(3) fcft fcft_set_emoji_presentation(3)

fcft_set_emoji_presentation - configures the default emoji presentation

#include <fcft/fcft.h>

bool fcft_set_emoji_presentation(struct fcft_font *font,

enum fcft_emoji_presentation presentation);

fcft_set_emoji_presentation() configures the default presentation style to use with emojis with both a text presentation, and an emoji presentation style.

One example of such an emoji is U+263A - WHITE SMILING FACE:

•unqualified: ☺
•text: ☺︎
•emoji: ☺️

These emojis can be followed by an (invisible) variation selector. When they are not followed by a selector, the implementation must choose a style.

The Unicode standard defines the default presentation styles, and this is what fcft defaults to.

However, in some cases, the application may want to always use either the text style, or the emoji style.

This is what fcft_set_emoji_presentation() is for. Possible values for presentation are:

FCFT_EMOJI_PRESENTATION_DEFAULT
FCFT_EMOJI_PRESENTATION_TEXT
FCFT_EMOJI_PRESENTATION_EMOJI

To re-iterate; this setting affects emoji's without an explicit variation selector. In other words, it overrides the default presentation style.

FCFT_EMOJI_PRESENTATION_DEFAULT is the default, and causes fcft to use the default presentation as defined by Unicode.

FCFT_EMOJI_PRESENTATION_TEXT forces all multi-presentation style emojis to be rendered in their text presentation style.

FCFT_EMOJI_PRESENTATION_EMOJI forces all multi-presentation style emojis to be rendered in their emoji presentation style.

This function does not clear the glyph caches and should therefore be called before rasterizing any glyphs.

fcft_glyph_rasterize(), fcft_grapheme_rasterize(), fcft_text_run_rasterize()
2022-04-26 3.0.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.