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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:15:35+00:00 2026-06-17T12:15:35+00:00

I ve been searching the web for a solution but I found nothing that

  • 0

I ve been searching the web for a solution but I found nothing that is within my skills. How would you transform these Hershey Font .jhf files emergent.unpythonic.net/software/hershey to JSON using python or javascript. Creating something like:

[
    {
        asciival:26,
        points:[[5,-5],[4,7,8],[6,8,7]]
    },
    {
        asciival:27,
        points:[[5,-3],[4,7,33],[6,32,7]]
    },
(…)
]

I know there is a question here but this is not enough for me to understand the system.

Edit1

I already found the descriptions paulbourke.net/dataformats/hershey/ sean pointed out in the comments.

As an example consider the 8th symbol
8 9MWOMOV RUMUV ROQUQ
It has 9 coordinate pairs (this includes the left and right position).
The left position is ‘M’ – ‘R’ = -5
The right position is ‘W’ – ‘R’ = 5
The first coordinate is "OM" = (-3,-5)
The second coordinate is "OV" = (-3,4)
Raise the pen " R"
Move to "UM" = (3,-5)
Draw to "UV" = (3,4)
Raise the pen " R"
Move to "OQ" = (-3,-1)
Draw to "UQ" = (3,-1)
Drawing this out on a piece of paper will reveal it represents an ‘H’.>

I tried to make sense out of this, but where do the values come from?
For example why is UM (3,-5)?

Edit2

I found this java class

  • 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-17T12:15:35+00:00Added an answer on June 17, 2026 at 12:15 pm

    The coordinates are consecutive pairs of characters. To translate them into numbers you subtract the ascii equivalent of the character ‘R’ = 82 from each character. In your example, “UM” translates to (3,-5) because U is ascii code 85. Subtract 82 (=’R’) to get 3. M is ascii code 77, subtract 82 to get -5.

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

Sidebar

Related Questions

I've been searching this web-site and other sources for an answer, but haven't found
I've been searching through the web to look for a solution for this but
been searching a lot information about IoC/DI development, but I haven't found much information
Been searching but the only thing I found was http://evain.net/blog/articles/2009/07/30/rebasing-system-reactive-to-the-net-clr which I got to
I have been searching the web for a solution for 3 hours without success.
I've been searching the web for a solution for a while now & just
I have been searching the web for this, but have been unable to find
I've been searching the web and rattling my brain for weeks but to no
I've been searching the web for a few day's (actually nights ;), but at
I've been searching for 2 days now and haven't found a complete solution to

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.