MultiMUD / clojure-lanterna

A Clojurey wrapper around the Lanterna terminal output library.
http://multimud.github.io/clojure-lanterna
217 stars 50 forks source link

swing-terminal: use the JRE default monospace font #2

Closed yanne closed 12 years ago

yanne commented 12 years ago

After this, Swing terminal should always "just work", also in Linux.

Fixes #1

si14 commented 12 years ago

I would really like to have this PR merged too. It fixes that problem for me.

sjl commented 12 years ago

I haven't merged this because I actually have a much more complete solution for the problem. In the next release you'll be able to pass a font to get-screen, or you can pass a css-like font stack like ["Menlo" "Consolas" "Courier New"]. It'll fall back to a default monospace if none are available.

I'm just waiting on Lanterna itself to release a new version, because my code relies on some new stuff in there.

si14 commented 12 years ago

Oh, sorry. Looking forward for that release then.

sjl commented 12 years ago

Latest version should fix this with its new css-font-family-like font selection.