Home Download Buy Blog Forum Support

Quickpanel font bug

Quickpanel font bug

Postby tgkeul on Fri May 29, 2009 6:20 am

I like to see a monospaced font in quickpanel for the formidable ctags plugin and changed the directives in default.sublime-theme:
Code: Select all
control.font.face Bitstream Vera Sans Mono 9
control.highlight.font.face Bitstream Vera Sans Mono 9


Pleasantly the monospaced font is used - but not at highlight. :cry:
I tried it with several fonts.
tgkeul
 
Posts: 140
Joined: Tue Dec 02, 2008 9:35 pm

Re: Quickpanel font bug

Postby jps on Fri May 29, 2009 8:17 am

Works for me when using Courier New - perhaps you have a second definition of 'control.highlight.font.face' later in the file that is overriding the desired one?
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: Quickpanel font bug

Postby tgkeul on Fri May 29, 2009 9:13 am

sorry, no chance.
  • I greped %APPDATA%\Sublime Text for control.highlight.font - no overriding detected.
  • I tried Courier New and highlight font did not change
I'm using Sublime Text 20090315 on XP Home Edition SP3.
Maybe a dll of a wrong version is the reason. Can you give me a hint?
tgkeul
 
Posts: 140
Joined: Tue Dec 02, 2008 9:35 pm

Re: Quickpanel font bug

Postby jps on Fri May 29, 2009 12:25 pm

Perhaps you could paste the file here, or email it to me so I can try it myself.
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: Quickpanel font bug

Postby tgkeul on Fri May 29, 2009 4:10 pm

This is my default.sublime-theme
Code: Select all
font.face Segoe UI 10; Arial 10
font.backgroundColor #404040
font.color white
control.font.face Courier New 9
control.font.color black
control.backgroundColor #bbbbbb
control.lightColor #292929
control.shadowColor #292929
control.highlight.font.face Courier New  9
control.highlight.font.color white
control.highlightColor #233B5A

size.tabGlobalBorder 0
size.tabHeaderHeight 28
size.tabMiniButtonSize 24
size.tabMiniButtonSpacing 4
size.tabAdditionalSpacing 20
size.toolbarHeight 32
size.statusbarHeight 20
size.checkboxWidth 13
size.checkboxHeight 13
size.scrollbarCrossExtent 16

panel TextureShader "Packages/Theme - Default/flat_panel_w4_h4.png"
panel.raised TextureShader "Packages/Theme - Default/raised_panel_w4_h4.png"
panel.hint TextureShader "Packages/Theme - Default/hint_panel_w4_h4.png"

btn.dropdown SimpleBlendedTextureShader "Packages/Theme - Default/down_arrow_inv.png" "Packages/Theme - Default/down_arrow_inv_over.png" true

# Buttons
button BlendedTextureShader "Packages/Theme - Default/btn_up_norm_w6_h6.png" "Packages/Theme - Default/btn_up_over_w6_h6.png"
button.down TextureShader "Packages/Theme - Default/btn_down_over_w6_h6.png"
button.disabled BlendedTextureShader "Packages/Theme - Default/btn_up_norm_w6_h6.png" "Packages/Theme - Default/btn_up_norm_w6_h6.png"
button.down.disabled TextureShader "Packages/Theme - Default/btn_up_norm_w6_h6.png"

checkbox.on BlendedTextureShader "Packages/Theme - Default/checkbox_on.png" "Packages/Theme - Default/checkbox_on.png"
checkbox.off SimpleTextureShader "Packages/Theme - Default/checkbox_off.png" false


# Icon buttons
btn.left BlendedTextureShader "Packages/Theme - Default/lbtn_up_norm_w6_h6.png" "Packages/Theme - Default/lbtn_up_over_w6_h6.png"
btn.down.left BlendedTextureShader "Packages/Theme - Default/lbtn_down_norm_w6_h6.png" "Packages/Theme - Default/lbtn_down_over_w6_h6.png"
btn.down.over.left TextureShader "Packages/Theme - Default/lbtn_down_over_w6_h6.png"
btn.middle BlendedTextureShader "Packages/Theme - Default/mbtn_up_norm_w6_h6.png" "Packages/Theme - Default/mbtn_up_over_w6_h6.png"
btn.down.middle BlendedTextureShader "Packages/Theme - Default/mbtn_down_norm_w6_h6.png" "Packages/Theme - Default/mbtn_down_over_w6_h6.png"
btn.down.over.middle TextureShader "Packages/Theme - Default/mbtn_down_over_w6_h6.png"
btn.right BlendedTextureShader "Packages/Theme - Default/rbtn_up_norm_w6_h6.png" "Packages/Theme - Default/rbtn_up_over_w6_h6.png"
btn.down.right BlendedTextureShader "Packages/Theme - Default/rbtn_down_norm_w6_h6.png" "Packages/Theme - Default/rbtn_down_over_w6_h6.png"
btn.down.over.right TextureShader "Packages/Theme - Default/rbtn_down_over_w6_h6.png"

panel.toolbar ColorShader #3f3f3f

panel.statusbar TextureShader "Packages/Theme - Default/flat_panel_w4_h4.png"
button.statusbutton BlendedTextureShader "Packages/Theme - Default/flat_panel_btn_w4_h4.png" "Packages/Theme - Default/flat_panel_over_w4_h4.png"
button.statusbutton.down TextureShader "Packages/Theme - Default/flat_panel_over_w4_h4.png"

scrollbar.hpuck TextureShader "Packages/Theme - Default/scrollbar_hpuck_w10_h0.png"
scrollbar.htrack TextureShader "Packages/Theme - Default/scrollbar_htrack_w6_h0.png"
scrollbar.puck TextureShader "Packages/Theme - Default/scrollbar_puck_w0_h10.png"
scrollbar.track TextureShader "Packages/Theme - Default/scrollbar_track_w0_h6.png"

tab.selected TextureShader "Packages/Theme - Default/selected_w8_h12.png"
tab.selected.unfocused TextureShader "Packages/Theme - Default/selected_unfocused_w8_h12.png"
tab.unselected BlendedTextureShader "" "Packages/Theme - Default/unselected_over_w8_h12.png"
panel.tab TextureShader "Packages/Theme - Default/tab_panel_w4_h12.png"
panel.tabbody ColorShader #404040


icon.bookmark SimpleTextureShader "Packages/Theme - Default/bookmark.png" true
icon.collapse SimpleTextureShader "Packages/Theme - Default/mini_minus.png" true
icon.cross SimpleTextureShader "Packages/Theme - Default/cross.png" true
icon.downarrow SimpleTextureShader "Packages/Theme - Default/down_arrow.png" true
icon.expand SimpleTextureShader "Packages/Theme - Default/mini_plus.png" true
icon.find.case SimpleTextureShader "Packages/Theme - Default/find_case.png" true
icon.find.inselection SimpleTextureShader "Packages/Theme - Default/find_inselection.png" true
icon.find.preservecase SimpleTextureShader "Packages/Theme - Default/replace_preserve_case.png" true
icon.find.regex SimpleTextureShader "Packages/Theme - Default/find_regex.png" true
icon.find.reverse SimpleTextureShader "Packages/Theme - Default/find_reverse.png" true
icon.find.wholeword SimpleTextureShader "Packages/Theme - Default/find_wholeword.png" true
icon.find.wrap SimpleTextureShader "Packages/Theme - Default/find_wrap.png" true
icon.minicross SimpleTextureShader "Packages/Theme - Default/minicross.png" true
icon.sort.dup SimpleTextureShader "Packages/Theme - Default/sort_dup.png" true
icon.tabcross SimpleBlendedTextureShader "Packages/Theme - Default/tabcross.png" "Packages/Theme - Default/minicross.png" true
tgkeul
 
Posts: 140
Joined: Tue Dec 02, 2008 9:35 pm

Re: Quickpanel font bug

Postby jps on Sat May 30, 2009 6:57 am

There are two spaces between 'Courier New' and '9' on the control.highlight.font.face line: removing the second one makes the quick panel pick up the font as expected.

I'll fix this for the next version of sublime so the extra spaces are irrelevant, as they should be.
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: Quickpanel font bug

Postby tgkeul on Sat May 30, 2009 5:51 pm

Many thanks
tgkeul
 
Posts: 140
Joined: Tue Dec 02, 2008 9:35 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot], wesbos, Yahoo [Bot] and 30 guests