mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-30 01:27:26 +08:00
1 parent
1c576bde18
commit
1de949abfc
8 files changed
+215
-23
No files matched your search
@@ -16,9 +16,18 @@
|
||||
|
||||
package webview
|
||||
|
||||
import "path/filepath"
|
||||
|
||||
// conversionMemory 未提供系统内存探测时仅按并行数调度
|
||||
var conversionMemory func() int64
|
||||
|
||||
// instanceDirectory 解析数据目录的实际路径
|
||||
// 入参: path 数据目录路径
|
||||
// 返回: string 规范路径, error 路径解析错误
|
||||
func instanceDirectory(path string) (string, error) {
|
||||
return filepath.EvalSymlinks(path)
|
||||
}
|
||||
|
||||
// fontNameLanguage 未指定系统显示语言时沿用字体名称表顺序
|
||||
// 返回: uint16 未指定平台标识, uint16 未指定语言标识
|
||||
func fontNameLanguage() (uint16, uint16) {
|
||||
|
||||
Reference in new issue
Block a user