mfont_resize_ratio(3m17n)
π 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 π
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
- 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