Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: RFC: more of that almost-book

by tmoertel (Chaplain)
on Oct 16, 2006 at 14:22 UTC ( [id://578524]=note: print w/replies, xml ) Need Help??


in reply to RFC: more of that almost-book

Bill,

Cool.

One bit of feedback on the typography: The book uses some characters that are not available in many fonts. For example, the THIN SPACE (U+2009) is used after :: in Perl::Identifiers::Like::This. I suspect your goal was typographic refinement, but the result, at least when the characters are not available, is exacly the opposite: the browser inserts a big, fat I-can't-find-that-character-in-the-font-so-I'll-use-this-boxy-all-purpose-placeholder glyph instead. The result looks pretty bad: Perl::[]Identifiers::[]Like::[]This.

Replies are listed 'Best First'.
Re^2: RFC: more of that almost-book
by billh (Pilgrim) on Oct 16, 2006 at 14:38 UTC
    Yeah, I was just messing about, trying to achieve a discretionary line-break (I'd really have liked a zero-width space for that in fact :-)
    I'll remove them when I next push (they're added as part of the transform, not inline in the source).
    Bill H
    perl -e 'print sub { "Hello @{[shift]}!\n" }->("World")'

      Discretionary line breaks can be achieved with the Soft Hyphen (­, I think). However, it doesn't work in Firefox (or other gecko-based UAs), and where it is supported elsewhere, it will add a hyphen before the break. Don't know if that helps or hurts, but might give you a place to start.

      <radiant.matrix>
      Ramblings and references
      The Code that can be seen is not the true Code
      I haven't found a problem yet that can't be solved by a well-placed trebuchet

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://578524]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-25 07:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found