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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T11:31:33+00:00 2026-06-08T11:31:33+00:00

How do I render a string in an ancient X11 bitmap font? I mean

  • 0

How do I render a string in an ancient X11 bitmap font? I mean something like

-*-lucida-medium-r-normal-*-34-*-*-*-*-*-*-*

which I can find with xfontsel. I just need a command line tool etc. that displays a given string in that font. A similar TrueType font won’t work, since it has to be pixel-perfect (I’m trying to get images of each letter to OCR an image in that font).

  • 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-08T11:31:34+00:00Added an answer on June 8, 2026 at 11:31 am

    I’m not sure if there is a command line tool. But you can always roll your own with Xlib and C.

    Somebody seems to have written a simple X11 C program that displays a string using Xlib. Changing a couple of lines and compiling with:

    gcc -lX11 -o xrenderstring xrenderstring.c
    

    .. should do it for you.

    I’ve reproduced the entire program in this gist (in case it vanishes from the original source), modified to take two arguments: 1. fontname, 2. string to be rendered.

    So you’d call it like (after compiling of course):

    ./xrenderstring "-*-lucida-medium-r-normal-*-34-*-*-*-*-*-*-*" "Quick brown fox"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can I render a string like erb files render. for example I want
How can I render a YouTube source in Drupal? The field which contains the
I'm trying to render a string into a javascript ( which usually works fine
Does anyone know how can i render a string on the iphone? Its for
Say I have a Java String which has xml data like so: String content
With the MVC3 Razor synax, one may render a string like so @ViewData(photo) My
I am using string template to render some content, but the content may be
I'm trying to render a ruby hash to a json string in haml. (the
I need to render a partial view to a string within a controller action.
I want to render an anti-aliased string on an SDL_Surface with a given alpha

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.