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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T15:43:12+00:00 2026-05-10T15:43:12+00:00

How do you do your own fonts? I don’t want a heavyweight algorithm (freetype,

  • 0

How do you do your own fonts? I don’t want a heavyweight algorithm (freetype, truetype, adobe, etc) and would be fine with pre-rendered bitmap fonts.

I do want anti-aliasing, and would like proportional fonts if possible.

I’ve heard I can use Gimp to do the rendering (with some post processing?)

I’m developing for an embedded device with an LCD. It’s got a 32 bit processor, but I don’t want to run Linux (overkill – too much code/data space for too little functionality that I would use)

C. C++ if necessary, but C is preferred. Algorithms and ideas/concepts are fine in any language…

-Adam

  • 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. 2026-05-10T15:43:13+00:00Added an answer on May 10, 2026 at 3:43 pm

    In my old demo-scene days I often drew all characters in the font in one big bitmap image. In the code, I stored the (X,Y) coordinates of each character in the font, as well as the width of each character. The height was usually constant throughout the font. If space isn’t an issue, you can put all characters in a grid, that is – have a constant distance between the top-left corner of each character.

    Rendering the text then becomes a matter of copying one letter at a time to the destination position. At that time, I usually reserved one color as being the ‘transparent’ color, but you could definitely use an alpha-channel for this today.

    A simpler approach, that can be used for small b/w fonts, is to define the characters directly in code:

    LetterA  db 01111100b          db 11000110b          db 11000110b          db 11111110b          db 11000110b          db 11000110b 

    The XPM file format is actually a file format with C syntax that can be used as a hybrid solution for storing the characters.

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

Sidebar

Related Questions

At what point would you create your own exception class vs. using java.lang.Exception? (All
I understand the mantra of don't roll your own when it comes to site
How do you create your own custom moniker (or URL Protocol) on Windows systems?
Short of rolling your own. There has to be something out there. FlexLM/FlexNet is
Can you explain STA and MTA in your own words? Also, what are apartment
Is it possible to implement autoboxing for your own classes? To illustrate my example,
Is there a way to create a JButton with your own button graphic and
I'm posting this in the spirit of answering your own questions. The question I
I remember reading somewhere that you can provide your own icons without having them
how do you use your own utility classes (those you use in application code)

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.