---
name: "GdipCreateFontFamilyFromName"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/GdipCreateFontFamilyFromName"
---

# GdipCreateFontFamilyFromName(3w)

## NAME

**GdipCreateFontFamilyFromName** (GDIPLUS.@)

## SYNOPSIS

GpStatus WINGDIPAPI  GdipCreateFontFamilyFromName\
  (\
   GDIPCONST WCHAR\*  *name*,\
   GpFontCollection\* *fontCollection*,\
   GpFontFamily\*\*    *FontFamily*\
  )

## DESCRIPTION

Creates a font family object based on a supplied *name*.

## PARAMS

*name* **\[In\]**  Name of the font.

*fontCollection* **\[In\]**  What font collection (if any) the font belongs to (may be **NULL**).

*FontFamily* **\[Out\]**  Pointer to the resulting *FontFamily* object.

## RETURNS

**SUCCESS:** Ok

**FAILURE:** FamilyNotFound if the requested *FontFamily* does not exist on the system

**FAILURE:** Invalid parameter if *FontFamily* or *name* is **NULL**.

## NOTES

If *fontCollection* is **NULL** then the object is not part of any collection

## IMPLEMENTATION

Declared in **"gdiplusflat.h"**.

Implemented in **"dlls/gdiplus/font.c"**.
