Non-linear or higher-order interpolation (HOI)
Jasper de Waard
Posts: 641
Hello there,
Following a discussion in this thread, I thought it would make sense to create a new thread on the topic of non-linear interpolation.
The principle is explained very nicely (I think) by Underware here.
I'm personally interested in this, because I'm trying to create an animated version of a typeface I'm working on. Of course one could simply animate it in animation software, but HOI in a variable font would be a much more elegant and flexible solution. Obviously this is just one example use for HOI, the possibilities are endless.
So, is there any chance we will see HOI become part of the variable fonts spec? Are there any work-arounds or alternatives to animation? And what would be the key arguments for making HOI a reality?
Lots of questions, I know. Just throwing it out there.
Cheers,
Jasper
Picture by Underware: https://underware.nl/case-studies/hoi/
Following a discussion in this thread, I thought it would make sense to create a new thread on the topic of non-linear interpolation.
The principle is explained very nicely (I think) by Underware here.
I'm personally interested in this, because I'm trying to create an animated version of a typeface I'm working on. Of course one could simply animate it in animation software, but HOI in a variable font would be a much more elegant and flexible solution. Obviously this is just one example use for HOI, the possibilities are endless.
So, is there any chance we will see HOI become part of the variable fonts spec? Are there any work-arounds or alternatives to animation? And what would be the key arguments for making HOI a reality?
Lots of questions, I know. Just throwing it out there.
Cheers,
Jasper
Picture by Underware: https://underware.nl/case-studies/hoi/
1
Comments
-
So, is there any chance we will see HOI become part of the variable fonts spec?Yes. It's been discussed by an ad hoc working group (along with some other much-needed improvements and extensions to the OTvar spec), but there's an administrative block to actually getting the spec updated at the moment, because Microsoft currently doesn't have anyone in charge of the OT spec. There are people like @Rob McKaughan who are actively pushing OTvar development from within Microsoft, but he doesn't have 'ownership' of the spec.
6 -
John Hudson said:So, is there any chance we will see HOI become part of the variable fonts spec?Yes. It's been discussed by an ad hoc working group (along with some other much-needed improvements and extensions to the OTvar spec), but there's an administrative block to actually getting the spec updated at the moment, because Microsoft currently doesn't have anyone in charge of the OT spec. There are people like @Rob McKaughan who are actively pushing OTvar development from within Microsoft, but he doesn't have 'ownership' of the spec.0
-
In answer to the query raised in the other thread:[@Matthew Smith] Based on what Underware is doing with HOI (Higher Order Interpolation), I think variable fonts already support that, however, I don't think many tools are built for it at the moment.[@Jasper de Waard] FAFAIK, the variable font spec does not support that. (https://forum.glyphsapp.com/t/non-linear-interpolation/8719) Underware must have created their own tools, but this is not something that can be implemented straightforwardly in design apps.HOI is sort of supported. Underware found what might be classed as loopholes, i.e. undefined behaviours, in OTvar that enabled them to use the existing architecture as a basis for HOI. The working group has discussed how to properly define these behaviours and to make HOI a formal part of the spec.
4 -
Does SuperFont™ exists in the InterWebs™? I could only find mentions on three pages from Underware's website, and not much more. @John Hudson HOI is sort of supported — by what software/rendering engine? I mean, am I unable to find that font because it can't be... viewed just yet?The article is spot on, until it starts giving me a headache at this hour from the complexity, but still cool™. Thanks for linking @Jasper de Waard!0
-
by what software/rendering engine?In principle, I think it may work pretty widely. The loophole in the spec is that more than one axis can have the same tag, and the result is that they move in unison. This allows a point to be moved in x and y directions along a path, rather than in a straight line, because both axes are affecting the movement at the same time. I'm pretty sure Underware have made their own tools to create the complex HOI fonts they've been showing, but as I understand it the behaviour at the format level is mostly in place and just needs to be formally specified.
That said, I've not played directly with any HOI fonts, and don't know what environment dependencies might exist. This is why I consider the mechanisms used to be loopholes — which sounds nicer than 'hacks' —, because the behaviour is undefined in the spec, so platforms might interpret the data in different ways.
2 -
I would like to add meta-axes to the specification, which will not only cover HOI needs, but also provide other options.2
-
Meta-axes have definitely been discussed, and a few different models put forward. The most likely implementation path is probably a version rev to the avar table.1
-
John Hudson said:Microsoft currently doesn't have anyone in charge of the OT spec. There are people like @Rob McKaughan who are actively pushing OTvar development from within Microsoft, but he doesn't have 'ownership' of the spec.2
-
HOI works nicely in all current browsers.
Just have a look at grammato.com.As much as we are currently used to draw our outlines with curves (instead of straight lines only), the same will probably be true for interpolations in the near future. Just as 99% of all fonts look better with curves, the same applies for interpolation: nearly all variable fonts made today could benefit from HOI (including text fonts). We showed some examples amongst others in our talk at ATypI Antwerp 2018. And because of this, Underware believes that the HOI design method should be natively built into a font-editor. Currently, we are discussing various possibilities.If you are interested, let us know. (I’m not very active on this forum, so please email to info@underware.nl)5 -
@Simon Cozens
There already exists an open version of the OpenType spec: the Open Font Format (ISO/IEC 14496-22:2019). I could imagine that if MS continues to stall on the OpenType spec per se, new-stuff momentum might shift to the Open Font Format.2 -
Updating the OFF version of the spec requires working within the ISO framework and standards procedure, which seems overly bureaucratic to a lot of people. Frankly, I think the only reason anything happens on the OFF side is that Vlad (Monotype) understands the process and keeps on top of the bureaucratic requirements. By contrast almost everything of value that's been done on the OpenType side has been done via ad hoc working groups (and without formal constitution and without involving corporate management or lawyers).
Something between those two approaches would be best: an established but less bureaucratic and more flexible framework than ISO, and a more open and transparent process than the ad hoc working groups. For a while, I thought W3C might be a good place, because their draft it, build it, publish it approach to specification seems like a good model for a font format, but given the obvious synergies between text encoding and text display, and the significant crossover of individual expertise and engagement, I think Unicode would probably be the best place.4 -
There is now an issue for discussing how an implementation should handle multiple axes with the same axis tag.
That being said, this thread (and much later the above issue) got me thinking about how there seems to be a lot of interest in HOI but not a lot of explanation of the actual nuts and bolts, which would help in understanding what can and cannot be done. Then I realized that I didn't really know either, so I wrote up an explainer to try and explain it to myself. At the moment this is a very terse explanation with a bit of math on bezier curves and assumes some prior knowledge of how 'fvar' and 'gvar' work. It could also really use some animations. It does work everything down to an actual example font which is fun to play with in Samsa. As terse an explanation as it is, hopefully it's helpful.0 -
Waiting for notan...0
-
Ben Wagner said:... so I wrote up an explainer ...
Understanding Non-Linear Interpolation in OpenType Variable Fonts
3 -
Hi there,I'm working on a plugin that introduces NLI/HOI to the Glyphs app.6
Categories
- All Categories
- 43 Introductions
- 3.7K Typeface Design
- 803 Font Technology
- 1K Technique and Theory
- 622 Type Business
- 444 Type Design Critiques
- 542 Type Design Software
- 30 Punchcutting
- 136 Lettering and Calligraphy
- 83 Technique and Theory
- 53 Lettering Critiques
- 485 Typography
- 303 History of Typography
- 114 Education
- 68 Resources
- 499 Announcements
- 80 Events
- 105 Job Postings
- 148 Type Releases
- 165 Miscellaneous News
- 270 About TypeDrawers
- 53 TypeDrawers Announcements
- 116 Suggestions and Bug Reports