# StandardFonts class

Namespace: [Grasshopper2.Eto.Drawing](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.eto.drawing.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public static class StandardFonts
```

Provides access to the default fonts used in Grasshopper.

## Properties

- [PixelsPerPoint](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.standardfonts/pixelsperpoint.md): (static) Gets the number of logical pixels per typographic point on this platform. Font sizes are in points, which are 96/72 pixels on Windows and a single pixel on macOS. Divide a desired pixel size by this ratio to get a font size that renders identically everywhere.

## Methods

- [Mono](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.standardfonts/mono.md): (static) The default mono-spaced font to use. This is the recommended font for code blocks or tabular data which requires whitespace for alignment. Do not dispose this font as it may be shared amongst many instances.
- [Sans](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.standardfonts/sans.md): (static) The default sans-serif font to use. This is the recommended font for UI use and short to medium blocks of text. Do not dispose this font as it may be shared amongst many instances.
- [Script](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.standardfonts/script.md): (static) The default script or cursive font to use. This is the recommended font for UI elements which are supposed to look detached from the underlying controls.
- [Serif](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.standardfonts/serif.md): (static) The default serif font to use. Do not dispose this font as it may be shared amongst many instances.
- [SetMonoCascade](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.standardfonts/setmonocascade.md): (static) Use a different monospaced cascade for the rest of this session, bypassing the [Settings.TypefaceMono](https://developer.rhino3d.com/api/gh2/type/grasshopper2.settings/typefacemono.md) setting. Names which are not installed are skipped, and when none is, Grasshopper's default for the family is used.
- [SetSansSerifCascade](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.standardfonts/setsansserifcascade.md): (static) Use a different sans-serif cascade for the rest of this session, bypassing the [Settings.TypefaceSans](https://developer.rhino3d.com/api/gh2/type/grasshopper2.settings/typefacesans.md) setting. Names which are not installed are skipped, and when none is, Grasshopper's default for the family is used.
- [SetScriptCascade](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.standardfonts/setscriptcascade.md): (static) Use a different script cascade for the rest of this session, bypassing the [Settings.TypefaceScript](https://developer.rhino3d.com/api/gh2/type/grasshopper2.settings/typefacescript.md) setting. Names which are not installed are skipped, and when none is, Grasshopper's default for the family is used.
- [SetSerifCascade](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.standardfonts/setserifcascade.md): (static) Use a different serif cascade for the rest of this session, bypassing the [Settings.TypefaceSerif](https://developer.rhino3d.com/api/gh2/type/grasshopper2.settings/typefaceserif.md) setting. Names which are not installed are skipped, and when none is, Grasshopper's default for the family is used.
- [Size](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.standardfonts/size.md): (static) Get the actual size of a font.
