On Thu, 22 Apr 2021 07:14:29 +0000 (UTC) Patrick Regnouf via
enlightenment-devel <enlightenment-devel@lists.sourceforge.net> said:

> 
> Hi, 
> Does anyone face any experience changing the font of an Evas smart object
> like a combo box? Sample C code or where to find one would be really good
> Thanks
> 
> Sent from Yahoo Mail for iPhone

fonts are defined by theme in the edc files. generally the point is to not
change the font and let the system theme/look and user preferences decide. it
is very irritating to users when they select some font they like and that
renders clearly and nicely for them, and then some app thinks it knows better
and overrides that and uses comic sans instead or something. it should be a
very rare day that you mess with custom fonts from an app.*

It is possible to override fonts by class (but not widget by widget). The
text_classes are pretty adhoc and ugly and I am going to redo them along with
color_classes to be clean and manageable.

* I'm speaking of widgets and UI, not fonts inside things like a document you
view (so a word processor or such where it is expected that the document
define the fonts as the author chose them).

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
Carsten Haitzler - ras...@rasterman.com



_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to