title: ImageSharp and Font Height
body: <p>I have a task to create an image that will be printed. On the picture, I need to put a single uppercase letter (Upper case, [A-Z]).</p>
  
  <p>The printed image size can vary between 15cm height, and 30cm height (including any size in between).</p>
  
  <p>The letter needs to span the full height of the printed image.</p>
  
  <p>When setting the font size, I see you can get the size of the text.</p>
  
  <pre><code>using (Image&lt;Rgba32&gt; img = new Image&lt;Rgba32&gt;(imageWidth, imageHeight))
  {
      img.Mutate(x =&gt; x.Fill(Rgba32.White));
      img.MetaData.HorizontalResolution = 96;
      img.MetaData.VerticalResolution = 96;
      var fo = SystemFonts.Find("Arial");
      var font = new Font(fo, 1350, FontStyle.Regular);
  </code></pre>
  
  <p>I can get the size of my text here:</p>
  
  <pre><code>SizeF size = TextMeasurer.Measure(group.Text, new RendererOptions(font));
  </code></pre>
  
  <p>However, as you can see, I hard coded the size for my font here. The height needs to be matched to the height of the image.</p>
  
  <p>Is there any way to specify this, without stretching and losing quality? Is there a way I can specify the height, in pixels? Maybe there's coloration to the font size that I can use safely?</p>
  
  <p>When I set the Font size to the pixel height of my Image, I am seeing this:
  <a href="https://i.stack.imgur.com/Nb4XB.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/Nb4XB.jpg" alt="enter image description here"></a></p>
  
  <p>I'm not sure why the circled parts have gaps. I am setting my top left position of the left hand text, to 0,0.... and the top right hand point of the 'QWW' group to the width of the image, and 0 as Y. But I'd expect them to be flush against the size, and the bottom.</p>