mflt_run(3m17n)

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

✨ NAME ✨

mflt_run β€” bestie this one's just vibes, the manpage literally gives us no one-liner so we move πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int mflt_run (MFLTGlyphString * gstring, int from, int to, MFLTFont *
font, MFLT * flt)

🌸 DESCRIPTION 🌸

Okay so mflt_run() lays out characters with an FLT. It takes the characters hanging out in gstring between from (inclusive, so from is invited to the party) and to (exclusive, so to is not invited, sorry babe 🫢) and lays them out using font.

If flt is nonzero, that one is used for all the characters β€” no switching, no drama, one FLT for the whole squad. If flt is zero, then appropriate FLTs get automatically chosen for you. Set it and forget it energy. ✨

πŸŽ€ Return values

  • >=0 β€” slay, it worked! The value is the index to the glyph that was previously indexed by to, over in gstring->glyphs.
  • -2 β€” uh oh, gstring->glyphs is too short to store the result 😭. The good news? The caller can just call this function again with a longer gstring->glyphs. Glow-up and retry, periodt.
  • -1 β€” some other error occurred πŸ’€.

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>.


okay that's the whole page bestie, no notes πŸ’– This was Version 1.8.4, dated Mon Sep 25 2023, and it lives in the m17n Library section 3m17n. ily, go lay out some characters πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from