mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-30 13:49:46 +08:00
1 parent
04058ce76a
commit
a5f51294eb
9 files changed
+50
-13
No files matched your search
@@ -1080,6 +1080,9 @@ func scaleTextNumbers(value string, scale float64) string {
|
||||
// 入参: obj 文字对象
|
||||
// 返回: error 错误信息
|
||||
func (e *Editor) prepareText(obj *TextObject) error {
|
||||
if id := editorResourceID(obj.Font); id != "" {
|
||||
obj.Font = id
|
||||
}
|
||||
var sfnt FontMetrics
|
||||
external := false
|
||||
for _, resource := range e.resources {
|
||||
|
||||
Reference in new issue
Block a user