---
title: "canCreatePostScriptSubset(_:)"
framework: coregraphics
role: symbol
role_heading: Instance Method
path: "coregraphics/cgfont/cancreatepostscriptsubset(_:)"
---

# canCreatePostScriptSubset(_:)

Determines whether Core Graphics can create a subset of the font in PostScript format.

## Declaration

```swift
func canCreatePostScriptSubset(_ format: CGFontPostScriptFormat) -> Bool
```

## Parameters

- `format`: A PostScript font format.

## Return Value

Return Value Returns true if a subset in the PostScript format can be created for the font; false otherwise.

## Discussion

Discussion For more information on PostScript format, see Adobe Type 1 Font Format, which is available from http://partners.adobe.com/.

## See Also

### Working with PostScript Fonts

- [postScriptName](coregraphics/cgfont/postscriptname.md)
- [createPostScriptSubset(subsetName:format:glyphs:count:encoding:)](coregraphics/cgfont/createpostscriptsubset(subsetname:format:glyphs:count:encoding:).md)
- [CGFontPostScriptFormat](coregraphics/cgfontpostscriptformat.md)
- [createPostScriptEncoding(encoding:)](coregraphics/cgfont/createpostscriptencoding(encoding:).md)
