Count max rectangles number, that can be placed inside character

Posted by Nickolay on Stack Overflow See other posts from Stack Overflow or by Nickolay
Published on 2010-05-14T11:40:05Z Indexed on 2010/05/14 11:44 UTC
Read the original article Hit count: 301

Filed under:
|
|
|

Hi, I need a solution for quite complex problem. Exactly, I need to calculate the number of rectangles that can be placed inside letter/character with given size, considering that all rectangles are the same size, but it(the size) and the letter/character(of some regular specific font) itself can be changed by user(this will be used as webside calculator of signboard price). If describe this graphically, it looks like this.

Any ideas or useful links will be much appreciated. Thanks in advance

© Stack Overflow or respective owner

Related posts about count

Related posts about font