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