Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

font size #2

Closed
apm256 opened this issue Nov 26, 2014 · 4 comments
Closed

font size #2

apm256 opened this issue Nov 26, 2014 · 4 comments

Comments

@apm256
Copy link

apm256 commented Nov 26, 2014

HI,
Thank you for Astroid, which seems very promising!
A small question: is there some way to increase font size for the interface and the thread view?

@gauteh
Copy link
Member

gauteh commented Nov 26, 2014

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.

@apm256
Copy link
Author

apm256 commented Nov 26, 2014

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.

@gauteh
Copy link
Member

gauteh commented Nov 27, 2014

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

@apm256
Copy link
Author

apm256 commented Nov 28, 2014

Thank you. Everything looks OK now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants