Scroll to navigation

FcWeightToOpenType(3) FcWeightToOpenType(3)

NAME

FcWeightToOpenType - Convert from fontconfig weight values to OpenType ones

SYNOPSIS

#include <fontconfig/fontconfig.h>

int FcWeightToOpenType (intot_weight);

DESCRIPTION

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

SINCE

version 2.11.91

05 8月 2016 Fontconfig 2.12.1