mfont_list_family_names(3m17n)
β¨ mfont_list_family_names β¨
okay bestie, welcome to the m17n manual, section 3m17n π this one's about mfont_list_family_names, and it's literally so useful if you've ever been like "what fonts do I even have on this thing??" π
πΈ NAME πΈ
mfont_list_family_names β (yeah the original left this one blank, no cap, we move π
)
π¦ SYNOPSIS π¦
MPlist* mfont_list_family_names (MFrame * frame)
β¨ DESCRIPTION β¨
Get a list of font family names. The mfont_list_family_names() functions returns a list of font family names available on frame frame.
not me being obsessed with how straightforward this is π«Ά you hand it a frame, it hands you back the font family names chillin' on that frame. that's it. that's the whole vibe.
π RETURN VALUE π
This function returns a plist whose keys are Msymbol and values are symbols representing font family names. The elements are sorted by alphabetical order. The plist must be freed by m17n_object_unref(). If not font is found, it returns NULL.
π¨ bestie listen β that plist is yours to clean up. callm17n_object_unref()on it when you're done or it just lingers. and if there's no font found? you getNULLback, so maybe vibe check for that before you go dereferencing, mwah π
π 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 π β¨ this was Version 1.8.4, dated Mon Sep 25 2023 β iconic, historic, slay ππ
π¦ 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