FcWeightFromOpenType(3)

πŸ’– FcWeightFromOpenType(3) πŸ’–

okay so welcome to the Fontconfig manual page for FcWeightFromOpenType(3) β€” bestie, this one is short, but we're giving it the full main-character treatment anyway. ✨


🌸 NAME 🌸

  • FcWeightFromOpenType β€” Convert from OpenType weight values to fontconfig ones πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

#include <fontconfig/fontconfig.h>

int FcWeightFromOpenType (int ot_weight);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so FcWeightFromOpenType is like FcWeightFromOpenTypeDouble but with integer arguments. no cap, that's the whole vibe. But the manual is literally telling you: use the other function instead, bestie. So yeah β€” FcWeightFromOpenTypeDouble is the one to go use. 🫢

⭐ SINCE ⭐

This one has been around since version 2.11.91 ✨


πŸ’– from the Fontconfig 2.17.0 manual, dated 27 June 2025 β€” mwah, bye bestie! πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from