mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 08:46:55 +08:00
1 parent
c64bc9d594
commit
35631cdf98
13 files changed
+1188
-76
No files matched your search
@@ -565,7 +565,7 @@ func (e *Editor) measureCompositeMembers(renderer *Renderer, nodes []*editorComp
|
||||
capability.ReasonCode, capability.Reason = editReason(err), err.Error()
|
||||
errors.As(err, &capability.MissingGlyphs)
|
||||
} else {
|
||||
capability.TextContent = text.ReadDirection == 0 && text.CharDirection == 0
|
||||
capability.TextContent = text.ReadDirection == 0 && text.CharDirection == 0 && (text.layout != nil || len(text.CGTransform) == 0)
|
||||
if _, err := text.TextFrame(); err == nil {
|
||||
capability.Reflow = capability.TextContent
|
||||
capability.LayoutKnown = text.layout != nil
|
||||
|
||||
Reference in new issue
Block a user