Open AndySwansburg opened 9 years ago
Is there going to be a leading setting? It would be easier to do both together than to implement the max height one way and then redo it to take the leading value into account.
There is going to be a leading setting.
It should act like this:
Every font should have a auto leading for the fonts size and style:
for instance
serif at 18px has a 16px leading for auto
the style inputter should be able to override with another input (e.g 22px)
the client should be able to manipulate it based on a 2px increment up or down
so a
and the leading diverts from the original auto setting
Andy
From: Gary McGath notifications@github.com Sent: Wednesday, May 6, 2015 2:02 PM To: BrndBot/BrndBot Cc: Andy Swansburg Subject: Re: [BrndBot] Text Wrapping (#38)
Is there going to be a leading setting? It would be easier to do both together than to implement the max height one way and then redo it to take the leading value into account.
Reply to this email directly or view it on GitHubhttps://github.com/BrndBot/BrndBot/issues/38#issuecomment-99554033.
The first implementation will be in the May 7 build. This behaves badly on too-long single words and doesn't attempt a font size adjustment, but otherwise mostly works.
Figure out and implement text wrapping. The functionality should be that the font should retain its original size and text wrap when the text reaches the width of the box and then once the number of lines reaches the max height, the text should start shrinking.