Dalamud/docs/api/Dalamud.Interface.GameFonts.GameFontStyle.html
2022-04-03 04:09:45 +02:00

561 lines
27 KiB
HTML

<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Struct GameFontStyle
</title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Struct GameFontStyle
">
<meta name="generator" content="docfx 2.59.1.0">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
<link rel="stylesheet" href="../styles/docfx.css">
<link rel="stylesheet" href="../styles/main.css">
<meta property="docfx:navrel" content="">
<meta property="docfx:tocrel" content="toc.html">
</head>
<body data-spy="scroll" data-target="#affix" data-offset="120">
<div id="wrapper">
<header>
<nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">
<img id="logo" class="svg" src="../logo.svg" alt="">
</a>
</div>
<div class="collapse navbar-collapse" id="navbar">
<form class="navbar-form navbar-right" role="search" id="search">
<div class="form-group">
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
</div>
</form>
</div>
</div>
</nav>
<div class="subnav navbar navbar-default">
<div class="container hide-when-search" id="breadcrumb">
<ul class="breadcrumb">
<li></li>
</ul>
</div>
</div>
</header>
<div role="main" class="container body-content hide-when-search">
<div class="sidenav hide-when-search">
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
<div class="sidetoggle collapse" id="sidetoggle">
<div id="sidetoc"></div>
</div>
</div>
<div class="article row grid-right">
<div class="col-md-10">
<article class="content wrap" id="_content" data-uid="Dalamud.Interface.GameFonts.GameFontStyle">
<h1 id="Dalamud_Interface_GameFonts_GameFontStyle" data-uid="Dalamud.Interface.GameFonts.GameFontStyle" class="text-break">Struct GameFontStyle
</h1>
<div class="markdown level0 summary"><p>Describes a font based on game resource file.</p>
</div>
<div class="markdown level0 conceptual"></div>
<div class="inheritedMembers">
<h5>Inherited Members</h5>
<div>
<span class="xref">System.ValueType.Equals(System.Object)</span>
</div>
<div>
<span class="xref">System.ValueType.GetHashCode()</span>
</div>
<div>
<span class="xref">System.ValueType.ToString()</span>
</div>
<div>
<span class="xref">System.Object.Equals(System.Object, System.Object)</span>
</div>
<div>
<span class="xref">System.Object.GetType()</span>
</div>
<div>
<span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
</div>
</div>
<h6><strong>Namespace</strong>: <a class="xref" href="Dalamud.Interface.GameFonts.html">Dalamud.Interface.GameFonts</a></h6>
<h6><strong>Assembly</strong>: Dalamud.dll</h6>
<h5 id="Dalamud_Interface_GameFonts_GameFontStyle_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public struct GameFontStyle</code></pre>
</div>
<h3 id="constructors">Constructors
</h3>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/goatcorp/Dalamud/new/master/apiSpec/new?filename=Dalamud_Interface_GameFonts_GameFontStyle__ctor_Dalamud_Interface_GameFonts_GameFontFamily_System_Single_.md&amp;value=---%0Auid%3A%20Dalamud.Interface.GameFonts.GameFontStyle.%23ctor(Dalamud.Interface.GameFonts.GameFontFamily%2CSystem.Single)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/goatcorp/Dalamud/blob/master/Dalamud/Interface/GameFonts/GameFontStyle.cs/#L41">View Source</a>
</span>
<a id="Dalamud_Interface_GameFonts_GameFontStyle__ctor_" data-uid="Dalamud.Interface.GameFonts.GameFontStyle.#ctor*"></a>
<h4 id="Dalamud_Interface_GameFonts_GameFontStyle__ctor_Dalamud_Interface_GameFonts_GameFontFamily_System_Single_" data-uid="Dalamud.Interface.GameFonts.GameFontStyle.#ctor(Dalamud.Interface.GameFonts.GameFontFamily,System.Single)">GameFontStyle(GameFontFamily, Single)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Dalamud.Interface.GameFonts.GameFontStyle.html">GameFontStyle</a> struct.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public GameFontStyle(GameFontFamily family, float size)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Dalamud.Interface.GameFonts.GameFontFamily.html">GameFontFamily</a></td>
<td><span class="parametername">family</span></td>
<td><p>Font family.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Single</span></td>
<td><span class="parametername">size</span></td>
<td><p>Size in points.</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/goatcorp/Dalamud/new/master/apiSpec/new?filename=Dalamud_Interface_GameFonts_GameFontStyle__ctor_Dalamud_Interface_GameFonts_GameFontFamilyAndSize_.md&amp;value=---%0Auid%3A%20Dalamud.Interface.GameFonts.GameFontStyle.%23ctor(Dalamud.Interface.GameFonts.GameFontFamilyAndSize)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/goatcorp/Dalamud/blob/master/Dalamud/Interface/GameFonts/GameFontStyle.cs/#L51">View Source</a>
</span>
<a id="Dalamud_Interface_GameFonts_GameFontStyle__ctor_" data-uid="Dalamud.Interface.GameFonts.GameFontStyle.#ctor*"></a>
<h4 id="Dalamud_Interface_GameFonts_GameFontStyle__ctor_Dalamud_Interface_GameFonts_GameFontFamilyAndSize_" data-uid="Dalamud.Interface.GameFonts.GameFontStyle.#ctor(Dalamud.Interface.GameFonts.GameFontFamilyAndSize)">GameFontStyle(GameFontFamilyAndSize)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Dalamud.Interface.GameFonts.GameFontStyle.html">GameFontStyle</a> struct.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public GameFontStyle(GameFontFamilyAndSize familyAndSize)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Dalamud.Interface.GameFonts.GameFontFamilyAndSize.html">GameFontFamilyAndSize</a></td>
<td><span class="parametername">familyAndSize</span></td>
<td><p>Font family and size.</p>
</td>
</tr>
</tbody>
</table>
<h3 id="fields">Fields
</h3>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/goatcorp/Dalamud/new/master/apiSpec/new?filename=Dalamud_Interface_GameFonts_GameFontStyle_FamilyAndSize.md&amp;value=---%0Auid%3A%20Dalamud.Interface.GameFonts.GameFontStyle.FamilyAndSize%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/goatcorp/Dalamud/blob/master/Dalamud/Interface/GameFonts/GameFontStyle.cs/#L17">View Source</a>
</span>
<h4 id="Dalamud_Interface_GameFonts_GameFontStyle_FamilyAndSize" data-uid="Dalamud.Interface.GameFonts.GameFontStyle.FamilyAndSize">FamilyAndSize</h4>
<div class="markdown level1 summary"><p>Font family of the font.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public GameFontFamilyAndSize FamilyAndSize</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Dalamud.Interface.GameFonts.GameFontFamilyAndSize.html">GameFontFamilyAndSize</a></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/goatcorp/Dalamud/new/master/apiSpec/new?filename=Dalamud_Interface_GameFonts_GameFontStyle_SkewStrength.md&amp;value=---%0Auid%3A%20Dalamud.Interface.GameFonts.GameFontStyle.SkewStrength%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/goatcorp/Dalamud/blob/master/Dalamud/Interface/GameFonts/GameFontStyle.cs/#L34">View Source</a>
</span>
<h4 id="Dalamud_Interface_GameFonts_GameFontStyle_SkewStrength" data-uid="Dalamud.Interface.GameFonts.GameFontStyle.SkewStrength">SkewStrength</h4>
<div class="markdown level1 summary"><p>Skewedness of the font.</p>
<p>0 is unaltered.
Greater than 1 will make upper part go rightwards.
Less than 1 will make lower part go rightwards.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public float SkewStrength</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Single</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/goatcorp/Dalamud/new/master/apiSpec/new?filename=Dalamud_Interface_GameFonts_GameFontStyle_Weight.md&amp;value=---%0Auid%3A%20Dalamud.Interface.GameFonts.GameFontStyle.Weight%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/goatcorp/Dalamud/blob/master/Dalamud/Interface/GameFonts/GameFontStyle.cs/#L25">View Source</a>
</span>
<h4 id="Dalamud_Interface_GameFonts_GameFontStyle_Weight" data-uid="Dalamud.Interface.GameFonts.GameFontStyle.Weight">Weight</h4>
<div class="markdown level1 summary"><p>Weight of the font.</p>
<p>0 is unaltered.
Any value greater than 0 will make it bolder.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public float Weight</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Single</span></td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="properties">Properties
</h3>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/goatcorp/Dalamud/new/master/apiSpec/new?filename=Dalamud_Interface_GameFonts_GameFontStyle_Bold.md&amp;value=---%0Auid%3A%20Dalamud.Interface.GameFonts.GameFontStyle.Bold%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/goatcorp/Dalamud/blob/master/Dalamud/Interface/GameFonts/GameFontStyle.cs/#L124">View Source</a>
</span>
<a id="Dalamud_Interface_GameFonts_GameFontStyle_Bold_" data-uid="Dalamud.Interface.GameFonts.GameFontStyle.Bold*"></a>
<h4 id="Dalamud_Interface_GameFonts_GameFontStyle_Bold" data-uid="Dalamud.Interface.GameFonts.GameFontStyle.Bold">Bold</h4>
<div class="markdown level1 summary"><p>Gets or sets a value indicating whether this font is bold.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool Bold { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/goatcorp/Dalamud/new/master/apiSpec/new?filename=Dalamud_Interface_GameFonts_GameFontStyle_Family.md&amp;value=---%0Auid%3A%20Dalamud.Interface.GameFonts.GameFontStyle.Family%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/goatcorp/Dalamud/blob/master/Dalamud/Interface/GameFonts/GameFontStyle.cs/#L60">View Source</a>
</span>
<a id="Dalamud_Interface_GameFonts_GameFontStyle_Family_" data-uid="Dalamud.Interface.GameFonts.GameFontStyle.Family*"></a>
<h4 id="Dalamud_Interface_GameFonts_GameFontStyle_Family" data-uid="Dalamud.Interface.GameFonts.GameFontStyle.Family">Family</h4>
<div class="markdown level1 summary"><p>Gets the font family.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public readonly GameFontFamily Family { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Dalamud.Interface.GameFonts.GameFontFamily.html">GameFontFamily</a></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/goatcorp/Dalamud/new/master/apiSpec/new?filename=Dalamud_Interface_GameFonts_GameFontStyle_Italic.md&amp;value=---%0Auid%3A%20Dalamud.Interface.GameFonts.GameFontStyle.Italic%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/goatcorp/Dalamud/blob/master/Dalamud/Interface/GameFonts/GameFontStyle.cs/#L133">View Source</a>
</span>
<a id="Dalamud_Interface_GameFonts_GameFontStyle_Italic_" data-uid="Dalamud.Interface.GameFonts.GameFontStyle.Italic*"></a>
<h4 id="Dalamud_Interface_GameFonts_GameFontStyle_Italic" data-uid="Dalamud.Interface.GameFonts.GameFontStyle.Italic">Italic</h4>
<div class="markdown level1 summary"><p>Gets or sets a value indicating whether this font is italic.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool Italic { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/goatcorp/Dalamud/new/master/apiSpec/new?filename=Dalamud_Interface_GameFonts_GameFontStyle_Size.md&amp;value=---%0Auid%3A%20Dalamud.Interface.GameFonts.GameFontStyle.Size%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/goatcorp/Dalamud/blob/master/Dalamud/Interface/GameFonts/GameFontStyle.cs/#L92">View Source</a>
</span>
<a id="Dalamud_Interface_GameFonts_GameFontStyle_Size_" data-uid="Dalamud.Interface.GameFonts.GameFontStyle.Size*"></a>
<h4 id="Dalamud_Interface_GameFonts_GameFontStyle_Size" data-uid="Dalamud.Interface.GameFonts.GameFontStyle.Size">Size</h4>
<div class="markdown level1 summary"><p>Gets the font size.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public readonly float Size { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Single</span></td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="methods">Methods
</h3>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/goatcorp/Dalamud/new/master/apiSpec/new?filename=Dalamud_Interface_GameFonts_GameFontStyle_CalculateWidthAdjustment_Dalamud_Interface_GameFonts_FdtReader_Dalamud_Interface_GameFonts_FdtReader_FontTableEntry_.md&amp;value=---%0Auid%3A%20Dalamud.Interface.GameFonts.GameFontStyle.CalculateWidthAdjustment(Dalamud.Interface.GameFonts.FdtReader%2CDalamud.Interface.GameFonts.FdtReader.FontTableEntry)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/goatcorp/Dalamud/blob/master/Dalamud/Interface/GameFonts/GameFontStyle.cs/#L224">View Source</a>
</span>
<a id="Dalamud_Interface_GameFonts_GameFontStyle_CalculateWidthAdjustment_" data-uid="Dalamud.Interface.GameFonts.GameFontStyle.CalculateWidthAdjustment*"></a>
<h4 id="Dalamud_Interface_GameFonts_GameFontStyle_CalculateWidthAdjustment_Dalamud_Interface_GameFonts_FdtReader_Dalamud_Interface_GameFonts_FdtReader_FontTableEntry_" data-uid="Dalamud.Interface.GameFonts.GameFontStyle.CalculateWidthAdjustment(Dalamud.Interface.GameFonts.FdtReader,Dalamud.Interface.GameFonts.FdtReader.FontTableEntry)">CalculateWidthAdjustment(FdtReader, FdtReader.FontTableEntry)</h4>
<div class="markdown level1 summary"><p>Calculates the adjustment to width resulting fron Weight and SkewStrength.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int CalculateWidthAdjustment(FdtReader reader, FdtReader.FontTableEntry glyph)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Dalamud.Interface.GameFonts.FdtReader.html">FdtReader</a></td>
<td><span class="parametername">reader</span></td>
<td><p>Font information.</p>
</td>
</tr>
<tr>
<td><a class="xref" href="Dalamud.Interface.GameFonts.FdtReader.FontTableEntry.html">FdtReader.FontTableEntry</a></td>
<td><span class="parametername">glyph</span></td>
<td><p>Glyph.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><p>Width adjustment in pixel unit.</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/goatcorp/Dalamud/new/master/apiSpec/new?filename=Dalamud_Interface_GameFonts_GameFontStyle_GetRecommendedFamilyAndSize_Dalamud_Interface_GameFonts_GameFontFamily_System_Single_.md&amp;value=---%0Auid%3A%20Dalamud.Interface.GameFonts.GameFontStyle.GetRecommendedFamilyAndSize(Dalamud.Interface.GameFonts.GameFontFamily%2CSystem.Single)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/goatcorp/Dalamud/blob/master/Dalamud/Interface/GameFonts/GameFontStyle.cs/#L145">View Source</a>
</span>
<a id="Dalamud_Interface_GameFonts_GameFontStyle_GetRecommendedFamilyAndSize_" data-uid="Dalamud.Interface.GameFonts.GameFontStyle.GetRecommendedFamilyAndSize*"></a>
<h4 id="Dalamud_Interface_GameFonts_GameFontStyle_GetRecommendedFamilyAndSize_Dalamud_Interface_GameFonts_GameFontFamily_System_Single_" data-uid="Dalamud.Interface.GameFonts.GameFontStyle.GetRecommendedFamilyAndSize(Dalamud.Interface.GameFonts.GameFontFamily,System.Single)">GetRecommendedFamilyAndSize(GameFontFamily, Single)</h4>
<div class="markdown level1 summary"><p>Gets the recommend GameFontFamilyAndSize given family and size.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static GameFontFamilyAndSize GetRecommendedFamilyAndSize(GameFontFamily family, float size)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Dalamud.Interface.GameFonts.GameFontFamily.html">GameFontFamily</a></td>
<td><span class="parametername">family</span></td>
<td><p>Font family.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Single</span></td>
<td><span class="parametername">size</span></td>
<td><p>Font size in points.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Dalamud.Interface.GameFonts.GameFontFamilyAndSize.html">GameFontFamilyAndSize</a></td>
<td><p>Recommended GameFontFamilyAndSize.</p>
</td>
</tr>
</tbody>
</table>
</article>
</div>
<div class="hidden-sm col-md-2" role="complementary">
<div class="sideaffix">
<div class="contribution">
<ul class="nav">
<li>
<a href="https://github.com/goatcorp/Dalamud/new/master/apiSpec/new?filename=Dalamud_Interface_GameFonts_GameFontStyle.md&amp;value=---%0Auid%3A%20Dalamud.Interface.GameFonts.GameFontStyle%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
</li>
<li>
<a href="https://github.com/goatcorp/Dalamud/blob/master/Dalamud/Interface/GameFonts/GameFontStyle.cs/#L12" class="contribution-link">View Source</a>
</li>
</ul>
</div>
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
<h5>In This Article</h5>
<div></div>
</nav>
</div>
</div>
</div>
</div>
<footer>
<div class="grad-bottom"></div>
<div class="footer">
<div class="container">
<span class="pull-right">
<a href="#top">Back to top</a>
</span>
<span>Generated by <strong>DocFX</strong></span>
</div>
</div>
</footer>
</div>
<script type="text/javascript" src="../styles/docfx.vendor.js"></script>
<script type="text/javascript" src="../styles/docfx.js"></script>
<script type="text/javascript" src="../styles/main.js"></script>
</body>
</html>