Probably elm_code should be more compliant and have the default font set in
the theme?
I won't help the default lookup mentioned here but it would make things
more consistent.
The intent was to move more to the theme anyhow :)

Cheers,
Andy
On Thu, 4 May 2017 at 08:27, William L. Thomson Jr. <wlt...@o-sinc.com>
wrote:

> On Thu, 4 May 2017 13:22:47 +0900
> Carsten Haitzler (The Rasterman) <ras...@rasterman.com> wrote:
>
> > > For example
> > > default/edc/battery.edc:    text { font: "Sans";
> > > default/edc/battery.edc:    text { font: "Sans:style=Bold";size: 10;
> > >
> > > Also set globally in per above, I omitted the standard FN one.
> > > default/fonts.edc: #define FN     "Sans"
> > >
> > > Which is used like
> > > default/edc/clock.edc:            text { font: FN; size: 8;
> > > default/edc/clock.edc:            text { font: FN; size: 10;
> > >
> > > default/edc/dialog.edc:         base: "font="FN" font_size=10
> > >
> > > How can I get that information? The font and size.
> >
> > I have explained - you cannot. and elm code is different not using
> > edje to define look and feel the same way as everything else.
>
> Forget elm code for now. Other objects have fonts being set. Is there
> no way to fetch the font name, size etc from those. Label, entry, etc.
> Using the theme, and via edje/edc files.
>
> Seems strange to have values and things in configuration files that are
> not available via some API call.
>
> > This  "you cannot see" is by design as I mentioned. And as I
> > suggested in my other email - provide a "default font" entry that
> > REMOVES your overlay.
>
> That issue is resolved with elm code. I think it starts by
> default in Mono, so it reverting back to mono is fine. If that changes,
> it will internally and should not effect my usage.
>
> However, if a user wants to change fonts, I think it should start with
> the current one selected, or shown. Its how any font dialog I have seen
> works.
>
> Very few if any, short of e, have font dialogs where a current font is
> not selected.
>
> --
> William L. Thomson Jr.
>
> ------------------------------------------------------------------------------
> 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
>
-- 
http://andywilliams.me
http://ajwillia.ms
------------------------------------------------------------------------------
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

Reply via email to