Man page - fcft_clone(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_clone(3) | fcft | fcft_clone(3) |
NAME
fcft_clone - copy an already instantiated font
SYNOPSIS
#include <fcft/fcft.h>
struct fcft_font *fcft_clone(const struct fcft_font *font);
DESCRIPTION
fcft_clone() creates a new instance by copying font. fcft internally uses reference counting, making this operation very fast (much faster than explicitly instantiating a new font using fcft_from_name()).
To free all resources associated with the both the original font, and the cloned font, fcft_destroy() must be called for both the original font, and the clone.
RETURN VALUE
On success, fcft_clone() returns a pointer to a new fcft_font object. On error, NULL is returned.
SEE ALSO
fcft_from_name(), fcft_from_name2(), fcft_destroy()
| 2025-03-22 | 3.3.1 |