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?
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?
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
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
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!
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....
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
"The best thing about building something new is either you succeed or learn something. Its a win-win situation."
--Greg Westbrook
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
Brainiac font dudes.