<!--
{
  "availability" : [
    "macOS: 10.5.0 - 10.15.0"
  ],
  "documentType" : "symbol",
  "framework" : "CoreText",
  "identifier" : "/documentation/CoreText/CTFontCreateWithQuickdrawInstance(_:_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Text"
    ],
    "preciseIdentifier" : "c:@F@CTFontCreateWithQuickdrawInstance"
  },
  "title" : "CTFontCreateWithQuickdrawInstance(_:_:_:_:)"
}
-->

# CTFontCreateWithQuickdrawInstance(_:_:_:_:)

Returns a font reference for the given QuickDraw instance.

```
func CTFontCreateWithQuickdrawInstance(_ name: ConstStr255Param?, _ identifier: Int16, _ style: UInt8, _ size: CGFloat) -> CTFont
```

## Parameters

`name`

The QuickDraw font name. If zero length, `identifier` must be specified.

`identifier`

The QuickDraw font identifier. Can be `0`, but if so, `name` must be specified.

`style`

The QuickDraw font style.

`size`

The point size for the font reference. If `0.0` is specified, the default size of 12.0 is used.

## Return Value

The best font instance matching the QuickDraw instance information.

## Discussion

This function is provided for compatibility support between Core Text and clients needing to support QuickDraw-style font references. QuickDraw is a deprecated technology in macOS 10.4 and later.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)