mfontset_copy(3m17n)
β¨ NAME β¨
mfontset_copy β bestie, that's literally the whole name, the manpage really said "no description, figure it out" π
(it's a function from the m17n Library, which is where all the magic happens, iykyk)
π¦ SYNOPSIS π¦
MFontset * mfontset_copy (MFontset * fontset, char * name)
π DESCRIPTION π
okay so here's the tea: mfontset_copy() makes a copy of a fontset. like, a whole entire duplicate. iconic behavior fr fr π«Ά
Specifically:
- you hand it the fontset fontset, and it clones it
- it gives the new baby copy the name name
- then it hands you back a pointer to the freshly created copy, and you say thank you β¨
π¨ BUT β plot twist β name must not be the name of a fontset that already exists. Not even a little. If you try it anyway, the function just returns NULL and does not make a copy at all. no copy, no crumbs, nothing. π
So like, pick a fresh name bestie, don't be out here naming your new fontset the same thing as an old one. that's not the vibe check you want to fail π
π COPYRIGHT π
Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License <http://www.gnu.org/licenses/fdl.html>.
and that's the whole page, bestie π Version 1.8.4, dated Mon Sep 25 2023, and it's mfontset_copy(3m17n) forever and always. slay, go copy responsibly ππΈ
π¦ where this page comes from
- debian trixie: m17n-docs 1.8.4-1
- ubuntu noble: m17n-docs 1.8.4-1
- ubuntu questing: m17n-docs 1.8.4-1
- ubuntu resolute: m17n-docs 1.8.4-1build1
- ubuntu stonking: m17n-docs 1.8.4-1build1
- Copyright (C) 2001 Information-technology Promotion Agency (IPA)
- Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms