m17nFontset(3m17n)
π m17nFontset π
okay bestie, gather round, because we're talking about the m17n Library page for m17nFontset(3m17n) β yes the manual name is literally m17nFontset(3m17n), that's the whole vibe. And the NAME? The NAME got absolutely mangled in the wash: it's listed as m17nFontset_-_Fon (π the truncation is real, no one fixed it, we respect the chaos) and the actual definition is this:
A fontset is an object that maps a character to fonts.
that's it. that's the whole thing. a character β a font. matchmaker behavior, honestly. π
β¨ SYNOPSIS β¨
π Functions
here's the whole squad, signature by signature, no edits, no notes:
MFontset * mfontset (char *name)
Return a fontset.
MSymbol mfontset_name (MFontset *fontset)
Return the name of a fontset.
MFontset * mfontset_copy (MFontset *fontset, char *name)
Make a copy of a fontset.
int mfontset_modify_entry (MFontset *fontset, MSymbol script, MSymbol language, MSymbol charset, MFont *spec, MSymbol layouter_name, int how)
Modify the contents of a fontset.
MPlist * mfontset_lookup (MFontset *fontset, MSymbol script, MSymbol language, MSymbol charset)
Lookup a fontset.
πΈ Detailed Description πΈ
okay so, a fontset? it's an object of the type MFontset. and when you're drawing an M-text, the fontset is the one running the show β it hands over the rules for picking a font for each individual character in that M-text. like a tiny casting director for glyphs. π
and it makes those casting decisions based on the following info, bestie:
- The script character property of a character.
- The language text property of a character.
- The charset text property of a character.
and if you wanna know exactly how all that info gets used? the documentation of mdraw_text() is where that lore lives. go read it. π
π«Ά Author π«Ά
this bad boy was Generated automatically by Doxygen for The m17n Library from the source code. so like, no human author to credit, just Doxygen doing its little thing. π€β¨
π 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 page!! π it's giving Version 1.8.4, dated Mon Sep 25 2023, and it lives in m17nFontset(3m17n) forever. slay, go map some characters to some fonts, bestie ππ¦β
π¦ 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