table of contents
other versions
- bullseye 2.13.1-4.2
- testing 2.13.1-4.5
- unstable 2.13.1-4.5
- experimental 2.14.1-2
FcWeightToOpenTypeDouble(3) | FcWeightToOpenTypeDouble(3) |
NAME¶
FcWeightToOpenTypeDouble - Convert from fontconfig weight values to OpenType ones
SYNOPSIS¶
#include <fontconfig/fontconfig.h>
double FcWeightToOpenTypeDouble (doubleot_weight);
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.
SINCE¶
version 2.12.92
05 January 2023 | Fontconfig 2.14.1 |