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

  • Home
  • SEARCH
  • 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 875139
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T11:13:08+00:00 2026-05-15T11:13:08+00:00

I want to use image files to represent a custom font, and it would

  • 0

I want to use image files to represent a custom font, and it would copy the text value when selected and copied. is this possible with JavaScript?

  • 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-15T11:13:08+00:00Added an answer on May 15, 2026 at 11:13 am

    I would look into alternatives. There is no need for images when it can be done completely cross-browser with something like Cufon or sIFR if Flash is an option.

    Technically it would be possible with JavaScript, but it would be rather fragile. You would have to find a font that is “web-safe” (i.e. available on ~100% of computers) that scales more or less similarly to your custom font. Then you would have to overlay a SPAN element over the image (using absolute positioning) with this text in it, make it transparent and make sure it is at a font size similar to what is used in the image.

    Messy to say the least.

    Of course if you select an image and copy the selection, the alt text is copied, but I can’t see this being very user-friendly. Besides, it can be pretty difficult to actually highlight just an image on a page.

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

Sidebar

Related Questions

I want to use a command like this: ImageView image = (ImageView) findViewById(R.id.x2); where
I want to use this jQuery gallery more than once on my page: http://workshop.rs/2010/07/create-image-gallery-in-4-lines-of-jquery/
I want to use FileSteam.open() to synchronously read image files from disk. I can
I want to use a couple of image files from Chromium project in my
I am making 3D simulations with C# XNA, I use image\text files to load
I want to use the 4th image from the ico file : C:\Program Files
I want to copy some selected files to a Destination folder using core java.
I have a directory called public_html/hammer/ (my CMS). I want to use the image
I want to use my own image of arrow for items in listview. Where
I have web service which i want to use to upload image to the

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.