Stroked vectors in FontLab Studio 6
Ray Larabie
Posts: 1,432
I'm starting a typeface with a neon light effect in FontLab Studio 6. It's something I've done before with Ampacity and Electric. When I made those fonts, I wasted a lot of time manually cleaning up the mangled vector mess that FontLab's stroke tool created. Is there anything I can do to make this better besides expanding strokes in Illustrator or not using FontLab? Is there a trick to it? I'm certain every other font tool can do this properly but I'm in Windows so I pretty much have to use FontLab for this project. Was it really this bad in Fontographer?
- The original stroke at about 800 units: not an actual letter, just a test scribble with some RMX Harmonize
- 40 stroke with rounded ends (barf)
- Scaled 500%, stroked and scaled back down (yuck)
- 20 stroke with rounded ends (stop it)
0
Comments
-
Obviously Fontark.
Launch it in your browser (No OS dependency, no installation)
Set the Outline width to 10 units.
With this curves complexity you can ignore the SX system, and draw each glyph independently.
For each node on the original path (skeleton) Fontark's outline generation algo will produce one node on the inside and one node on the outside of the contour.
Generate an otf file and download it.
0 -
Did you try the 'Noodler' plugin in Glyphs:
And you can apply the effect on export, that means you can keep the center stroke. I know that you might like to refine some details here and there, but it will at least speed up the design phase a lot as you can get from centreline to finished font (to preview in Indesign) in a few seconds. And you can add several instances with different stroke widths. more details: https://www.glyphsapp.com/tutorials/monoline-1 -
This is not an effect, it is FA basic way of work in real time, plus per node control over the outline nodes to perform optic corrections and desired adjustments while the skeleton remains editable.2
-
Glyphs always looks like fun but off limits for Windows people. I'll give Fontark a try; the results look good. Anyone know of any way of doing reasonable stroke tracing in FontLab?3
-
FontLab centerline to MetaFont code trough MetaPost interpeter + some dark magic and back to FontLab... that's my way of working such design. It was (pay attention) proof of concept system that I designed for my doctorate thesis, and it worked just fine (in seconds)... but it was not interactive (GUI of some sort ant etc.) and it is currently under rewriting, but I wont finish it any time soon, because I am not needing such a tool right now. Curve cleanliness was superb!
As I see it FontArk results are superb - wonderful piece of software, but working in - browser is not my glass of beer and I don't favor the GUI also... nevertheless Ofir's implementation and engine is wonderful (congrats!) .1 -
For stroked fonts it's very hard to beat Fontark.2
-
Although the stroke in VI looks good, losing the points at extrema certainly sucks. FLS 5 did the same thing, as far as I can tell.
In any case, I've filed a bug on this for VI, # 872.3 -
Ray: I did a similar test in FontLab VI and achieved good results. Are you using the last build? The Contour > Expand Contour command respects the extremum nodes and produces orthogonal handles. This small video shows the test. And to scale up and down does not add or remove any node. Of course, you will get better results firstly correcting the inflection points and using Tunni lines adjust prior to expanding the contour.
Thomas: the only problem I got with Expand Contour is the lack of extrema in rounded start/end caps, as you can see at the end of the video. The result seems just a bit inferior to Noodler plugin for Glyphs.0 -
Huh. I trusted Ray's detailed report and images—but when I try it, I get excellent results in VI.
0 -
To satisfy my curiosity I have reanimated that old clumsy code of mine. Just for comparison - with my MetaStroke engine, as explained above...
0 -
Doh! I'm so sorry: I'm using Fontlab Studio 5.2.2. I think this site needs a "slap" button.
Thanks for all your helpful advice, everyone.
3 -
I use FontLab’s <Make Parallel Path> tool.I find it works fine, much better than <Expand Path>.5
-
@Nick Shinn
Yeah, it's probably better to do that and attach circles to the open ends manually. I'm aiming for something I can use for masters and I want precise control how those ends are constructed and I want precise twist overlaps on acute angles.
@Vassil Kateliev
What's MetaStroke?0 -
Following up on your suggestion Ray, how about this: # perform two actions on the same path, and combine the sides of one with the ends of the other.
Procedure:
1. Draw skeletal path
2. Copy path
3. <Expand Path> value 20, roundness 100.
4. Paste in Mask layer (Command M)
5. Clear outline layer
6. Paste skeletal path
7. <Make Parallel Path> value 10 each side; “Remove the original” “[open contour]”
8. In the Mask layer, individually select the round ends, cut, snap and paste into position in the Outline layer0 -
@Ray Larabie MetaStroke is the engine that in described in the post before that...
It was a FontLab to METAPOST+ to FontLab stroking/calligraphy MM masters producing engine that I developed as a proof-of-concept for my doctorate thesis. It was designed to create super clean contours, on multiple nib/pen settings, but always keeping the same node count and construct identical masters with different weights/widths for interpolation... I presume exactly what you are asking/willing to do with your design right now...
It is defunct now and very badly written (I knew very little python back then), but working 4 years ago. It needs to be rewritten from the ground up, but I do not have the time to invest in this particular project. Last night I patched it just so it could work for this particular example. When I finish rewriting the code it will be available for free (as all uni/thesis stuff usually is), but i presume FL5 will be defunct by then....
2 -
1
-
@Vassil Kateliev my haskell cubicbezier library is made exactly for these kinds of operations. It does curve approximation, finding intersections, removing overlap, etc... Approximation is done numerically, by refining a least squares approximation. It's still experimental though, I currently don't test for singular points. Otherwise it should give pretty accurate results.
1 -
@Kristof Bastiaensen oh my.. haskell is way out of my league, trying to understand your code made me feel dumb
... just out of curiosity, why bother with haskell and beziers/vector/font stuff... do you have something in mind, or just for pleasure? I am also really interested in how haskell deals with pattern recognition, have you considered trying to implement some sort of character anatomy recognition, for example... find all vertical stems in vector shapes and etc.0 -
All this works very nicely with the live brush capabilities in FontLab VI, btw.2
-
@Vassil Kateliev: yeah, I want to implement metafont in haskell, but for opentype. I am planning on supporting variable fonts too. In the long run I'd like to create a GUI for creating fonts using parameters and constraints. The code should be rather straight forward (except maybe the overlap algorithm), but if you aren't used to haskell... I don't think haskell is harder than other languages, but it is ... different. It takes time to get used to, but I like it, that's why I choose it for my personal projects.0
Categories
- All Categories
- 43 Introductions
- 3.7K Typeface Design
- 801 Font Technology
- 1K Technique and Theory
- 618 Type Business
- 444 Type Design Critiques
- 542 Type Design Software
- 30 Punchcutting
- 136 Lettering and Calligraphy
- 83 Technique and Theory
- 53 Lettering Critiques
- 483 Typography
- 301 History of Typography
- 114 Education
- 68 Resources
- 499 Announcements
- 80 Events
- 105 Job Postings
- 148 Type Releases
- 165 Miscellaneous News
- 269 About TypeDrawers
- 53 TypeDrawers Announcements
- 116 Suggestions and Bug Reports