r-wasm / webr

The statistical language R compiled to WebAssembly via Emscripten, for use in web browsers and Node.
https://docs.r-wasm.org/webr/latest/
Other
848 stars 67 forks source link

Better font for webR REPL/console #454

Open alekrutkowski opened 3 months ago

alekrutkowski commented 3 months ago

The Courier font in the REPL is too thin, resulting in poor readability. Could it be changed into one of modern fonts (e.g. Fira, Cascadia, Intel One, Ubuntu Mono, Julia Mono, etc.)?

georgestagg commented 1 month ago

I don't mind tweaking the font stack, but out of interest which OS and browser are you using? Can you show me a screenshot of how it looks on your machine?

IIRC we are just using the default fonts provided by the editor library (CodeMirror) and terminal (xterm.js).

Here it what it looks like for me: Screenshot 2024-08-05 at 09 25 11

alekrutkowski commented 1 month ago

I use MS Windows and the Edge web browser. I attach the screenshot -- for the moment, I have access to a low-DPI screen only. The font looks much worse (extremely thin) on a high-DPI screen (4K). For the default monospace font, I use Cartograph CF (visible in the script pane).

screenshot

On Mon, 5 Aug 2024 at 10:27, George Stagg @.***> wrote:

I don't mind tweaking the font stack, but out of interest which OS and browser are you using? Can you show me a screenshot of how it looks on your machine?

IIRC we are just using the default fonts provided by the editor library (CodeMirror) and terminal (xterm.js).

Here it what it looks like for me: Screenshot.2024-08-05.at.09.25.11.png (view on web) https://github.com/user-attachments/assets/b2317213-b960-4dfb-a90d-4bc496518cfd

— Reply to this email directly, view it on GitHub https://github.com/r-wasm/webr/issues/454#issuecomment-2268473516, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZJLM254GSIUGFRWKPZQ73ZP4ZQNAVCNFSM6AAAAABJ6A4VPGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRYGQ3TGNJRGY . You are receiving this because you authored the thread.Message ID: @.***>