DOKK / manpages / debian 10 / libfontconfig1-dev / FcWeightToOpenTypeDouble.3.en
FcWeightToOpenTypeDouble(3) FcWeightToOpenTypeDouble(3)

FcWeightToOpenTypeDouble - Convert from fontconfig weight values to OpenType ones

#include <fontconfig/fontconfig.h>

double FcWeightToOpenTypeDouble (doubleot_weight);

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.

version 2.12.92

05 November 2018 Fontconfig 2.13.1