Thread: New font weight
View Single Post
Old 06-29-2026, 03:06 AM   #7
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 75,848
Karma: 320621266
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
I think that JSWolf means that adjusting the weight of the font used to display the text should not be done by changing which variant of a font is used as the 'regular' text font, but by programatically adjusting the weight of all the variants.

So if, say, Times New Roman is selected as the font for text display, -Regular should be used for ordinary text, and -Bold for bold text, etc.

But if the font weight control is used to indicate that text should be 'bolder', all weights of Times New Roman should programatically be made bolder.

Plain text should still be Times New Roman-Regular, but made programatically bolder
Bold text should still be Times New Roman-Bold, but made programatically bolder

It's a different way of looking at how that control should be implemented.

The idea is, I think, that the font family should just control the font family used. Which variant of a font family should be used should be just the usual -Regular, -Bold, -Italic, etc.

The weight control should control how much artificial weight is added to each variant.

At least, this is my understanding of JSWolf's opinion. I hope he'll correct me if I'm wrong.

Now, whether this is the way you should do it, I don't have an opinion at the moment. I'm not very fussy about this, and I have't really explored anything except switching font family.
pdurrant is offline   Reply With Quote