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 3847768
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T16:36:06+00:00 2026-05-19T16:36:06+00:00

I’m looking to keep my headings selectable via font-replacement technology on a site I’m

  • 0

I’m looking to keep my headings selectable via font-replacement technology on a site I’m currently building out. The problem is, the font I’ve designed the site with is vertically 20% shorter than the original font.

I know I can shrink line-height to shorten spacing above and below, and I know I can play with letter-spacing to make the font “seem” shorter – but thats not really ideal.

I’ve been digging through the questions here on Stackoverflow and I’ve discovered CSS 2.1 doesn’t support any developer interaction with a font’s display height.

What I was wondering is if there are any upcoming CSS3 modules, or even jQuery scripts etc that might help manually shorten a font’s height?

Or are there any font-replacement technologies that allow it? For instance is there any way to shorten Cufon headings?

Thanks in advance.

  • 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-19T16:36:07+00:00Added an answer on May 19, 2026 at 4:36 pm

    There is a way if you will use font-replacement which produces Canvas replacement like Cufon you mentioned.

    If you do you will be able to take the advantage of html canvas property which is that if you change the width/height of canvas with CSS the canvas will behave like an image so you could set every element to be 20% shorter. Though you’d have to run javascript on it as if you’d like it to stay same width you’d have to set the width to be exact same value before applying the shorter height. If you’d omit this bit you’d scale the canvas in both height and width.

    I believe the same could theoretically apply to flash replacements – from what I remember scalling flash with CSS produced similar results – correct me if I’m wrong.

    Not sure if it wouldn’t produce any blinking or any other glitches – you’d have to give it a go. If there aren’t to many Cufon elements on your page you want to shorten and you do it right after Cufon replace it should do the trick.

    Good luck! Staying true to your design can be a bitch hehe

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

Sidebar

Related Questions

I am currently running into a problem where an element is coming back from
I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a French site that I want to parse, but am running into
I want use html5's new tag to play a wav file (currently only supported
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti

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.