RavensKrag / ThoughtTrace

Naturally chart out words in 2D space, mapping the relations between them. Even link to other ideas. Then, build your programs on top of the flow.
0 stars 0 forks source link

need font resizing API on Text object #5

Open RavensKrag opened 10 years ago

RavensKrag commented 10 years ago

not quite the same feel as asking for a hitbox resize should be able to specify text height and hitbox height independently? (well, in CSS you can specify a separate line height, so why not?)

basically, I think it may be weird that you allow for the anchor to be set optionally when the only real use-case is for loading the fonts which is really a weird case anyway that I wanted to alter (see the TODO in Text_unpack.rb)

may need to write a method on Text that allows for setting of font size based on desired width may come in handy when writing constraints