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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T01:16:06+00:00 2026-06-06T01:16:06+00:00

I need to programmatically install (In Ubuntu) few hundreds of fonts for my application

  • 0

I need to programmatically install (In Ubuntu) few hundreds of fonts for my application (Developed in Ruby on rails) and track the font names installed while installing.

So i need a tool or some library in UBUNTU which takes TTF file as input and provide the Font-Name as output.

Even if there is some way in ruby (GEM OR anything which can help) to find the font-name with given TTF file, will be great help.

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-06-06T01:16:07+00:00Added an answer on June 6, 2026 at 1:16 am

    Basically i used fop-ttfreader to get the details from a TTF file..

    fop-ttfreader fontfile.ttf xmlfile.xml
    

    http://manpages.ubuntu.com/manpages/natty/man1/fop-ttfreader.1.html

    So now this xml file can be parsed and get the font details.

    This looks like its increased to 2 steps, instead as suggested by djangodude, it can be done in a simple code by parsing ourself. In my case it will be a one time process like a rake.. So this helped me to finish my job.. 😛

    Hope this may help someone.

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

Sidebar

Related Questions

I need to programmatically start an android application on a specified remote emulator. I
I'm using Rails 3 with a MySQL database, and I need to programmatically create
I need to programmatically generate a mouseclick within Java code for a different application
I need to programmatically minimize and maximize a fullscreen 16bit application. Unfortunately DosBox is
I have a signed driver and I need to install it programmatically for a
I need to programmatically set up a node reference field. My module successfully creates
I need to programmatically modify the Access Descriptors on a known Registry key during
I would really need to programmatically click on all nodes in the collection, but
In my program I need to programmatically configure an ApplicationContext. Specifically, I have a
I have a combobox from which i need to programmatically disable items depending on

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.