Home Download Buy Blog Forum Support

set default ui theme font, overriding themes?

set default ui theme font, overriding themes?

Postby nihili on Mon Jul 22, 2013 1:27 pm

Hello and a general thank you and respect for this great text editor!

i'm trying to integrate the ui with my desktop style and would like to use the same font.
There's a lot of nice user interface themes; but is it possible to use a certain font once and for all, maybe put it in user settings? right now i have to edit every theme file, find every occurence of "font*" and add a line: font.face = ...

thanks in advance,


n.
nihili
 
Posts: 5
Joined: Mon Jul 22, 2013 1:18 pm

Re: set default ui theme font, overriding themes?

Postby nihili on Fri Jul 26, 2013 6:23 am

anybody please?
where does the user interface get its default font (the one it uses if none is specified in the theme) on a linux platform (archlinux)?
it's not using the font defined by gtk.
nihili
 
Posts: 5
Joined: Mon Jul 22, 2013 1:18 pm

Re: set default ui theme font, overriding themes?

Postby weslly on Fri Jul 26, 2013 6:34 am

AFAIK, the interface font is hardcoded. Themes can only change the size (or make it bold).
weslly
 
Posts: 203
Joined: Sun Aug 28, 2011 3:57 am
Location: Brazil

Re: set default ui theme font, overriding themes?

Postby nihili on Tue Aug 06, 2013 9:55 pm

sorry long silence.

i'll try to explain better:

ui themes have a theme file that ends in .sublime-theme in a subfolder usually called "Theme - something" in the packages folder.

there's many sections, each starting with
Code: Select all
{ class:
and so on.
i can add a line with
Code: Select all
font.face : somefont
to each.
this works.
however it is a lot of tedious work to apply my favorite font to each theme in this way, and i can see no way of either automatizing the whole thing or simply applying a font globally.

can it be done?

otherwise this editor is really, really nice and does exactly what i want and is Fast!
nihili
 
Posts: 5
Joined: Mon Jul 22, 2013 1:18 pm


Return to General Discussion

Who is online

Users browsing this forum: ebruning and 23 guests