# Font class

Namespace: [Rhino.DocObjects](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.docobjects.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
[Serializable]
public sealed class Font : ISerializable
```

Defines a format for text.

## Constructors

- [Font](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/ctor.md): (3 overloads)

## Properties

- [AscentOfCapital](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/ascentofcapital.md): The font's typographic capital height, in the design units reported by [Font.UnitsPerEm](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/unitsperem.md). This is the metric a "text height" is measured against, so text of height h renders its capitals h tall. Zero when the font has no usable metrics.
- [Bold](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/bold.md)
- [Description](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/description.md): Returns a long description that includes family, face, weight, stretch and style information. Generally not useful for finding matching fonts.
- [EnglishFaceName](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/englishfacename.md): Returns English Face name
- [EnglishFamilyName](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/englishfamilyname.md)
- [EnglishQuartetName](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/englishquartetname.md)
- [FaceName](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/facename.md): Returns Face name
- [FamilyName](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/familyname.md)
- [FamilyPlusFaceName](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/familyplusfacename.md): Returns concatenated Family and Face names
- [IsEngravingFont](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/isengravingfont.md)
- [IsGeometricToleranceFont](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/isgeometrictolerancefont.md)
- [IsInstalled](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/isinstalled.md): Is this font installed on the system
- [IsSimulated](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/issimulated.md)
- [IsSingleStrokeFont](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/issinglestrokefont.md)
- [IsSymbolFont](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/issymbolfont.md)
- [Italic](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/italic.md)
- [LogfontName](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/logfontname.md): Returns Windows LOGFONT Face name
- [PointSize](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/pointsize.md)
- [PostScriptName](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/postscriptname.md): Returns the Font PostScriptName - "Apple font name"
- [QuartetName](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/quartetname.md)
- [RichTextFontName](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/richtextfontname.md): Returns the Font RichTextFontName used in RTF strings: {\\fonttbl...{\\fN RichTextFontName;}...}
- [Stretch](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/stretch.md)
- [Strikeout](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/strikeout.md)
- [Style](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/style.md)
- [Underlined](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/underlined.md)
- [UnitsPerEm](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/unitsperem.md): The number of design units per em in this font's normalized metrics. Together with [Font.AscentOfCapital](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/ascentofcapital.md) this converts between an em size - the "font size" used by CSS, SVG, PDF and most page layout - and the height of a capital letter, which is what Rhino means by a text height. Zero when the font has no usable metrics.
- [Weight](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/weight.md)

## Methods

- [AvailableFontFaceNames](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/availablefontfacenames.md): (static)
- [FromQuartetProperties](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/fromquartetproperties.md): (static)
- [FromRichTextProperties](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/fromrichtextproperties.md): (static) Returns a font with the requested rich-text (family) name, preserving that name even when the font is not installed on the current machine. If an installed font matches it is returned; otherwise a "not on device" managed font that keeps the requested name is returned (rendered with a fallback quartet). Use this to author a font by name on a machine that does not have it installed: the Font constructor and [Font.FromQuartetProperties(string, bool, bool)](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/fromquartetproperties.md) both substitute the family in that case, losing the requested name when the file is written.
- [GetObjectData](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/getobjectdata.md): Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.
- [GetSubstituteFont](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/getsubstitutefont.md): If this font is not installed on the system, try to find a substitute
- [InstalledFonts](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/installedfonts.md): (2 overloads, static)
- [InstalledFontsAsQuartets](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.font/installedfontsasquartets.md): (static)
