Giter VIP home page Giter VIP logo

Comments (4)

gauteh avatar gauteh commented on July 19, 2024

Hi @apm256, currently I read those from the system-settings, but I was thinking about making them configurable. Currently it is three settings that are relevant:

  • regular interface font (gtk3/gnome) - general interface
  • regular monospace font (gtk3/gnome) - thread index
  • whatever webkit deems to be small and medium size fonts (this is for thread-view/email-view fonts)

So either you can try and modify the system settings and see if that does the trick or you can modify the CSS file that I use for thread-view. A possible option here is that I load/generate a user CSS style-sheet that I then superimpose on the default CSS theme (this at least is how Geary does it - which is where I ripped off the style for the email rendering).

Alternatively, if this doesn't do the trick for you I was thinking about making configurable options for that (using the defaults from the system), but I'd first like to hear in particular which setting is the problem.

Thanks for trying! I just put up a page here: http://gaute.vetsj.com/pages/astroid.html for the project and was planning on doing an alpha release soon.

from astroid.

apm256 avatar apm256 commented on July 19, 2024

Thanks for your answer.

  • for the regular interface, the gtk's setting gtk-font-name does the trick
  • for the css, I gave up understanding how to define "small", and I replaced all occurences of "small" by a fixed font size
  • nevertheless, for the thread index, I failed to understand which settings I had to modify.

I'm eagerly waiting for the alpha release!
Best regards.

from astroid.

gauteh avatar gauteh commented on July 19, 2024
  • for css; yes small is just one of a bunch of relative, pre-defined, values (http://www.w3schools.com/cssref/pr_font_font-size.asp) for font-size. medium is another. settting to a fixed value works just as well.
  • for thread-index, I read the value of: org.gnome.desktop.interface monospace-font-name. You can set it with dconf-editor or gsettings. if these are abandoned configuration options I'd be happy to update them.

Let me know if you have any other issues / suggestions!

from astroid.

apm256 avatar apm256 commented on July 19, 2024

Thank you. Everything looks OK now.

from astroid.

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.