graphics and own vector font

Posted on
  • Is is possible to set a own vector font like setting a own bitmap font ?

  • No, but you could compile it with your own font. I think there's a script in there somewhere to create one. I may have generated it using some of the tools I used when I did Morphyre, but actually three.js has a Shape class that should do most of the work for you.

    IIRC for each character, you just need to work out a series of convex polygons that describe the filled part.

  • thanks, will try and update this conversation with my steps and results.

  • Just to add - making fonts automatically isn't perfect, as I'm sure you noticed. It might be easier just to make (or re-use) a polygon editor and then draw each character by hand.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

graphics and own vector font

Posted by Avatar for MaBe @MaBe

Actions