question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for different fonts in the same file

See original GitHub issue

Add support for choosing different font ligatures, than those within the "editor.fontFamily" selected font. For example, I would really like to use Operator Mono letters together with Fira Code ligatures. Atom-editor lets you do this.

A hacky workaround is with the Custom CSS and JS Loader extension. https://medium.com/@zamamohammed/multiple-fonts-alternative-to-operator-mono-in-vscode-7745b52120a0 @mohammedzamakhan

The Custom CSS and JS Loader extension makes vscode think it is corrupted, so I’d really prefer avoiding this hack.

Another custom workaround, which stopped working: https://gist.github.com/Mikeysax/e707e6971d991a7552017b4c00ef6a97

Semi-related: https://github.com/Microsoft/vscode/issues/192

Possibly helpful: https://github.com/tonsky/FiraCode/wiki/VS-Code-Instructions

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:63
  • Comments:8

github_iconTop GitHub Comments

3reactions
sagarrabadiyacommented, Sep 13, 2017

https://github.com/kiliman/operator-mono-lig

I have found to embed the ligature into operator mono font itself. check the above project looks promising. and for operator mono book https://github.com/kennyklee/operator-mono-book-lig

also, you can apply it to any variant by just renaming script a bit.

0reactions
NatanAmorimcommented, Jun 6, 2022

This would be so good, and people have been hacking vs code to do this for more than 5 years, i would love if somehow we could implement as an official feature and dont worry about breaking vs code anymore.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to add multiple font files for the same font - GeeksforGeeks
Objective: To define multiple font files under the same font name. Framing this in a more understandable way, what we are trying to...
Read more >
Multiple font-weights, one @font-face query - Stack Overflow
Here's an example using the same font-family name with different styles and weights associated with different fonts:
Read more >
Using multiple font files the right way - HackSoft
Having multiple font files for a single font can lead to a messy css if you don't know how to use them all...
Read more >
Can You Have Different Font Sizes for Different Files of ...
Hi Ivan, it's not possible to to have different fonts for different .txt documents, no matter what editor is used, as .txt files...
Read more >
How to Setup Custom Fonts with CSS & @font-face
Step 1: Get all the font files you need for cross-browser support; Step 2: Add the font files to your project; Step 3:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found