[Gambas-user] Fonts: different answers from libraries

T Lee Davidson t.lee.davidson at gmail.com
Wed Oct 18 05:21:13 CEST 2023


On 10/17/23 23:16, T Lee Davidson wrote:
> On 10/17/23 16:27, Gianluigi wrote:
>> The font is installed but I get information only with the GTK libraries.
>> Anyone know the reason?
>> Code(*)
>> System(**)
>>
>> Regards
>> Gianluigi
>>
>> (*)
>> Public Sub Form_Open()
>>
>>    If Fonts.Exist("D050000L") Then
>>      Message.Info("The D050000L font is installed")
>>    Else
>>      Message.Warning("You have to install the D050000L font")
>>    Endif
>>    Me.Close
>>
>> End
>>
>> (**)
>> [System]
>> Gambas=3.18.90 d26f534 (master)
> 
> I do not know the reason, but I can confirm that the list of fonts enumerated by Fonts is indeed different when using GTK3 
> versus Qt5; not only in number (141 versus 285, respectively) but also in name.

I probably should have mentioned:
1) `fc-list : family` on the command-line yields 237, and
2) this is with v3.18.4 (stable)


-- 
Lee



More information about the User mailing list