On Thu, 04 May 2017 08:08:47 +0000 Andrew Williams <a...@andywilliams.me> said:

> Probably elm_code should be more compliant and have the default font set in
> the theme?

Indeed it should. Deciding how I guess is the question.

> 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 :)

Consistency probably trumps most things... :)

> 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
> 


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


------------------------------------------------------------------------------
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