Results 1 to 8 of 8

Thread: Does anybody have a C# parser for Hershey fonts?

  1. #1
    Join Date
    Apr 2011
    Location
    Wheat Ridge, CO
    Posts
    2

    Default Does anybody have a C# parser for Hershey fonts?

    I am trying to do some simplex font cutting and it looks like the Hershey fonts would be the best. Anyone have any c# code hanging around?

  2. #2
    Join Date
    Mar 2008
    Location
    Tulsa Oklahoma
    Posts
    1,238

    Default

    Yep I do.

    D
    "The best thing about building something new is either you succeed or learn something. Its a win-win situation."

    --Greg Westbrook

  3. #3
    Join Date
    Mar 2008
    Location
    Tulsa Oklahoma
    Posts
    1,238

    Default

    You might consider the stroke fonts in PartWorks or Aspire. Those all appear to have their roots in Hershey fonts. PartWorks has more type faces than Hershey in addition to the group originally created by doctor Hershey.

    If you only have a few things to engrave, the PartWorks options is highly recommended. If you have thousands of things to engrave with unique strings the Hershey font solution is the only way to go.

    D
    "The best thing about building something new is either you succeed or learn something. Its a win-win situation."

    --Greg Westbrook

  4. #4
    Join Date
    Apr 2011
    Location
    Wheat Ridge, CO
    Posts
    2

    Default Could you share your code?

    I have quite a few strings to engrave, all different, and I am either going to have to write it myself or if you already have some code I could adapt that would be GREAT!

  5. #5
    Join Date
    Jun 2004
    Location
    Springfield Mo
    Posts
    851

    Default c# Hershey fonts

    I gave all my c# Hershey fonts to my friend Dana...

    What the heck is a Hershey Font ???
    The decimal point seems to be the most important on the z axis... x & y not so much....
    ShopBot... Where even the scraps and things you mess up and throw away are cool....

  6. #6
    Join Date
    Mar 2008
    Location
    Tulsa Oklahoma
    Posts
    1,238

    Default

    Curtis, go to:

    http://northstar-www.dartmouth.edu/d...tor_Fonts.html

    All of the Hershey fonts are in the public domain, that makes them very attractive.

    Its hard to find the glyph definition strings, and that is public domain. I am happy to provide them. See the attached zip file. You can find the documentation for the glyph string coding on the web.

    The attached zip file has a C# file with the glyph coding strings, and the font family glyph index tables.

    D
    Attached Files Attached Files
    "The best thing about building something new is either you succeed or learn something. Its a win-win situation."

    --Greg Westbrook

  7. #7
    Join Date
    Mar 2008
    Location
    Tulsa Oklahoma
    Posts
    1,238

    Default

    Addendum:

    Here is the same information for C language. The header at the top explains the encoding scheme. That is what you need to use the zipped file I posted.

    http://svn.r-project.org/R/trunk/src.../g_her_glyph.c

    Also the parent directory has a C library to handle hershey fonts:

    http://svn.r-project.org/R/trunk/src/modules/vfonts/


    D
    "The best thing about building something new is either you succeed or learn something. Its a win-win situation."

    --Greg Westbrook

  8. #8
    Join Date
    Nov 2008
    Location
    , On
    Posts
    863

    Default

    Brainiac font dudes.

Similar Threads

  1. Fonts
    By genek in forum ShopBotter Message Board
    Replies: 9
    Last Post: 07-23-2015, 03:18 PM
  2. Fonts in use
    By bill.young in forum Sign Making
    Replies: 2
    Last Post: 02-21-2011, 12:14 PM
  3. Fonts
    By jimmya in forum Product/Supplier List and Requests
    Replies: 0
    Last Post: 09-08-2009, 09:18 PM
  4. Fonts
    By GlenP in forum Archives2007
    Replies: 3
    Last Post: 11-13-2007, 10:55 PM
  5. 3D Fonts
    By giggalo@aol.com in forum Archive 2003
    Replies: 3
    Last Post: 12-31-2003, 08:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •