On Tue, 02 May 2017 21:51:25 +0000 Stephen Houston <smhousto...@gmail.com> wrote:
> EAPI const Eina_List *elm_config_font_overlay_list_get(void); ... > so... Eina_List *fonts, *l; Elm_Font_Overlay *overlay; > > fonts = elm_config_font_overlay_list_get(); > EINA_LIST_FOREACH(fonts, l, overlay) { > if (eina_streq(overlay->text_class, "Entry Text")) { > your default font is overlay->font > your default font size is overlay->size > } > } Empty list. can't even try to compare. Put it in a few places, just in case that had some effect. List is empty no matter what. Eina_List *fonts, *l; Elm_Font_Overlay *overlay; printf("\n\n\n Begin fonts from overlay test \n"); fonts = elm_config_font_overlay_list_get(); EINA_LIST_FOREACH(fonts, l, overlay) { printf("font=%s size=%d\n",overlay->font,overlay->size); if (eina_streq(overlay->text_class, "Entry Text")) { printf("\toverlay font=%s size=%d\n",overlay->font,overlay->size); } } printf("\n\n\n"); The font list in ecrire comes from evas_font_available_list. I did not see anything there to point out which one was the default, or font in use by evas for everything. -- William L. Thomson Jr.
pgpBzNV2wHWK4.pgp
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel