Re: Serifed, variable-pitch font.
FWIW, "proportional" or "typographic" would be more conventional terms than "variable pitch." -- JHHL (Feel free to visit me some Saturday at the International Printing Museum. After COVID-19 is no longer an existential threat, but merely a minor nuisance.)
Re: Serifed, variable-pitch font.
On Thu, 18 Feb 2021 21:40:17 +0100 wrote: > On Thu, Feb 18, 2021 at 11:26:16AM -0800, pe...@easthope.ca wrote: > > From: > > 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". > > More or less, yes :-) > > > Workable although slightly weird. > > The whole WWW is... weird. There can't be many protocols which have been stretched and bodged so far beyond their original purpose as html. -- Joe
Re: Serifed, variable-pitch font.
On Thu, 18 Feb 2021 11:26:16 -0800 pe...@easthope.ca wrote: > From: > 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
Re: Serifed, variable-pitch font.
On Thu, Feb 18, 2021 at 11:26:16AM -0800, pe...@easthope.ca wrote: > From: > 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". More or less, yes :-) > Workable although slightly weird. The whole WWW is... weird. Cheers - t signature.asc Description: Digital signature
Re: Serifed, variable-pitch font.
From: 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. Thx,... P. -- cell: +1 236 464 1479Bcc: peter at easthope. ca VoIP: +1 604 670 0140
Re: Serifed, variable-pitch font.
On Wed, Feb 17, 2021 at 07:52:33AM -0800, pe...@easthope.ca wrote: > From: > Date: Tue, 16 Feb 2021 09:57:24 +0100 > > If all you want is a serif font and care to be portable, your best > > choice will be to specify a generic "serif", like so: > > > > font-family: serif > > Will try that, thanks. > > Really, two attributes are involved: serifing and spacing. > Specification of both should be possible. Eg. > font-family: serif & monospace > font-family: sans-serif & monospace > font-family: serif & varispace > font-family: sans-serif & varispace Note that in this context, 'serif' isn't an attribute, but a "generic font family". Namely the one where you'll find Times and sisters. So unless the browser is downright malicious it'll pick a non-monospaced font. If it's malicious, its user will hopefully know... Cheers - t signature.asc Description: Digital signature
Re: Serifed, variable-pitch font.
From: Date: Tue, 16 Feb 2021 09:57:24 +0100 > If all you want is a serif font and care to be portable, your best > choice will be to specify a generic "serif", like so: > > font-family: serif Will try that, thanks. Really, two attributes are involved: serifing and spacing. Specification of both should be possible. Eg. font-family: serif & monospace font-family: sans-serif & monospace font-family: serif & varispace font-family: sans-serif & varispace The syntax I've seen allows only one attribute: either spacing or sarifing. And varispace is not included. A CSS committee might be working on it; bit by bit. Thanks, ... P. -- cell: +1 236 464 1479Bcc: peter at easthope. ca VoIP: +1 604 670 0140
Re: Serifed, variable-pitch font.
From: Darac Marjal Date: Tue, 16 Feb 2021 08:26:54 + > ... worth looking at the W3C's recommendations for "Web Safe Fonts". Helpful link. Thanks Darac, ... P. -- cell: +1 236 464 1479Bcc: peter at easthope. ca VoIP: +1 604 670 0140
Re: Serifed, variable-pitch font.
On Mon, Feb 15, 2021 at 07:50:13PM -0800, pe...@easthope.ca wrote: > What serifed, variable-pitch font is available to Firefox and most > contemporary browsers? I want to specify a font-family in inline > styling. Preferably to work in MacOS and MS Windows as well as Linux. If all you want is a serif font and care to be portable, your best choice will be to specify a generic "serif", like so: font-family: serif You can be more specific, though. People will tell you things like brand recognition and all that. If you have no strong reason, the above is the friendliest, because it'll leave the rest up to the user's preferences. The gory details are well explained here [1]. And oh, if you end up referencing a web font out there, consider using a free one and hosting it yourself. If you refer to one "out there" (perhaps --GASP!-- the google), think about how you are selling your user's data for nothing in return (to them!). Cheers [1] https://www.w3schools.com/css/css_font.asp - t signature.asc Description: Digital signature
Re: Serifed, variable-pitch font.
On 16/02/2021 03:50, pe...@easthope.ca wrote: > What serifed, variable-pitch font is available to Firefox and most > contemporary browsers? I want to specify a font-family in inline > styling. Preferably to work in MacOS and MS Windows as well as Linux. Not a definitive list, but running "fc-list | grep -i Serif" should get you part of the way (Aside: fc-list is supposed to have a filter language of its own, but examples are few and far between on the web, so I couldn't work out how to do "has serifs AND is variable pitch"). If, by the phrase "most contemporary browsers" you're implying that you're writing a web page and want to know what fonts other people might have, then it's worth looking at the W3C's recommendations for Web Safe Fonts <https://www.w3schools.com/cssref/css_websafe_fonts.asp>. OpenPGP_signature Description: OpenPGP digital signature
Serifed, variable-pitch font.
What serifed, variable-pitch font is available to Firefox and most contemporary browsers? I want to specify a font-family in inline styling. Preferably to work in MacOS and MS Windows as well as Linux. Thx, ... P. -- cell: +1 236 464 1479Bcc: peter at easthope. ca VoIP: +1 604 670 0140