Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Thursday, June 13, 2019
 
 

FcWeightToOpenType (3)

Name

FcWeightToOpenType - Convert from fontconfig weight values to OpenType ones

Synopsis

#include <fontconfig/fontconfig.h>

int FcWeightToOpenType (intot_weight);

Description

FcWeightToOpenType(3)                                    FcWeightToOpenType(3)



NAME
       FcWeightToOpenType  - Convert from fontconfig weight values to OpenType
       ones

SYNOPSIS
       #include <fontconfig/fontconfig.h>

       int FcWeightToOpenType (intot_weight);

DESCRIPTION
       FcWeightToOpenType 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.11.91



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+---------------------------+
       |ATTRIBUTE TYPE |     ATTRIBUTE VALUE       |
       +---------------+---------------------------+
       |Availability   | system/library/fontconfig |
       +---------------+---------------------------+
       |Stability      | Volatile                  |
       +---------------+---------------------------+
NOTES
       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source  was  downloaded  from   https://fontconfig.org/release/fontcon-
       fig-2.12.1.tar.bz2

       Further information about this software can be found on the open source
       community website at https://fontconfig.org/.



Fontconfig 2.12.1                  05 8 2016             FcWeightToOpenType(3)