mfont_resize_ratio(3m17n)

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

πŸ’– NAME πŸ’–

mfont_resize_ratio β€” bestie, it's the font-resize-ratio getter, and honestly? That's it. That's the whole name. No cap. ✨


🌸 SYNOPSIS 🌸

int mfont_resize_ratio (MFont * font)

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so, this one's a lil cutie. The mfont_resize_ratio() function is here to spill the tea on how much a font is being resized. πŸ«–

It goes and lookups the m17n database <font, reisize> and hands you back a resizing ratio (in percentage, bestie β€” percentage!) of FONT. πŸ’…

The way that works IRL: if the return value is 150, that means the m17n library is using a font that's an 1.5 time bigger font than a specified size. So like, the ratio is giving "we blew this font up by 1.5x" and you just get told the number. Iconic. πŸ”₯


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


periodt πŸ’… the paperwork is in order, the license said what it said, and we respect it πŸŽ€

k byeeee bestie, this was Version 1.8.4, dated Mon Sep 25 2023, straight from the m17n manual pages β€” mwah, go resize something pretty πŸŒˆβœ¨πŸ¦‹

πŸ“¦ where this page comes from