Re:Widest Roman Prime
by melloclello on Friday February 05, 2016 @08:53PM
(#11046120)
I'd imagine it's not easy to render the text out into Times without UIKit or equivalent? Pretty cool that it has that built in, though.
[ Parent
| on HN ]
Actually, that's pretty easy too in CCL. It has a very nice ObjC bridge.
Re:Widest Roman Prime
by tosseraccount on Friday February 05, 2016 @10:56PM
(#11046489)
20 bits would do it.
But would the font make any difference to the answer?
It asks for the widest string in pixels in a proportional font, so the different letters matter.
Since most proportional fonts have somewhat similar widths, probably not. But if you just look at the longest string (or use a non-proportional font) there will be four roman numbers of equal length/width.