W3C home > Mailing lists > Public > www-style@w3.org > April 2014

Re: Characters Per Line

From: Jirka Kosek <jirka@kosek.cz>
Date: Thu, 24 Apr 2014 19:48:16 +0200
Message-ID: <53594E60.8060507@kosek.cz>
To: mus@designtoday.co.uk
CC: www-style@w3.org
On 14.4.2014 15:02, mus@designtoday.co.uk wrote:
> The general rule in typography is the CPL should be between 55-75
> depending on the typeface family and its subsequent fonts. As each font
> has a different character width this can make a huge difference. So the
> idea would be something along the lines like
> 
> P {
>  cpl: 75;
> }

I don't think that counting characters make sense for proportional
fonts. 60 "i" letters produce much shorter line then 60 "m" letters. Is
there any use-case which can't be solved by something like

body { max-width: 50em; }

As "em" is related to font-size, it should give you good approximation
for this.

				Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep.
------------------------------------------------------------------
    Bringing you XML Prague conference    http://xmlprague.cz
------------------------------------------------------------------


Received on Thursday, 24 April 2014 17:48:49 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:39 UTC