Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Font-Weight simulation #142

Open
prepare opened this issue Aug 4, 2018 · 5 comments
Open

Font-Weight simulation #142

prepare opened this issue Aug 4, 2018 · 5 comments

Comments

@prepare
Copy link
Member

prepare commented Aug 4, 2018

https://www.webtype.com/info/articles/fonts-weights/

@prepare
Copy link
Member Author

prepare commented Aug 5, 2018

Implementation technique : see

PaintLab/PixelFarm#4 (comment)

PaintLab/PixelFarm#4 (comment)

@prepare
Copy link
Member Author

prepare commented Aug 12, 2018

Early preview ...

font_weight1
pic 1: Palatino Linotype, 14 pts with font weight simulation

@zwcloud
Copy link
Contributor

zwcloud commented Aug 12, 2018

It is the contour points that are changed by Typography to make the rendered character bolder or thinner. Right?

@prepare
Copy link
Member Author

prepare commented Aug 12, 2018

from pic1 => yes

@prepare
Copy link
Member Author

prepare commented Aug 12, 2018

Font-weight simulation implementation is an optional feature.
so I put it in 'Typography.Contours' module.

from pic1 (above). => contour points are dilated/ shrinked base on glyph 'core' path (see, PaintLab/PixelFarm#4 (comment)).

Another approach (simpler) may be 'scale it' only in X-axis direction. => I will investigate it.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants