Inkscape.org
Beginners' Questions Wrap Hershey text around a circle
  1. #1
    jc67 jc67 @jc67

    Hello everyone
    I have a small self build CNC I use to engrave or cut small objects out of wood for example. So far so good.
    Problems occur with text engraving, as usual fonts have an outline + a filling. CNC follows the outline which is not what I want. I made some trials with Hershey text which I’m happy with.
    Now here is my problem and comes my question: as it is quite easy to wrap text around a circle, I didn’t find out how this can be done with Hershey text. It would be nice if someone could give clues about that.
    Thanks

    Ps: sorry if there are mistakes in my English; I’m French and it’s quite a long time I practiced!

  2. #2
    inklinea inklinea @inklinea⛰️

    Extensions > Generate from Path > Pattern along path.

    However you can also install stickfonts from 

    https://www.cambam.pixelmaker.eu/Cambam/Aide/Plugins/stickfonts.html

  3. #3
    jc67 jc67 @jc67

    Hi inklinea, thanks for your answer.

    But I'm not lucky with Extensions > Generate from Path > Pattern along path

    First screenshot is before executing the command, second is after!

     

    Capture2
    Capture1
  4. #4
    inklinea inklinea @inklinea⛰️

    Have a look at the fill and stroke width of the incorrect image. It may have a massive stroke width, set it back to 0.5.

  5. #5
    jc67 jc67 @jc67

    Thanks for your answer. I found nothing abnormal in the stroke and fill width.

    I finally downloaded the Cambam fonts following your link. And it works fine; at least it's exactly what I was looking for in terms of effect.

    Many thanks

  6. #6
    Ellen Wasbø Ellen Wasbø @EllenWasbo

    You can also create your own stickfonts from any single line svg-font. Here is a link to my blog on how to:  http://cutlings.wasbo.net/single-line-font-geometric/

  7. #7
    jc67 jc67 @jc67

    Hi Ellen, thanks for your link. I'll read all that carefully.

    All the best for 2021

  8. #8
    Ellen Wasbø Ellen Wasbø @EllenWasbo

    Another option I forgot about is to use temporary closed single line fonts with the text along path option. Just keep it as a closed font until you are happy with the placement of the letters. Then object to path and follow the rest of the instructions on my blog for opening temporary closed fonts. That will not work well for scriptfonts where each letter should stick to the next, but for other single line fonts is should work well. You can read more and find some links to downloadable temporary closed fonts here: http://cutlings.wasbo.net/single-line-fonts-options/

    And all the best for 2021 😊

  9. #9
    rhslaven rhslaven @rhslaven

    Looking for help to wrap Hershey text or any single line font to a circle. Any help would be greatly appreciated.

  10. #10
    Polygon Polygon @Polygon🌶
    *

    Type your normal text and circle/arc and put Text-on-path till it fits your needs.

    Then remove Text from Path and convert it with Extensions->Text-Hershey Text to Hershey text

    Convert circle with Path->Object to Path and copy to clipboard

    Select Hershey text - Ungroup - Path->Combine to make it a single Path and with it still selected go

    Path->Effects->Bend - then hit "Link to Path in Clipboard" - that should wrap the Hershey text around the circle.

    To make it permanent go Path->Object to Path - done

    File to check out attached:

     

    Hersheytextoncircle
  11. #11
    Ellen Wasbø Ellen Wasbø @EllenWasbo
    🏆*

    Or with fewer steps if you combine a stickfont with my remove duplicate lines extension:

    • Type your stickfont text and put Text-on-path.
    • Convert text to path
    • Ungroup
    • Use the extension removeDuplicateLines to make the double line stickfont to a single line. Make sure to turn on first checkbox (check each path against itself).

    The benefit of this method is that you also can make use of the text adjustment tools (adjust spacing between characters or words +++) which will get lost in Hershey Text tool.

    There might be stickfonts that do not work well with this extension if the nodes of the two overlapping lines do not match. You can find some stickfonts on my blog that is generated with this task in mind and the CamBam stickfonts work well too.

  12. #12
    rhslaven rhslaven @rhslaven

    Aloha,  Thanks for all the detailed help.  It worked, and I was able to get the Hersey text in a circle. 😊  Not an easy task, but it will save countless hours on my laser cutter.   

Inkscape Inkscape.org Inkscape Forum Beginners' Questions Wrap Hershey text around a circle