googlefonts / fb-variable-spacing

Tools to add a spacing axis to variable fonts.
MIT License
0 stars 1 forks source link

add support for glyph shape variation along the spacing axis #5

Open gferreira opened 1 year ago

gferreira commented 1 year ago

as described in the original proposal by Frank Blokland:

Glyph side-bearing distances (with ensuing effect on advance widths) are typically the primary aspect of design that varies, though details such as serifs or spacing within ligatures may also be encompassed in this variation.

how to implement glyph shape variation in the current VariableSpacing workflow:

open questions:

dberlow commented 1 year ago

Frank's original proposal was for Glyph specific changes.

This comes from a traditional view where certain letters with multiple widths were added to a job case, to be used to change a line length.

We could easily simulate this with XTRA, which we use evenly across all letters except I, i and j, to change line lengths. That simulation could be directed only to use XTRA on m,h,n,u,r, v and w, e.g.

So, storing want, Frank is talking about for the Fonts were working with wood, mean storing the subset of cliffs that you wish to use in a particular style to accomplish justification.

Hope that helps? Let me know we can talk later this week.

gferreira commented 1 year ago

hello David, thanks for your feedback

the kind of adjustments I have in mind are related to glyphs which have some kind of internal spacing, like ligatures, digraphs, fractions, etc – see the list for Roboto Flex SPAC

in the default style this looks like this:

before: tight side-bearings, default internal spacing

glyph-adjustments-SPAC_1

after: tight side-bearings, tight internal spacing

glyph-adjustments-SPAC_2

I think this is different from making glyphs narrower with XTRA?

happy to discuss this and everything else, whenever you can.

dberlow commented 1 year ago

In most cases of these glyphs what you are doing is not different from what is going on an XTRA.