How Is Font Size Measured?

How Is Font Size Measured? thumbnail
Font Sizes

Fonts have several different ways of being measured in HTML. There are specific length sizes, preset absolute values, relative values and percentages. Even though you can set sizes a number of different ways, the font family used will usually have an effect on the final rendered size of the text in the browser. Other factors that can come into play would be things like the default browser text size and inherited sizes from parent HTML elements.

  1. Relative Font Length Types

    • The most common way fonts are measured are by font length. A font length can be relative or absolute. This can be an integer or decimal number followed by one of the supported font length types.

      Relative font length types are: "em" for ems, "ex" for x-height and "px" for pixels. An example would be "font-size: 1.2 em" for 1.2 times the inherited font size of the HTML element. Relative font lengths like "em" will inherit the font sizes of parent HTML elements in relation to the em value.

      Pixel font sizes are not relative to their parent elements, but they are relative to the display resolution of the computer monitor.

    Absolute Font Length Types

    • Absolute font length types are "pt" for points, "mm" for millimeters, "cm" for centimeters, "in" for inches and "pc" for picas. An example would be "font-size: 12 pt" for a twelve-point font size. Absolute font sizes are based on physical sizes but can still vary between font families.

    Absolute Font Sizes

    • Absolute font sizes are: "xx-small," "x-small," "small," "medium," "large," "x-large" and "xx-large." These are all preset sizes. "Medium" is the default size of standard font size elements. Making relative font size changes will either ascend or descend along this font size list.

    Relative Font Sizes

    • Relative font sizes are "larger" or "smaller." Relative font sizes will increase or decrease the font size in relation to the default font size and inherited font sizes. For example, if the inherited or default font size of an element is a medium size and the font size of that element is set to "larger," then the calculated font size will result in a "large" font size.

    Percentage Font Size

    • The percentage font size is simply a percentage of the element's inherited or default font size. For example, a "font-size: 90%" would result in the element rendering at 90 percent of the size it would have without any font size explicitly set.

Related Searches:

References

  • Photo Credit spike font image by Adrian Hillman from Fotolia.com

Comments

You May Also Like

  • What Is a Font Point Size?

    Once you know what a point is, you might specify in your computer software that a headline font is 80 points high....

  • How to Measure Font Size in an Image

    Measuring the font size in an image can be tricky. It isn't like looking at the font size of text that you're...

  • How to Change Font Size in HTML

    Before HTML 4.0, properties of font such as size could be manipulated through the "font" tag. This tag is now gone. The...

  • How to Convert Font Size to Inches

    Font sizes in word processing programs and printing presses are measured in points. A point is a unit of length equal to...

  • How to Change Font Size in XP

    The Windows XP operating system has a standard font size that is used in the operating system's folders and programs. Font size...

  • What Size Font Should You Use for Dimensioning?

    Dimensioning is the practice of labeling heights, widths and depths of objects on technical drawings. Readable dimension labels are essential on blueprints...

  • How to Measure Text Point Size

    While your word processor measures your text in points, in the printing world, text is measured by units called picas. One pica...

  • How Do I Determine Point Size of Text?

    For centuries, printers have measured the height of letters using the point system. Much of what we read today is electronic, but...

  • Font Point Size Vs. DPI

    While there is a standard for font sizes, text is not the same size from screen to screen. Depending on the resolution...

  • The Smallest Web Font Sizes

    Specifying font sizes for the web is difficult, since there are many different screen resolutions. Out-dated Web standards still in use on...

  • How to Understand Font Point Sizes

    Point sizes in fonts are relative units of measurement used by the printing industry. Although not well-suited to font sizing for screens,...

  • What Are Standard PC Fonts?

    What Are Standard PC Fonts?. Programs such as graphics editors or word processors allow the user to pick from a variety of...

  • How to Determine Font Size

    The size of a font refers to just that -- how big or small the text you are seeing on screen is...

  • How to Calculate Ring Size

    Accurately measuring your finger for rings is pretty simple.

  • How to Measure Bolt Size

    There are six pieces of information that describe the measurement of a bolt. These are: diameter, thread pitch, shank length, grade, head...

  • What Is a 12-Pitch Font?

    Webopedia.com defines pitch as "the number of characters printed per inch." A fixed-pitch font is one wherein every character is the same...

  • How to Measure Property Size

    When you purchase property, measuring the exact size will help you determine where you will place landscaping, buildings and other home elements...

  • How to Change the Font Size in Windows 2007

    Windows 2007 makes it easy to increase or decrease the font size of the text that appears on your computer screen. Font...

  • How to Measure Dress Size

    Wrap the tape measure around your waistline to determine your waist size. Your waistline is the thinnest point on your waist, just...

  • How to Reset Font Size in Computer

    Microsoft Windows allows users to customize the look and feel of their desktop. Desktop icons and font sizes can be changed to...

Related Ads

Featured