Hi,
I hope this does not confuse things but, as elm_code is a little different
I added the default font to theme as data rather than a style. This means
that the font_get / font_set will behave as expected and (if calling get
before set) return the "theme default" font.
I don't think this behavio
On Sat, 6 May 2017 10:48:10 +0900
Carsten Haitzler (The Rasterman) wrote:
why is fltk so rare?
Rare or not, it got a Pinetry interface recently. The EFL one is still
in queue. Just had to mention that. Bit ironic to mention.
fltk: Add a FLTK-based pinentry. Feb 7, 2017
https://github.com/gpg/p
On Sat, 6 May 2017 10:48:10 +0900
Carsten Haitzler (The Rasterman) wrote:
>
> re-read what i wrote. i have explained that you don't and that how
> knowing leads to a poor selection dialog.
Having the current font being used highlighted/selected for the user
leads to a poor selection dialog?
Base
I'm fairly certain Carsten is well aware of what Tizen is doing...
On Fri, May 5, 2017, 12:01 PM William L. Thomson Jr.
wrote:
> This is how Tizen is addressing this problem
>
> "Tizen provides a special "Tizen" font name, which does not match with
> any specific font; it is just an alias fo
This is how Tizen is addressing this problem
"Tizen provides a special "Tizen" font name, which does not match with
any specific font; it is just an alias for a system-defined font
(system font)."
https://developer.tizen.org/development/guides/native-application/user-interface/efl/fonts#apply
On Sat, 6 May 2017 00:48:54 +0900
Carsten Haitzler (The Rasterman) wrote:
> because it is PRIVATE to the theme. it may not even present text at
> all in any font. you also do not NEED to know.
For a font selection dialog you do need to know. Most any font
selection dialog I have seen has the cu
On Fri, 5 May 2017 14:29:35 +0900
Carsten Haitzler (The Rasterman) wrote:
>
> They are not in configuration files. They are in data files (themes).
> These can be swapped out at any time.
Then why can one not get the font name/size etc from the theme? I
understand themes can change. Which is why
On Thu, 4 May 2017 03:27:11 -0400 "William L. Thomson Jr."
said:
> On Thu, 4 May 2017 13:22:47 +0900
> Carsten Haitzler (The Rasterman) wrote:
>
> > > For example
> > > default/edc/battery.edc:text { font: "Sans";
> > > default/edc/battery.edc:text { font: "Sans:style=Bold";size: 10;
>
On Thu, 04 May 2017 08:08:47 + Andrew Williams 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
On Thu, 04 May 2017 08:08:47 +
Andrew Williams wrote:
> 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 :)
T
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.
wrote
On Thu, 4 May 2017 13:22:47 +0900
Carsten Haitzler (The Rasterman) 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.
> > defau
On Thu, 4 May 2017 13:21:02 +0900
Carsten Haitzler (The Rasterman) wrote:
> On Wed, 3 May 2017 01:36:09 -0400 "William L. Thomson Jr."
> said:
>
> > On Wed, 3 May 2017 13:58:34 +0900
> > Carsten Haitzler (The Rasterman) wrote:
> >
> > > On Wed, 3 May 2017 00:49:30 -0400 "William L. Thomson
On Wed, 3 May 2017 21:13:56 -0400 "William L. Thomson Jr."
said:
> On Wed, 3 May 2017 00:49:30 -0400
> "William L. Thomson Jr." wrote:
>
> > In the default theme, the fonts.edc file has
> > #define FNBD "Sans:style=Bold"
> > #define FNIT "Sans:style=Oblique"
> > #define FNBDIT "Sans:style=B
On Wed, 3 May 2017 01:36:09 -0400 "William L. Thomson Jr."
said:
> On Wed, 3 May 2017 13:58:34 +0900
> Carsten Haitzler (The Rasterman) wrote:
>
> > On Wed, 3 May 2017 00:49:30 -0400 "William L. Thomson Jr."
> > said:
> > >
> > > This is what I am talking about and should be possible.
> > > h
On Wed, 3 May 2017 00:49:30 -0400
"William L. Thomson Jr." wrote:
> In the default theme, the fonts.edc file has
> #define FNBD "Sans:style=Bold"
> #define FNIT "Sans:style=Oblique"
> #define FNBDIT "Sans:style=Bold Italic"
It seems this is what I am after. I am not sure how to obtain it
tho
On Wed, 3 May 2017 13:58:34 +0900
Carsten Haitzler (The Rasterman) wrote:
> On Wed, 3 May 2017 00:49:30 -0400 "William L. Thomson Jr."
> said:
> >
> > This is what I am talking about and should be possible.
> > https://www.enlightenment.org/ss/e-59095db53e8c29.70825110.jpg
> >
> >
> > Thi
On Wed, 3 May 2017 00:49:30 -0400 "William L. Thomson Jr."
said:
> On Wed, 3 May 2017 12:48:00 +0900
> Carsten Haitzler (The Rasterman) wrote:
>
> > > I get stuff can be styled overridden etc. With the default theme.
> > > Some font is in use. Unless you go to use a Custom Font Class in
> > > S
On Wed, 3 May 2017 12:48:00 +0900
Carsten Haitzler (The Rasterman) wrote:
> > I get stuff can be styled overridden etc. With the default theme.
> > Some font is in use. Unless you go to use a Custom Font Class in
> > Settings.
>
> you don't know. this is by design. the font could be sourced fr
On Tue, 2 May 2017 23:08:12 -0400 "William L. Thomson Jr."
said:
> On Wed, 3 May 2017 10:11:45 +0900
> Carsten Haitzler (The Rasterman) wrote:
>
> > i can't speak for elm_code specifically...
>
> I do not think it is as specific to elm code
>
> > but in general themes
> > define the font for
On Wed, 3 May 2017 10:11:45 +0900
Carsten Haitzler (The Rasterman) wrote:
> i can't speak for elm_code specifically...
I do not think it is as specific to elm code
> but in general themes
> define the font for something and you can - if the theme has labelled
> the element with a text class, ov
On Tue, 02 May 2017 22:03:49 + Andrew Williams said:
> Hi,
>
> I suspect that elm_code is not "correctly" using a default theme font. It
> simply picks the first monospaced font it can find at a default size. This
> may be why NULL is the default rather than a named font...
>
> What is the
On Tue, 2 May 2017 12:43:34 -0400 "William L. Thomson Jr."
said:
> In working with Ecrire, there is a setting; standard in most editors,
> to set a custom font. That works fine, for the most part. I am having
> problems reverting back to the default font. Which is where I am stuck.
> I have been
On Tue, 2 May 2017 18:05:36 -0400 "William L. Thomson Jr."
said:
> On Tue, 02 May 2017 21:51:25 +
> Stephen Houston 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_over
On Tue, 02 May 2017 22:03:49 +
Andrew Williams wrote:
> Hi,
>
> I suspect that elm_code is not "correctly" using a default theme
> font. It simply picks the first monospaced font it can find at a
> default size. This may be why NULL is the default rather than a named
> font...
>
> What is t
On Tue, 2 May 2017 17:42:31 -0400
"Rbt. Y-Lee" wrote:
> I am working on a font dialog for epad and what i do and this is in
> python is:
>
>tb_style = self.font_demo.textblock.style_get()
That is how ecrire was before the switch to elm code from elm entry.
Clearing out a styled font I t
On Tue, 02 May 2017 21:51:25 +
Stephen Houston 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(over
Hi,
I suspect that elm_code is not "correctly" using a default theme font. It
simply picks the first monospaced font it can find at a default size. This
may be why NULL is the default rather than a named font...
What is the "right" way do people think?
Andrew
On Tue, 2 May 2017 at 22:55, William
On Tue, 2 May 2017 23:50:17 +0300
Daniel Hirt wrote:
> Hello,
>
> Off the top of my head: upon creating the elm_code widget, store the
> result of 'elm_code_widget_font_get' as your "default font". Then,
> reverting is just doing 'elm_code_widget_font_set' with the stored
> "default font".
For
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->fo
I am working on a font dialog for epad and what i do and this is in python
is:
tb_style = self.font_demo.textblock.style_get()
font =
tb_style.split('text_class=entry_text')[1].split('font=')[1].split("'em=")[0]
# font may or may not have style associated with it
if
Hello,
Off the top of my head: upon creating the elm_code widget, store the result
of 'elm_code_widget_font_get' as your "default font". Then, reverting is
just doing 'elm_code_widget_font_set' with the stored "default font".
As a side note: I am not sure elm_code_widget utilizes the theme for fo
In working with Ecrire, there is a setting; standard in most editors,
to set a custom font. That works fine, for the most part. I am having
problems reverting back to the default font. Which is where I am stuck.
I have been looking all over and trying various things that do not work.
It seems the
33 matches
Mail list logo