A function that might be handy...
;; (getShxFiles)
(defun getShxFiles (/ lst)
(setq
lst (mapcar
'strcase
(mapcar
'vl-filename-base
(vl-directory-files
(strcat
(vl-filename-directory (findfile "acad.exe"))
"\\Fonts"
)
"*.shx"
1))))
(if (and lst (findfile "SIMPLEX.SHX"))
(setq lst (append
lst
(list "SIMPLEX"))))
lst)
And a way to get the fontfile for the current textstyle...
(vla-get-fontfile
(vla-get-activetextstyle
(vla-get-activedocument (vlax-get-acad-object))))