mfont_check(3m17n)
β¨ NAME β¨
mfont_check β it's literally just vibes and font-checking bestie π
(okay so the original page leaves this bit blank, so we're keeping it blank, no cap π«Ά)
πΈ SYNOPSIS πΈ
int mfont_check (MFrame * frame, MFontset * fontset, MSymbol script,
MSymbol language, MFont * font)
five args, one little int coming back at ya π
π DESCRIPTION π
So the whole point of this one is checking whether a font is even usable. That's it, that's the job. π¦
The mfont_check() function checkes β yes it really says checkes in the source, not me, I would never π β whether font can be used for script and language in fontset on frame.
Like, you hand it a frame, a fontset, a script, a language, and a font, and it goes "hmm, does this font actually work here for this script and this language in this fontset?" and tells you. Main character energy tbh π
β RETURN VALUE β
- If the font is usable β it returns
1π - Otherwise β it returns
0π
that's the whole range bestie, binary as hell, obsessed π
π 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>.
fr fr, the license said yes to copying, distributing, and/or modifying this doc, so go off π
and that's the page!! this was Version 1.8.4, dated Mon Sep 25 2023, straight out of the m17n Library π§β¨ mwah, slay, periodt π π
π¦ 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