text/shape: move package measure

Text shaping is a common name for what package measure does. Rename
it to "shape" and move it below the text package.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-09-30 16:09:22 +02:00
parent beaec661d2
commit 1d3360699e
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
// SPDX-License-Identifier: Unlicense OR MIT // SPDX-License-Identifier: Unlicense OR MIT
/* /*
Package measure implements text layout and shaping. Package shape implements text layout and shaping.
*/ */
package measure package shape
import ( import (
"math" "math"
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Unlicense OR MIT // SPDX-License-Identifier: Unlicense OR MIT
package measure package shape
import ( import (
"golang.org/x/image/font" "golang.org/x/image/font"