mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-14 17:13:40 +00:00
[instancer/L4] Add a comment from upstream
This commit is contained in:
parent
244f3224b9
commit
32a9ac2e3a
1 changed files with 2 additions and 0 deletions
|
@ -253,6 +253,8 @@ _solve (Triple tent, Triple axisLimit, bool negative = false)
|
|||
* axisDef axisMax
|
||||
*/
|
||||
float newUpper = peak + (1 - gain) * (upper - peak);
|
||||
// I feel like the first condition is always true because
|
||||
// outGain >= gain.
|
||||
if (axisMax <= newUpper && newUpper <= axisDef + (axisMax - axisDef) * 2)
|
||||
{
|
||||
upper = newUpper;
|
||||
|
|
Loading…
Add table
Reference in a new issue