---
title: "CTFontCreateWithQuickdrawInstance(_:_:_:_:)"
framework: coretext
role: symbol
role_heading: Function
path: "coretext/ctfontcreatewithquickdrawinstance(_:_:_:_:)"
---

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

Returns a font reference for the given QuickDraw instance.

## Declaration

```swift
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

Return Value The best font instance matching the QuickDraw instance information.

## Discussion

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.

## See Also

### Converting Fonts

- [CTFontCopyGraphicsFont(_:_:)](coretext/ctfontcopygraphicsfont(_:_:).md)
- [CTFontCreateWithGraphicsFont(_:_:_:_:)](coretext/ctfontcreatewithgraphicsfont(_:_:_:_:).md)
- [CTFontGetPlatformFont(_:_:)](coretext/ctfontgetplatformfont(_:_:).md)
- [CTFontCreateWithPlatformFont(_:_:_:_:)](coretext/ctfontcreatewithplatformfont(_:_:_:_:).md)
