Imported Upstream version 2.13.0
[platform/upstream/fontconfig.git] / doc / FcWeightToOpenType.3
index 9477594..6476b84 100644 (file)
@@ -1,5 +1,5 @@
 .\" auto-generated by docbook2man-spec from docbook-utils package
-.TH "FcWeightToOpenType" "3" "09 3月 2015" "Fontconfig 2.11.93" ""
+.TH "FcWeightToOpenType" "3" "06 3月 2018" "Fontconfig 2.13.0" ""
 .SH NAME
 FcWeightToOpenType \- Convert from fontconfig weight values to OpenType ones
 .SH SYNOPSIS
@@ -10,10 +10,9 @@ int FcWeightToOpenType (int\fIot_weight\fB);
 .fi\fR
 .SH "DESCRIPTION"
 .PP
-\fBFcWeightToOpenType\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.
+\fBFcWeightToOpenType\fR is like
+\fBFcWeightToOpenTypeDouble\fR but with integer arguments.
+Use the other function instead.
 .SH "SINCE"
 .PP
 version 2.11.91