mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-08-30 12:12:40 +08:00
style(代码风格): 统一代码风格
This commit is contained in:
+2
-1
@@ -18,11 +18,12 @@ import (
|
|||||||
"bytes"
|
"bytes"
|
||||||
"encoding/binary"
|
"encoding/binary"
|
||||||
"fmt"
|
"fmt"
|
||||||
"golang.org/x/text/encoding/simplifiedchinese"
|
|
||||||
"math"
|
"math"
|
||||||
"sort"
|
"sort"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
"golang.org/x/text/encoding/simplifiedchinese"
|
||||||
)
|
)
|
||||||
|
|
||||||
// wrapCFFToOTF 将 CFF 裸数据包装为 OpenType 字体格式
|
// wrapCFFToOTF 将 CFF 裸数据包装为 OpenType 字体格式
|
||||||
|
|||||||
+2
-1
@@ -15,10 +15,11 @@
|
|||||||
package ofdgo
|
package ofdgo
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/tdewolff/canvas"
|
|
||||||
"image/color"
|
"image/color"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
"github.com/tdewolff/canvas"
|
||||||
)
|
)
|
||||||
|
|
||||||
// parseColor 解析颜色字符串
|
// parseColor 解析颜色字符串
|
||||||
|
|||||||
Reference in New Issue
Block a user