---
name: "FcWeightFromOpenType"
section: "3"
platform: "linux"
package: "fontconfig"
version: "2:2.18.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/FcWeightFromOpenType"
---

# FcWeightFromOpenType(3)

Convert from OpenType weight values to fontconfig ones

## NAME

FcWeightFromOpenType - Convert from OpenType weight values to fontconfig ones

## SYNOPSIS

**#include \<fontconfig/fontconfig.h\>**

**int FcWeightFromOpenType (int** *ot\_weight***);**

## DESCRIPTION

**FcWeightFromOpenType** is like **FcWeightFromOpenTypeDouble** but with integer arguments. Use the other function instead.

## SINCE

version 2.11.91
