Navigation

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

    aneesh3397

    @aneesh3397

    0
    Reputation
    2
    Posts
    1
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    aneesh3397 Follow

    Best posts made by aneesh3397

    This user hasn't posted anything yet.

    Latest posts made by aneesh3397

    • Scale text to fit rectangle?

      I am trying to render text (in various languages) within a fixed size rectangle using drawbot. Following the code in this issue: https://github.com/typemytype/drawbot/issues/218, I am able to draw a rectangle around the rendered text (this is the smaller rectangle in the attached image).

      Is there anyway to do this the other way around; given a rectangle (the larger one in the image), fit the text in it? With largest possible width or height, whichever comes first?

      drawbot_KWËTI.png

      posted in General Discussion
      aneesh3397
      aneesh3397