Man page - fcft_precompose(3)
Packages contas this manual
- fcft_text_run_destroy(3)
- fcft_set_scaling_filter(3)
- fcft_rasterize_text_run_utf32(3)
- fcft_kerning(3)
- fcft_font_options_create(3)
- fcft_rasterize_char_utf32(3)
- fcft_init(3)
- fcft_font_options_destroy(3)
- fcft_precompose(3)
- fcft_from_name(3)
- fcft_log_init(3)
- fcft_clone(3)
- fcft_fini(3)
- fcft_from_name2(3)
- fcft_rasterize_grapheme_utf32(3)
- fcft_destroy(3)
- fcft_set_emoji_presentation(3)
- fcft_capabilities(3)
Package: libfcft-doc
apt-get install libfcft-doc
apt-get install libfcft-doc
Manuals in package:
Documentations in package:
Manual
| fcft_precompose(3) | fcft | fcft_precompose(3) |
NAME
fcft_precompose - pre-compose two wide characters into one
SYNOPSIS
#include <fcft/fcft.h>
bool fcft_precompose(
const struct fcft_font *font,
uint32_t base, uint32_t comb, bool
*base_is_from_primary, bool
*comb_is_from_primary, bool
*composed_is_from_primary);
DESCRIPTION
fcft_precompose() composes the base and comb wide characters into a single wide character. For example, L'a' + L'\u0301' can be combined to L'á'.
If *_is_from_primary are non-NULL, they will be true if the corresponding wide character exists in the primary font. If false, it does not exist in the primary font and fcft_codepoint_rasterize() will pick the glyph from one of the fallback fonts.
RETURN VALUE
On success, fcft_precompose() returns a composed wide character. On error, (uint32_t)-1 is returned.
SEE ALSO
fcft_codepoint_rasterize(), fcft_kerning()
| 2025-03-22 | 3.3.1 |