[Gambas-user] Fonts: different answers from libraries

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


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.


-- 
Lee



More information about the User mailing list