Comments (4)
We could require that fonts themselves should make sure that the interpolated local designspace values cannot be out of bounds, but that feels a bit wrong.
from variable-components-spec.
Perhaps clamping between -1.0 and +1.0 is good enough, even for axes that don't go below 0.
varLib behaves correctly with such clamping (it simply doesn't apply a delta if the scalar is not between 0 and 1, or something to that effect).
from variable-components-spec.
Perhaps clamping between -1.0 and +1.0 is good enough, even for axes that don't go below 0.
That's what I do in avar2 proposal, clamp to -1..+1.
from variable-components-spec.
I raised this issue in respect of avar2. In that case, the only practical disadvantage of sticking to a simple -1..+1 seems to be that a polyfill would not be able to generate all the possibilities that the font is capable of in an avar2 environment. That doesn’t seem like a reason to forbid fonts that exploit the technique.
from variable-components-spec.
Related Issues (8)
- Should the global designspace location be implicitly passed down to components? HOT 4
- How to specify uniform x, y scaling HOT 1
- Conflict with COLRv1 transforms… merge the proposals? HOT 6
- Clarify: The composite is in full control of the designspace location of the component HOT 4
- Clarify: The global designspace location can affect the composite glyph... HOT 2
- Clarify: The base glyph ID. This specifies which glyph we are referencing. HOT 5
- VarIdx's should be controlled by a flag HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from variable-components-spec.