---
title: minimumFontSize
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/webpreferences/minimumfontsize
---

# minimumFontSize

The minimum font size of the web view.

## Declaration

```swift
var minimumFontSize: Int32 { get set }
```

## Discussion

Discussion This sets the minimum display font size for the web view, overriding all content-specified styles, including explicitly specified font sizes. The font size specified by size should always be greater than zero.

## See Also

### Getting and Setting Font Sizes

- [defaultFixedFontSize](webkit/webpreferences/defaultfixedfontsize.md)
- [defaultFontSize](webkit/webpreferences/defaultfontsize.md)
- [minimumLogicalFontSize](webkit/webpreferences/minimumlogicalfontsize.md)
