From e491cdb48129752324c4e3764f99bd9203c56dec Mon Sep 17 00:00:00 2001
From: lgq <1015864684@qq.com>
Date: 星期二, 31 三月 2026 09:48:44 +0800
Subject: [PATCH] 1.新增VF205门禁机代码

---
 vf205_access/dxmodules/uiFont.js |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/vf205_access/dxmodules/uiFont.js b/vf205_access/dxmodules/uiFont.js
new file mode 100644
index 0000000..bea8251
--- /dev/null
+++ b/vf205_access/dxmodules/uiFont.js
@@ -0,0 +1,18 @@
+//build锛�20240311
+//瀛椾綋瀵硅薄(瑕佹敮鎸佷腑鏂囷紝闇�瑕佷娇鐢ㄦ敮鎸佷腑鏂囩殑瀛椾綋ttf鏂囦欢)
+import utils from "./uiUtils.js"
+let font = {}
+/**
+ * 鏋勫缓瀛椾綋
+ * @param {string} ttf 瀛椾綋ttf鏂囦欢鐨勫畬鏁磋矾寰� 
+ * @param {number} size 瀛椾綋澶у皬
+ * @param {number} style 瀛椾綋鏍峰紡锛屽弬鑰僽tils.FONT_STYLE
+ * @returns 
+ */
+font.build = function (ttf, size, style) {
+    let comp = {}
+    comp.obj = utils.GG.NativeFont.lvFontInit(ttf, size, style)
+    return comp;
+}
+
+export default font;
\ No newline at end of file

--
Gitblit v1.9.3