Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

As a point of interest to monks trying to solve this, the dimensions of a character in the <code> font on my screen are: 7 pixels wide, 12 pixels from baseline to baseline (that's counting from the first pixel below the baseline to the first pixel above the baseline of the next line). So a square on screen is 12x7 in characters. I got these numbers by zooming in on a screen shot. YMMV.

############ ############ ############ ############ <-- 12x7 ############ ############ ############

If I were trying to write this, I'd probably go a brute force route first. Count the characters, estimate the size of a circle that would encompass them, and then start with a circle somewhat larger than that. I'd loop over circles of progressively smaller sizes. At each size, I'd try to break the lines to (handwave ahead) fit the edges of the circle and measure how close I get. Whatever formatting gets closest wins. I'd be tempted to insert an extra space between some words to get the edges to come out right (as with fully justified text).


In reply to Re: Round tuits via Text::Autoformat or other ways by kyle
in thread Round tuits via Text::Autoformat or other ways by sg

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-25 20:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found