---
name: "FcWeightToOpenType"
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/FcWeightToOpenType"
---

# FcWeightToOpenType(3)

Convert from fontconfig weight values to OpenType ones

## NAME

FcWeightToOpenType - Convert from fontconfig weight values to OpenType ones

## SYNOPSIS

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

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

## DESCRIPTION

**FcWeightToOpenType** is like **FcWeightToOpenTypeDouble** but with integer arguments. Use the other function instead.

## SINCE

version 2.11.91
