Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Solved
    • Unsolved
    • Search
    1. Home
    2. benkiel
    3. Best
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Best posts made by benkiel

    • RE: draw character from glyph name

      FormattedString is your best friend here, as you can add a glyph name to the string and get the glyph with the appendGlyph method.

      so for your code:

      newPage('A4Landscape')
      font('SFMono-Regular')
      fontSize(60)
      txt = listFontGlyphNames()
      t = FormattedString()
      t.appendGlyph(txt[60])
      text(t, (30, 30))
      
      posted in General Discussion
      benkiel
      benkiel