Private Declare Function AddFontResource Lib "gdi32" Alias "AddFontResourceA" (ByVal lpFileName As String) As Long
Private Declare Function RemoveFontResource Lib "gdi32" Alias "RemoveFontResourceA" (ByVal lpFileName As String) As LongPrivate Sub Command1_Click() '安装字体
AddFontResource App.Path & "\ssDigits.ttf"
End Sub我用了以上的代码,打包在本机上安装了,现在ssDigits.ttf字体在程序不能正确显示。机子上本身有该字体。怎么办?