Giter Site home page Giter Site logo

seg fault at start about eovim HOT 6 CLOSED

jeanguyomarch avatar jeanguyomarch commented on September 24, 2024
seg fault at start

from eovim.

Comments (6)

jeanguyomarch avatar jeanguyomarch commented on September 24, 2024

Thanks for the report. It's something that goes away with EFL dev (at least on EFL commit ca169ec715, which I'm based on). IIRC, there was a bug with text classes in edje files prior 1.24...
I'm working on changes that get rid of them and should resolve this. Hopefully to land this month.

As a local workaround, you can add:

font='the font name' font_size=10

to all the styles in default.edc. It should allow eovim to run, but with limited font support.

from eovim.

pcouderc12 avatar pcouderc12 commented on September 24, 2024

Mmm, sorry, I am novice, I see only one default.edc (and I have no idea what it is...).
Should I add the line
font='the font name' font_size=10
as it is, just at the end of this file after :
#include "cursor.edc"
#include "tab.edc"
}
.....?

from eovim.

pcouderc12 avatar pcouderc12 commented on September 24, 2024

And I see styles in it :
style { name: "cmdline"; base: "color=#bcbcbc wrap=word left_margin=2 right_margin=2 text_class=cmdline"; } style { name: "cmdline"; base: "color=#bcbcbc wrap=word left_margin=2 right_margin=2 text_class=cmdline"; }

from eovim.

jeanguyomarch avatar jeanguyomarch commented on September 24, 2024

Sorry, I should have been more specific. Yes, that's there.

diff --git a/data/themes/default.edc b/data/themes/default.edc
index 523ea26..d68f5b6 100644
--- a/data/themes/default.edc
+++ b/data/themes/default.edc
@@ -38,10 +38,10 @@ color_classes {
 }
 
 #define CMDLINE_INFO_STYLE(Color) \
-   "font_weight=Bold text_class=cmdline color="Color" left_margin=8 right_margin=8"
+   "font=Courier font_size=14 font_weight=Bold text_class=cmdline color="Color" left_margin=8 right_margin=8"
 styles {
    style { name: "cmdline";
-      base: "color=#bcbcbc wrap=word left_margin=2 right_margin=2 text_class=cmdline";
+      base: "font=Courier font_size=14 color=#bcbcbc wrap=word left_margin=2 right_margin=2 text_class=cmdline";
    }
    style { name: "cmdline_slash_info";
       base: CMDLINE_INFO_STYLE("#ffffa7");

If you make the changes in the diff above, Eovim should not segfault. Here, I used the Courier font with size 14. However, changing the font after startup will not take effect in some parts... I have to find a proper fix for this to work with EFL 1.23.

Also, I just noticed that there is a weird behavior with Courier, (there is "wave effect when the cursor changes lines) that I do not observe with Fira Code.

from eovim.

pcouderc12 avatar pcouderc12 commented on September 24, 2024

Ok, fine after reinstall :

sudo cmake --build . --target install

Thank you very much !

from eovim.

jeanguyomarch avatar jeanguyomarch commented on September 24, 2024

For reference, the font problems in EFL 1.23 (and probably earlier versions) seem to be mentioned in upstream T8477.

from eovim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.