Secure Shell (dev) 0.8.24.2 released

938 views
Skip to first unread message

Robert Ginda

unread,
Jan 16, 2014, 6:30:11 PM1/16/14
to chromium-hterm
I just released Secure Shell (dev) 0.8.24.2, which adds the 'user-css' preference.

This preference can be used to add a custom css file to the terminal window.  It's intended as a roundabout way of using web fonts, but you might also find another creative and borderline-unsupported use for it.

As an example, to use the Google web font "Source Code Pro", you'd set your user-css preference to 'http://fonts.googleapis.com/css?family=Source+Code+Pro', and then set your 'font-family' pref to "Source Code Pro, monospace"

The monospace fallback is there because the new-connection dialog and preference pane don't respect the user-css pref, so they won't know about "Source Code Pro".

You can find other Google web fonts here: http://www.google.com/fonts/.  Keep in mind that you must use a monospace font (all characters must be the same width), or you'll end up with all sorts of alignment issues.  There doesn't seem to be a way to search the Google fonts for monospace, but I stumbled across Inconsolata, Source Code Pro, and Oxygen Mono while scrolling through the options.  Set your sample text to something like "xX.1#" to make them easier to spot.  There are probably more.


Rob.

Christopher Richards

unread,
Mar 14, 2014, 10:23:26 AM3/14/14
to Robert Ginda, chromium-hterm
Hi Robert,

The user-css preference was working for me briefly, but now I can't seem to make it work anymore. Specifically, if I now follow your instructions to get "Source Code Pro" as my terminal font, the preference is ignored and I get the next-highest-priority pre-installed font instead.

This is on ChomeOS 34 using both Secure Shell 0.8.26 and 0.8.26.3.

Let me know if I can provide more information.

Thanks,
Chris


--
You received this message because you are subscribed to the Google Groups "chromium-hterm" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-hterm/CA%2BSC%2BVp4D5UK79i-5SV8oAwLGoegTkLV6X9QEf5tJbd%3Dy3sTTA%40mail.gmail.com.

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-hter...@chromium.org.

Robert Ginda

unread,
Mar 14, 2014, 2:51:50 PM3/14/14
to Christopher Richards, chromium-hterm
I looks like part of the user-css patch got lost in a merge :/  I'll add it back.

Robert Ginda

unread,
Mar 14, 2014, 5:06:06 PM3/14/14
to Christopher Richards, chromium-hterm
This should be working again in the just-released 0.8.26.4.  I'll aim to move 0.8.26.4 to stable next week.

Christopher Richards

unread,
Mar 14, 2014, 5:07:14 PM3/14/14
to Robert Ginda, chromium-hterm
Thanks for the quick fix!

Akshay Venkatesh

unread,
Feb 17, 2015, 7:26:21 PM2/17/15
to chromiu...@chromium.org, rgi...@google.com
I ran across this solution and works fine with inconsolata. Belated thanks!

wbe...@google.com

unread,
Oct 1, 2015, 6:16:28 AM10/1/15
to chromium-hterm
Got a working solution without hack: https://github.com/wernight/powerline-web-fonts

Currently only added support for Source Code Pro for Powerline, but any other powerline font would work.

Danielo Rodríguez

unread,
Nov 24, 2015, 5:50:50 AM11/24/15
to chromium-hterm
Does anyone came across of another use of this feature? I will love to, for example, highlight certain words or regular expressions matches.

Regards
Reply all
Reply to author
Forward
0 new messages