FcWeightFromOpenTypeDouble 3 Fontconfig &version; FcWeightFromOpenTypeDouble Convert from OpenType weight values to fontconfig ones #include <fontconfig/fontconfig.h> double FcWeightFromOpenTypeDouble doubleot_weight Description FcWeightFromOpenTypeDouble returns an double value to use with FC_WEIGHT, from an double in the 1..1000 range, resembling the numbers from OpenType specification's OS/2 usWeight numbers, which are also similar to CSS font-weight numbers. If input is negative, zero, or greater than 1000, returns -1. This function linearly doubleerpolates between various FC_WEIGHT_* constants. As such, the returned value does not necessarily match any of the predefined constants. Since version 2.12.92 FcWeightToOpenTypeDouble 3 Fontconfig &version; FcWeightToOpenTypeDouble Convert from fontconfig weight values to OpenType ones #include <fontconfig/fontconfig.h> double FcWeightToOpenTypeDouble doubleot_weight Description FcWeightToOpenTypeDouble is the inverse of FcWeightFromOpenType. 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. Since version 2.12.92 FcWeightFromOpenType 3 Fontconfig &version; FcWeightFromOpenType Convert from OpenType weight values to fontconfig ones #include <fontconfig/fontconfig.h> int FcWeightFromOpenType intot_weight Description FcWeightFromOpenType is like FcWeightFromOpenTypeDouble but with integer arguments. Use the other function instead. Since version 2.11.91 FcWeightToOpenType 3 Fontconfig &version; FcWeightToOpenType Convert from fontconfig weight values to OpenType ones #include <fontconfig/fontconfig.h> int FcWeightToOpenType intot_weight Description FcWeightToOpenType is like FcWeightToOpenTypeDouble but with integer arguments. Use the other function instead. Since version 2.11.91