Hi,

  Thanks.

  Probably those fonts (or its maps to the native names) are not installed
or available on that system.

  Arial exists only in Windows, but Courier should be mapped to Monospace,
and Sans in already a GTK name. But I'm not familiar with Raspbian, so
maybe we need to map to specific fonts there.

  Try displaying the IupFontDlg to see the actual list.

Best,
Scuri


Em seg, 25 de jun de 2018 às 16:55, Matic Kukovec <kukovecma...@hotmail.com>
escreveu:

> Hello,
>
> First a thank you to the creators of IUP. It's a wonderful library!
>
> I have a simple application with a IupText and IupButton on a IupDialog
> that works perfectly on Windows and most Linux distributions.
> But on the RaspberryPi 3 (Raspbian OS) the font cannot be changed on
> either IupText or IupButton. I tried many different font families and sizes
> and nothing seems to work. Examples that I tried:
>
> IupSetAttribute(textbox, "FONT", "Courier 30")
> IupSetAttribute(textbox, "FONT", "Sans 18")
> IupSetAttribute(textbox, "FONT", "Arial 30")
>
>
> The font always seems to stay at *"PibotoLt 12"* and I have no idea why?
> Any ideas?
>
> Thanks,
> Matic
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to