Anyone know of a rounded corners python script for Fontlab, similar to Xtream Path for Illustrator?
Yes, Eric van Blokland wrote one for FF Unit Rounded.
But i don’t know if it’s written to be used in FontLab. Perhaps it’s for Superpolator.
It was for Superpolator, which of course is a tool that you'd use with FontLab Studio rather than in it.
I wrote a rounded corners Python script for my Mashine Rounded but that only accepts straight polygons as an input so it probably wouldn't help you much.
Georg Seifert showed me a rounded corners script he has written for FontLab. It is really sophisticated: it gives obtuse angles a greater curve radius in order to make it visually consistent!
Maybe you can convince him to share it, it is probably better than anything else out there.
TypeMedia grad Frederik Berlaen wrote the round corner tool I used for FF Unit. Movie here. The confusion with Superpolator got started on a Spiekerblog post. For Unit Rounded, both tools were used, but only Frederik's made round corners. And yes, it does make proportional corners, it even handles curve to curve segments.
so was it so that Fredrik's script made the rounded corners and then you used Superpolator to help find Spiekermann the "right" amount of rounding, i.e. the optimal instances between fully straight and fully round?
Erik asked me a while ago for some scripts to "turn" corners into round ones.
I wrote a stand alone app to convert UFO's to rounded UFO's see ( http://www.typemytype.com/scripting/roundingufo/ )
and next to that i wrote also a FL script that does the same thing because its the same code :). It can add rounding to the whole font or just to one point in a glyph (short movie: http://www.vimeo.com/704368 )
the input can be a corner with straight lines aswell as a combination with curves or just only curves.
The parameters are the radius of the rounding and where you want rounding: in the black or white corners
Erik used the standalone UFOrounding app for the round corners and superpolator for the interpolations :)
For the standalone app i also added inktraps because its basically the same thing: adding rounding or inktraps :)
When looking through Hrant's proposal for an ink trap formula, The Trapping Flower, I too realized It could also be adapted to rounding corners as well (and further that the "flower" need not necessarily be circular). Of course, not being a programmer, I have no idea as to how to automate this method.
I'm curious as to how you did it, Frederik, and if your app could be adapted to run with FontForge, either as a Python script internally or as a post-process on .sfd files.
Thanks for your comments guys. I think I´ll contact Georg Seifert then, thanks Tim.
Frederik, is your FL script available?
I just released a python rounded corner script for FontLab yesterday at http://betatype.com. It's very nuts and bolts, but it allows a user to select the points he/she wants rounded, configure x and y radius, as well as the length of the bezier handles, influencing the steepness of the curve.
It definitely isn't designed to be automatic where you can point it at a whole font and expect some magic new design to come out of it. That never works anyway. You really need to pick the corners that need to be rounded, and by how much.
Great, looks really usable, thanks for sharing Christian.