Public Shared Function FindISVS(ByVal targetFontName As String, ByVal targetChar As UInteger) As List(Of UInteger) On Error GoTo ErrLabel Dim fontFile As System.IO.FileInfo = FindFont(targetFontName) If (fontFile IsNot Nothing) Then For Each ttf As TTF In TTC.Read(fontFile.FullName, TTFDataReadTypes.Names Or TTFDataReadTypes.IVS) Return ttf.IVSMap.Item(targetChar) Next End If Return Nothing 'Return New System.IO.FileInfo("C:\Users\Y2\AppData\Local\Microsoft\Windows\Fonts\ipamjm.ttf") ErrLabel: 'https://www.sejuku.net/blog/35484 Dim er As UInteger Dim list1a = New List(Of UInteger) 'https://atmarkit.itmedia.co.jp/ait/articles/1703/01/news042.html er = 999999 list1a.Add(er) Return list1a End Function Public Shared Function FindISV(ByVal targetFontName As String, ByVal targetChar As Char) As List(Of UInteger) Dim fontFile As System.IO.FileInfo = FindFont(targetFontName) If (fontFile IsNot Nothing) Then For Each ttf As TTF In TTC.Read(fontFile.FullName, TTFDataReadTypes.Names Or TTFDataReadTypes.IVS) Return ttf.IVSMap.Item(AscW(targetChar)) Next End If Return Nothing End Function