glyphr-studio / Glyphr-Studio-1

A free, web-based font editor, focusing on font design hobbyists.
glyphrstudio.com
1.07k stars 94 forks source link

Oblique Character Generator #63

Open mattlag opened 10 years ago

mattlag commented 10 years ago

Use some math to get an existing Glyphr Project 95% of the way to being an Oblique variant.

Probably bulk action that affects all chars, maybe opt-out of some chars?

davelab6 commented 9 years ago

FontForge attempted an italic generator although it doesn't give good results.

An oblique generator, on the other hand, is very reasonable. http://remix-tools.com/slanter might be inspiring, and Roboto's italics are made this way with the opt-out you describe:

The so-called Italics are another thing. Slant the upright by 8.1° and overlay it with the existing Italic style — there you have it. Oh, wait, the K, S and Z are adjusted, so somebody actually looked at the fonts after slanting.

mattlag commented 9 years ago

Today I learned the difference between oblique and italic. Changed the title, because I actually meant oblique.

Slanter is interesting, i'll have to do some investigation, because I think the extreme path point on a path would have to change location in order to remain having vertical handles. AKA a circle's right hand extreme point is in a different x/y location than a slanted oval's right hand extreme point. Is there a way to mathematically determine this and do it programmatically...

davelab6 commented 9 years ago

This seems like it would need to follow https://github.com/mattlag/Glyphr-Studio/issues/124 for the slanting operation, then https://github.com/mattlag/Glyphr-Studio/issues/191 for layers and https://github.com/mattlag/Glyphr-Studio/issues/58 for a good undo system, so you could manage the process of making the slanted version.