Académique Documents
Professionnel Documents
Culture Documents
14/06/14 15:29
Interpolation of contrast
A simple formula and an algorithm for interpolating horizontal to
vertical stem width ratio. The aim is for contrast to grow in linear
relationship to weight. The algorithm results in anisotropic
interpolation, hence its usability can be limited.
1. The problem
2.
3.
4.
5.
6.
An example
The formula
The algorithm
The implementations
The limitations
7. The application
The problem
The width of vertical and horizontal stems is hardly ever equal in
type design.1 What's more, within one type family the bold weights
often need a bigger difference in stroke weight than the light
weights.2 At the same time, designing the former with higher
contrast leads to problems with interpolation.
The standard isotropic Multiple Master interpolation between a very
light master with almost no stroke contrast and a very bold one with
high contrast produces too thin horizontals in most of the
interpolated weights.3
http://www.maciejratajski.com/theory/interpolation-of-contrast/#problem
Pgina 1 de 7
14/06/14 15:29
That is the case, because even if the stem weights grow linearly
within the family, the ratio between them doesn't. On the contrary,
we observe a negative exponential relationship between vertical
stem width and horizontal to vertical ratio, which leads to uneven
distribution of contrast.
fig 3: Horizontal to vertical stem width ratio (as a percentage) in relation to vertical
stem width for isotropic interpolation (left) and interpolation of contrast (right).
An example
Let's assume we have two masters: an extra light one with no
stroke contrast and an extra bold one with horizontals that are 80%
of verticals. If we interpolate the light, medium and bold weights, we
get the linear interpolation of stem widths:
ExtraLight 2020 = 100%
Light 5565 85%
Medium 90110 82%
Bold 125155 80%
http://www.maciejratajski.com/theory/interpolation-of-contrast/#problem
Pgina 2 de 7
14/06/14 15:29
The formula
The standard formula for isotropic, linear interpolation is:
y=(xx0)(x1x0)(y1y0)+y0
The proposed formula for interpolating y to x ratio is:
y={[1(xx0)(x1x0)](y0x0y1x1)+y
1
x1}x
http://www.maciejratajski.com/theory/interpolation-of-contrast/#problem
Pgina 3 de 7
14/06/14 15:29
of contrast (blue).
The algorithm
The algorithm interpolates ratio between horizontals and verticals. It
needs to be provided with vertical and horizontal stem widths of the
extreme masters (LightWeightX, LightWeightY and BoldWeightX,
BoldWeightY).
fig 5: A good way of providing the algorithm with x and y weight of the extreme
masters is by using stem widths.
Pgina 4 de 7
14/06/14 15:29
The implementations
This can be tested in all apps that allow for independent x and y
interpolation.
Glyphs app
Using it in Glyphs app requires adding InterpolationWeightY custom
parameter to the instances. To calculate it, apply the
InterpolationPointY value to the x interpolation axis.
GlyphsInterpolationWeightY = InterpolationPointY (
BoldWeightX LightWeightX ) + LightWeightX
Creating instances with this custom parameter is automated by a
great plug-in developed by Mekkablue.
http://www.maciejratajski.com/theory/interpolation-of-contrast/#problem
Pgina 5 de 7
14/06/14 15:29
The limitations
As with any anisotropic interpolation, there are some obvious
limitations to using this method in current type design process. It
doesn't take diagonal contrast into account and, depending on the
positions of nodes and handles, the angles and widths of diagonals
and the curvature might shift. These changes, though small, need
to be corrected manually.
The application
This method can be used as a starting point for the design, since it
automates the process of adjusting horizontal stroke weights. In
some cases it can also be tricked into producing the desired
diagonal angles and widths right away.4
Probably the best solution to the problem of contrast is still adding
an intermediate master, so this method can be used to simplify the
process of creating one.
http://www.maciejratajski.com/theory/interpolation-of-contrast/#problem
Pgina 6 de 7
14/06/14 15:29
http://www.maciejratajski.com/theory/interpolation-of-contrast/#problem
Pgina 7 de 7