title: Italic "g" character right side is getting cut off
body: <p>I have the following structure for my CSS:</p>
  
  <pre><code>index.html
  css
  --fonts
  ----roboto
  ------roboto-italic-demo.html
  ------roboto-italic-webfont.woff
  ------roboto-italic-webfont.woff2
  ------stylesheet.css
  --main.css
  </code></pre>
  
  <p><code>stylesheet.css</code> contains the following CSS</p>
  
  <pre><code>@font-face {
      font-family: 'robotoitalic';
      src: url('roboto-italic-webfont.woff2') format('woff2'),
           url('roboto-italic-webfont.woff') format('woff');
      font-weight: normal;
      font-style: normal;
  }
  </code></pre>
  
  <p><code>roboto-italic-demo.html</code> is a demo page with the entire alphabet characters displayed using <code>font-family: 'robotoitalic';</code>. Here the g appears like it should.</p>
  
  <p><a href="https://i.stack.imgur.com/ounJN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ounJN.png" alt="enter image description here"></a></p>
  
  <p><code>main.css</code> contains the following css</p>
  
  <pre><code>@font-face {
      font-family: 'roboto';
      src: url('fonts/roboto/roboto-bolditalic-webfont.woff2') format('woff2'),
           url('fonts/roboto/roboto-bolditalic-webfont.woff') format('woff');
      font-weight: bold;
      font-style: italic;
  }
  
  @font-face {
      font-family: 'robototest2';
      src: url('fonts/roboto/roboto-italic-webfont.woff2') format('woff2'),
           url('fonts/roboto/roboto-italic-webfont.woff') format('woff');
      font-weight: normal;
      font-style: normal;
  }
  </code></pre>
  
  <p><code>index.html</code> includes the <code>main.css</code> stylesheet. Using <code>font-family: 'roboto'; font-style: italic;</code> cuts off the right side of the g character. using <code>font-family: 'robototest2';</code> cuts the right side of the g character as well.</p>
  
  <p><a href="https://i.stack.imgur.com/38rOn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/38rOn.png" alt="enter image description here"></a></p>
  
  <p>Here's what I tried in order to fix the issue:</p>
  
  <ul>
  <li><p>Redownload <code>roboto-italic-webfont.woff</code> &amp;&amp; <code>roboto-italic-webfont.woff2</code></p></li>
  <li><p>Put <code>"Comic Sans MS"</code> as a fall back to make sure I was actually using <code>roboto</code> or <code>robototest2</code></p></li>
  <li><p>Added letter-spacing</p></li>
  <li><p>Placed the g character within a span with padding</p></li>
  </ul>
  
  <p><strong>edit:</strong> </p>
  
  <p>This question was marked as duplicate. The question linked referred to text protruding from its container, where as this one is about a character being cut-off no matter its position within any tag. For example, this html</p>
  
  <pre><code>&lt;p&gt;&lt;em&gt;This g is being cut off on its right side&lt;/em&gt;&lt;/p&gt;
  </code></pre>
  
  <p>results in</p>
  
  <p><a href="https://i.stack.imgur.com/Xod9H.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Xod9H.png" alt="enter image description here"></a></p>