Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 975121
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T03:32:04+00:00 2026-05-16T03:32:04+00:00

When using a custom font via @font-face , it does render just as I

  • 0

When using a custom font via @font-face, it does render just as I think it should in Chrome. In Firefox, though, additional padding (top and bottom) is added to the font.

Here is my example page that outlines the problem.

Is there anything I can do about it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T03:32:05+00:00Added an answer on May 16, 2026 at 3:32 am

    FYI, this also happens in Firefox on Linux (and not in Chromium). I tried to load your font in FontForge and immediately got a warning:

    The following table(s) in the font have been ignored by FontForge
    Ignoring ‘LTSH’ linear threshold table
    Ignoring ‘VDMX’ vertical device metrics table
    Ignoring ‘hdmx’ horizontal device metrics table

    I think the problem is that the VDMX (Vertical Device Metrics) table is defect:

    In order to avoid grid fitting the
    entire font to determine the correct
    height, the VDMX table has been
    defined.

    This looks exactly like what happens in Firefox: somewhere the minimum and maximum height is incorrectly calculated. This is also clear when you select the text: the selection box extends to the utmost top and bottom of the line; if the h1 element really had padding, you would see a gap between the top and bottom of the line and the selection box.

    Also, validation revealed that almost every glyph is “missing points at extrema”:

    Both PostScript and TrueType would
    like you to have points at the maxima
    and minima (the extrema) of a path.

    A quick search showed:

    The only other problem I had was a
    rather nasty condition called “Missing
    Points at Extrema”. With a font,
    there needs to be a point (or node, as
    they are called in Inkscape) at the
    extreme left, right, top and bottom of
    a glyph. Normally they are there
    anyway simply because of the way your
    glyph is built, but diagonal lines
    with rounded ends often cause problems
    [source, including picture (scroll down)]

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using a custom font and the @font-face tag. In Windows, everything looks great,
I have some buttons my page using a custom font face using the CSS
I am using a custom font using @font-face . Everything is working but some
I'm using custom fonts on my webpage using the following code: @font-face { font-family:
I've been having a lot of difficulties with using custom fonts and @font-face .
Hello I'm trying to develop a site using a custom font. However Firefox is
I am using a custom font in my text fields and labels in my
I am using a custom font on the website i'm developing and some basic
I am using custom fonts in my website. I could use a local font
I am using the following CSS to define a custom font on a webpage:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.