mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 16:44:23 +08:00
This commit is contained in:
1 parent
06b5df9173
commit
697a059162
18 files changed
+694
-130
No files matched your search
+1
-1
@@ -79,7 +79,7 @@ func (e *Editor) SetFontFS(fsys ...fs.FS) {
|
||||
func (e *Editor) SetPageCompiler(compiler PageCompiler) {
|
||||
e.backends.Compiler = compiler
|
||||
if e.fontRenderer != nil {
|
||||
e.fontRenderer.backends.Compiler = compiler
|
||||
WithRenderBackends(e.backends)(e.fontRenderer)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user