Font List For Each Language
|Font List 237067292001.zip||9/3/2020 3:45:00 PM||30,433|
With this code you will be able to select one or more language from a list , and then to get all the fonts that was installed on the operating system which support the languages that was chosen.
So if you want to develop a word prossesor maybe you will find it useful - to change the font list when the user had change the language. some part of it i had found on the net ( I dont know who is the Auther) and more help from the MSDN.
Original Author: Gil Shabthai
Public Declare Function GetLocaleInfoA Lib "kernel32" (ByVal LCID As Long, ByVal LCType As Long, ByVal lpData As String, ByVal cchData As Integer) As Integer '*
Public Declare Function TranslateCharsetInfo Lib "gdi32" (lpSrc As Long, lpcs As CHARSETINFO, ByVal dwFlags As Long) As Long '*
Public Declare Function EnumFontFamiliesEx Lib "gdi32" Alias "EnumFontFamiliesExA" (ByVal hDC As Long, lpLogFont As LOGFONT, ByVal lpEnumFontProc As Long, ByVal LParam As Long, ByVal dw As Long) As Long
Comments on this post
No comments have been added for this post.
You must be logged in to make a comment.