diff --git a/src/util/misc.js b/src/util/misc.js index 410aab89..1a84fd7c 100644 --- a/src/util/misc.js +++ b/src/util/misc.js @@ -764,7 +764,8 @@ }, /** - * Clear char widths cache for a font family. + * Given current aspect ratio, determines the max width and height that can + * respect the total allowed area for the cache. * @memberOf fabric.util * @param {Number} ar aspect ratio * @param {Number} maximumArea Maximum area you want to achieve