---
title: allowsFontSubpixelQuantization
framework: quartzcore
role: symbol
role_heading: Instance Property
path: quartzcore/catextlayer/allowsfontsubpixelquantization
---

# allowsFontSubpixelQuantization

Determines whether to allow subpixel quantization for the graphics context used for text rendering.

## Declaration

```swift
var allowsFontSubpixelQuantization: Bool { get set }
```

## Discussion

Discussion When enabled, the graphics context used for text rendering may quantize the subpixel positions of glyphs.

## See Also

### Text Visual Properties

- [font](quartzcore/catextlayer/font.md)
- [fontSize](quartzcore/catextlayer/fontsize.md)
- [foregroundColor](quartzcore/catextlayer/foregroundcolor.md)
