mfont_close(3m17n)

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

πŸ’– mfont_close β€” close a font, bestie πŸ’–

okay so this one is from the m17n Library man pages (yes, 3m17n, that's the section, iykyk) and it's literally just... letting a font go. closure era. we love to see it πŸ¦‹


✨ SYNOPSIS ✨

int mfont_close (MFont * font)

like that's it. that's the whole vibe. one function, one arg, one little int coming back at you πŸŽ€


🌸 DESCRIPTION 🌸

Close a font.

The mfont_close() function closes a realized font, font. and bestie listen β€” font must have been opened previously by mfont_open() or mfont_encapsulate(). no opening, no closing. that's the rule. not me being strict, that's just the API πŸ’…


πŸ”₯ RETURN VALUE πŸ”₯

  • if the operation was successful, 0 is returned ✨
  • otherwise, -1 is returned 😭

zero means slay. negative one means... not slay. that's it, that's the whole scoring system.


πŸ‘‘ SEE ALSO πŸ‘‘

  • mfont_open()
  • mfont_encapsulate()

go read those too, they're the ones that got you here in the first place 🫢


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 page, bestie 🌈 this was Version 1.8.4, dated Mon Sep 25 2023, and it lives in section 3m17n of the m17n Library manual. go close your fonts responsibly πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from