fontra / fontra/variable-components-in-ufo

Add simple example of a glyph using variable components

Open
#9 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7
Forks
1
PR merge metrics
No merged PRs in 30d

Description

To illustrate the documentation, a simple example like the one below would be useful.
Here the glyph `Box` uses 4 instances of the variable glyph `VariableGlyph`.
```






com.black-foundry.variable-components


base
VariableGlyph
location

height
700
width
80

transformation

rotation
0
scaleX
1
scaleY
1
skewX
0
skewY
0
tCenterX
0
tCenterY
0
translateX
40
translateY
310



base
VariableGlyph
location

height
700
width
80

transformation

rotation
0
scaleX
1
scaleY
1
skewX
0
skewY
0
tCenterX
0
tCenterY
0
translateX
460
translateY
310



base
VariableGlyph
location

height
80
width
500

transformation

rotation
0
scaleX
1
scaleY
1
skewX
0
skewY
0
tCenterX
0
tCenterY
0
translateX
250
translateY
0



base
VariableGlyph
location

height
80
width
500

transformation

rotation
0
scaleX
1
scaleY
1
skewX
0
skewY
0
tCenterX
0
tCenterY
0
translateX
250
translateY
620




```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.