Imported Upstream version 2.13.0
[platform/upstream/fontconfig.git] / doc / FcWeightToOpenTypeDouble.3
1 .\" auto-generated by docbook2man-spec from docbook-utils package
2 .TH "FcWeightToOpenTypeDouble" "3" "06 3月 2018" "Fontconfig 2.13.0" ""
3 .SH NAME
4 FcWeightToOpenTypeDouble \- Convert from fontconfig weight values to OpenType ones
5 .SH SYNOPSIS
6 .nf
7 \fB#include <fontconfig/fontconfig.h>
8 .sp
9 double FcWeightToOpenTypeDouble (double\fIot_weight\fB);
10 .fi\fR
11 .SH "DESCRIPTION"
12 .PP
13 \fBFcWeightToOpenTypeDouble\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.
17 .SH "SINCE"
18 .PP
19 version 2.12.92