gm_fontsx
V1 - Windows Binary
نظرًا لأننا لا نحصل أبدًا على طريقة مناسبة للتحقق من الخطوط المثبتة على Mod's Mod ، فإن هذا يجب أن يكون موجودًا؟
require ( " fontsx " )
-- creates a gmod virtual font depending on whether the system font "Consolas" is available
surface . CreateFont ( " my_virtual_font " , {
font = fonts . Exists ( " Consolas " ) and " Consolas " or " Roboto " ,
size = 15 ,
}) require ( " fontsx " )
-- prints all system fonts currently available
PrintTable ( fonts . GetAll ())git clone https://github.com/Earu/gm_fontsx (تجاهل هذا إذا قمت بتنزيل الأرشيف)cd gm_fontsxcargo buildtarget/debug وقم بإعادة تسمية الثنائي وفقًا لفرعك وعالمك (GMSV_FONTSX_WIN64.DLL ، GMCL_FONTSX_WIN64lua/bin الخاص بكملاحظة: حتى في منصات أخرى غير Windows ، يجب أن يكون امتداد الوحدات النمطية الخاصة بك . dll