mfont_copy(3m17n)

πŸ“¦
version 1.8.4 Β· 2 versions
, in debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– mfont_copy β€” the m17n library's lil font duplicator πŸ’–

okay so bestie, you're in the m17n library docs (that's multilingualization, iykyk) and this page is all about mfont_copy. slay. let's get into it πŸ¦‹


✨ NAME ✨

mfont_copy β€” make a copy of a font πŸ’…

(yes that's it, the manpage literally just says the name and dips. iconic behavior honestly.)


✨ SYNOPSIS ✨

MFont* mfont_copy (MFont * font)

like... look at her. one function, one argument, one return type. main character energy fr fr πŸ‘‘


✨ DESCRIPTION ✨

okay so here's the tea πŸ“ β€” mfont_copy() makes a copy of a font.

You hand it a font β€” that's the font argument, an MFont * β€” and it hands you back a brand new copy of that font. The return type is MFont *, so you're getting a fresh pointer to a fresh duplicate, not the same one you passed in. πŸ’–

lowkey important: it's a new copy, bestie. not the original. don't be out here mutating the wrong one πŸ™ˆ

the legal era, and we respect it 🫢

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, no cap 🌸 go forth and duplicate responsibly, bestie πŸ’œ

Version 1.8.4 β€” dated Mon Sep 25 2023 β€” mwah, xoxo, m17n library out πŸ’‹βœ¨πŸŽ€

πŸ“¦ where this page comes from