shithub: freetype+ttf2subf

Download patch

ref: 0579d545af5e533b3eb15eff1467ebb1433e345f
parent: 2df73b397d5150986758c00f90db7b989dba5a33
author: Werner Lemberg <[email protected]>
date: Mon Dec 18 18:45:58 EST 2017

Update incorrect ChangeLog entry.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,11 +16,11 @@
 
 2017-12-18  Matthias Clasen  <[email protected]>
 
-	[truetype] Minor code beautification.
+	[truetype] Fix clamping, minor tracing code beautification.
 
 	* src/truetype/ttgxvar.c (ft_var_to_normalized): Trace number of
 	design coordinates.
-	Simplify code.
+	Use clamped value.
 
 2017-12-18  Werner Lemberg  <[email protected]>
 
--- a/src/truetype/ttgxvar.c
+++ b/src/truetype/ttgxvar.c
@@ -1753,7 +1753,7 @@
           a->minimum / 65536.0,
           a->maximum / 65536.0 ));
 
-        if ( coord > a->maximum)
+        if ( coord > a->maximum )
           coord = a->maximum;
         else
           coord = a->minimum;