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字体在程序不能正确显示。机子上本身有该字体。怎么办?
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字体在程序不能正确显示。机子上本身有该字体。怎么办?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货