Re: [csswg-drafts] [css-fonts-4] font-stretch is unfortunately named (#551)

I think it's been summed up enough by others, but just adding my two cents
that I don't think `font-pitch` is the right answer; `font-width` is more
descriptive and in line with existing terminology in the fonts themselves
and in the type and graphic design world in general. Chris' proposal seems
reasonable.

Jason


On Tue, Oct 10, 2023 at 11:08 AM Chris Lilley ***@***.***>
wrote:

> So the question is, whether implementers are willing to deal with the
> overhead of a property alias and a descriptor alias to finally get rid of
> this wart?
>
> IF so, my proposal is:
>
>    - A property font-width exists (with largely same description that
>    font-stretch currently has).
>    - For historical reasons, a property font-stretch exists which is an
>    alias of font-width
>    - Setting font-width also sets font-stretch to the same value
>    - Setting font-stretch also sets font-width to the same value
>    - Getting either property returns that one value.
>
> also
>
>    - a descriptor font-width exists on @font-face (same spec text as
>    current font-stretch descriptor)
>    - for historical reasons, a descriptor font-stretch also exists which
>    has the same meaning as font-width and is treated as being the same
>    - as with other @font-face descriptors
>    <https://drafts.csswg.org/css-fonts-4/#font-face-rule> we use the
>    "last one wins":
>
> When a given descriptor occurs multiple times in a given @font-face rule,
> only the last descriptor declaration is used and all prior declarations for
> that descriptor are ignored.
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/w3c/csswg-drafts/issues/551#issuecomment-1755972551>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAEDGRMGWU456YCY4IC4RNLX6WFJHAVCNFSM4CRJGR52U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZVGU4TOMRVGUYQ>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>


-- 
GitHub Notification of comment by jpamental
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/551#issuecomment-1756146937 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 10 October 2023 20:07:38 UTC