1 .\" auto-generated by docbook2man-spec from docbook-utils package
2 .TH "FcWeightToOpenType" "3" "09 3月 2015" "Fontconfig 2.11.93" ""
4 FcWeightToOpenType \- Convert from fontconfig weight values to OpenType ones
7 \fB#include <fontconfig/fontconfig.h>
9 int FcWeightToOpenType (int\fIot_weight\fB);
13 \fBFcWeightToOpenType\fR is the inverse of
14 \fBFcWeightFromOpenType\fR\&. If the input is less than
15 FC_WEIGHT_THIN or greater than FC_WEIGHT_EXTRABLACK, returns -1. Otherwise
16 returns a number in the range 1 to 1000.