[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Serifed, variable-pitch font.



On Thu, 18 Feb 2021 11:26:16 -0800
peter@easthope.ca wrote:

>     From: <tomas@tuxteam.de>
>     Date: Wed, 17 Feb 2021 18:08:05 +0100
> > So unless the browser is downright malicious it'll pick a
> > non-monospaced font. If it's malicious, its user will hopefully
> > know...  
> 
> OK, the meaning in CSS is more than the conventional meaning.
> For varispaced and serifed, "font-family: serif". 
> 
> For monospaced and serifed, "font-family: monospace".  (Courier 
> is a likely result.)
> 
> For varispaced sans-serifed, "font-family: sans-serif". 
> 
> For monospaced sans-serifed, name specific fonts.  Eg. 
> "font-family: 'Cascadia Code', 'HyperFont'"
> https://en.wikipedia.org/wiki/List_of_monospaced_typefaces
> 
> Workable although slightly weird.
> 

It's probably that way because there aren't that many applications for
monospaced fonts in web pages. Program code is normally shown in a
monospaced font to make typos easier to see, and columns of numbers
spring to mind, but some proportional fonts have monospaced digits for
just this purpose.

-- 
Joe


Reply to: