.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "FcWeightToOpenTypeDouble" "3" "2022/03/31" "Fontconfig 2.14.0" ""
.SH NAME
FcWeightToOpenTypeDouble \- Convert from fontconfig weight values to OpenType ones
.SH SYNOPSIS
.sp
\fB#include
.sp
double FcWeightToOpenTypeDouble (double\fIot_weight\fB);
\fR
.SH "DESCRIPTION"
.PP
\fBFcWeightToOpenTypeDouble\fR is the inverse of
\fBFcWeightFromOpenType\fR\&. 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.
.SH "SINCE"
.PP
version 2.12.92