View Single Post
Old 07-05-2026, 12:02 PM   #79
petrjahoda
Evangelist
petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.petrjahoda ought to be getting tired of karma fortunes by now.
 
Posts: 451
Karma: 567890
Join Date: Dec 2025
Location: Czech Republic
Device: iphone, ipad
Hey QuietShelfLife, here's how I did it in justread:
1. A slider controls the font weight from 100 to 900. If the font includes that exact weight, it uses it directly for the cleanest rendering. If not, it generates one. So the user just slides left or right and the text gets thinner or thicker.
2. Bold text is always pushed beyond the current weight, so it stays visibly bolder than the surrounding text no matter where the slider sits.

Maybe you can do it somehow similar.
petrjahoda is offline   Reply With Quote