logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

FcWeightToOpenTypeDouble - Convert from fontconfig weight values to OpenType ones

Description

FcWeightToOpenTypeDouble is the inverse of FcWeightFromOpenType. If the input is less than FC_WEIGHT_THIN or greater than FC_WEIGHT_EXTRABLACK, returns -1. Otherwise returns a number in the range 1 to 1000.

Name

FcWeightToOpenTypeDouble - Convert from fontconfig weight values to OpenType ones

Since

version 2.12.92 Fontconfig 2.15.0 04 July 2025 FcWeightToOpenTypeDouble(3)

Synopsis

#include<fontconfig/fontconfig.h>doubleFcWeightToOpenTypeDouble(doubleot_weight);

See Also