Giter Club home page Giter Club logo

victor-mono's Introduction

GitHub release GitHub Release Date Travis (.org) GitHub GitHub stars

Stand With Ukraine


Intro image carbon (3)

More information and download: rubjo.github.io/victor-mono. If you like it and want to say thanks, donations are welcome. ❤️


How to use

In code editors:

  1. Download the font
  2. Unpack the ZIP
  3. Install the font (all styles or the ones you want)
  4. Change the font settings in your code editor / IDE of choice to "Victor Mono"
  5. Optional Set the code theme to one you like. Check out https://themer.dev/victor-mono, where you can download the official theme for your favourite terminals, editors and apps.
  6. Optional Modify the theme colours and its application of normal/italic/bold styles

In apps, web pages or other projects:

  1. npm i victormono (installs Regular, Italic, Bold and Bold Italic styles)
  2. import 'victormono' (in a typical modern JS setup, eg. Webpack/Vite)
  3. Style classes with font-family: 'Victor Mono', font-weight and font-style

Alternative CDN hosting, best for online editors like CodePen:

  1. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/victormono@latest/dist/index.min.css"> in <head> or top of <body>
  2. Style classes with font-family: 'Victor Mono', monospace

Font stylistics

Available stylistics

  • ss01: Single-storey a
  • ss02: Slashed zero, variant 1
  • ss03: Slashed zero, variant 2
  • ss04: Slashed zero, variant 3
  • ss05: Slashed zero, variant 4
  • ss06: Slashed seven
  • ss07: Straighter 6 and 9
  • ss08: More fishlike turbofish (previous default ::< ligature)

Configuration

  • Sublime:

     "font_options": ["ss01"]
  • VScode:

     "editor.fontLigatures": "'ss01'"
  • Kitty:

     font_features VictorMono-Medium +ss01
    

Example code previews

carbon carbon (1) carbon (2) carbon (4) carbon (5) carbon (6) carbon (7)

victor-mono's People

Contributors

dependabot[bot] avatar harry-wood avatar henrebotha avatar lehoczky avatar maxdevjs avatar mingaldrichgan avatar rubjo avatar skylerwshaw avatar tombyrer avatar vdustr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

victor-mono's Issues

Centering the ":" (colon) character

This is a suggestion where I'm quite unsure about how much others would like it, I often see the ":" aligned more lower, but it always looks a little off to me at least.
If wanted, this change would be neat to have :)

Current alignment examples:
image

ligatures are not working

Hi everyone,

I don't get the font + ligatures working on my vs code (windows). Do I have to put the files in a specific folder on my pc? I made font to Victor Mono & enabled the ligatures.
Any suggestions?

Kind regards,
Brecht

VictorMonoAll was not updated

Hey,

I got a notification that v1.2.6 was released. To build the AUR package I was using VictorMonoAll.zip archive located in public/ directory.

This time this file was not updated. I assume it's just a simple mistake, yet wanted to let you know. Could you update this archive so I can build the AUR archive with the newest version?

Thanks!

Windows 10 - "Does not appear to be a valid font"

Hi there,

I'm attempting to install the TTF (Also tried OTF) fonts onto my work windows 10 machine. When I select the font files, right-click and select "install" - it simply states that "the file does not appear to be a valid font".

Any suggestions?

Variant for star character higher up

Having a variant that has the star character (*) higher up like in the Consolas font would be nice, though I'm unsure of how inconvenient it would be to provide multiple variants

Font suggestion

First of all I love the font, great work 👍

Can I suggest changing the <= and >= to be with a flat bottom line?
notAngled
And maybe changing the 'I' and 'T' in italics?
betterIandT

<= & >= ligatures are wrong

Many thanks for the super quick reaction to issue #2
Unfortunately, this is embarrassing, I think I was not clear in my text, I meant that "greater or equal" (> followed by =) and "smaller or equal" (< followed by =) should be handled as ligatures.
Here an example on how it is handled in Fira Code:

Sorry for the confusion.

Installation via homebrew does not work

When executing brew cask install font-victor-mono I get the following error

Error: Cask 'font-victor-mono' is unavailable: No Cask with this name exists.

Homebrew Missing VictorMono-ItalicBold.otf

➜ brew cask install homebrew/cask-fonts/font-victor-mono 11:42:46 PM
==> Satisfying dependencies
==> Downloading https://rubjo.github.io/victor-mono/VictorMonoAll.zip
######################################################################## 100.0%
==> No SHA-256 checksum defined for Cask 'font-victor-mono', skipping verification.
==> Installing Cask font-victor-mono
==> Purging files for version latest of Cask font-victor-mono
Error: It seems the Font source '/usr/local/Caskroom/font-victor-mono/latest/OTF/VictorMono-ItalicBold.otf' is not there.

~/Development/workcation-splash via ⬢ v11.10.0
➜ brew cask install caskroom/fonts/font-victor-mono 11:47:36 PM
==> Satisfying dependencies
==> Downloading https://rubjo.github.io/victor-mono/VictorMonoAll.zip
Already downloaded: /Users/evansparkman/Library/Caches/Homebrew/downloads/43b6f0d85f1a05524cab0ba69b5100f5a94726ed197cdb3d8d17d024da9d7b35--VictorMonoAll.zip
==> No SHA-256 checksum defined for Cask 'font-victor-mono', skipping verification.
==> Installing Cask font-victor-mono
==> Purging files for version latest of Cask font-victor-mono
Error: It seems the Font source '/usr/local/Caskroom/font-victor-mono/latest/OTF/VictorMono-ItalicBold.otf' is not there.

:: ligature request (tighter spacing)

Thank you for this amazing font! I'm curious if you've considered, or would consider, adding a ligature for :: with tighter spacing between the two colons (like Fira Code does)?

Make nicer ampersand

I think the ampersand looks a bit odd, it does not follow the same nice style as the rest of the font. "&&" style of writing code is quite common in any language and making them nicer would be worth it.

Example:
Screenshot 2019-08-27 at 15 39 26

But maybe that's only me?

Bold "E" in some sizes looks odd

Example:

This only happens in some font size, I'm using this in VS Code, hope that it isn't VSC causing the issue. If further info is needed, I'll be happy to give them!

Font not working on VS Code for mac

Hey,

I just updated my Mac and the font stopped working all together.
As of now I have tried the following:

  • reinstall the font
  • reinstall VSCode
  • reset my machine( I had to do it anyway because Catalina update broke some of my other utilities as well).

I don't know if this is something because of Homebrew.
So, it would be great if you could look into it.

Cherrs,

Sohil

Alignment of brackets/parentheses

I love this font, but I can't get myself to get over this alignment of brackets for some reason, and it's the only thing really holding me back from using this font :(

An example of this is:

Would it be possible to remove this alignment or make it less strong?

angle-brackets not tall enough

for what it's worth, mathematical angle brackets do not render well. E.g. in |Ψ⟩⟨Ψ|, the brackets should match the size and position of the vertical line.

Too Thin

font is tooooo thin almost unreadable, need to set it bold so it is readable.

Font rendering of capitalized italics is buggy

Hey there,

I've been trying to figure out why some capital italic letters are cut off or render smaller, eg. see letter 'Q' here:

img

I opened an issue on kitty (the terminal I use): kovidgoyal/kitty#2028 - but it seems like the problem is with the font.

Quoting from the kitty docs:

The number of cells a unicode character takes up are controlled by the unicode standard. All characters are rendered in a single cell unless the unicode standard says they should be rendered in two cells. When a symbol does not fit, it will either be rescaled to be smaller or truncated (depending on how much extra space it needs). This is often different from other terminals which just let the character overflow into neighboring cells, which is fine if the neighboring cell is empty, but looks terrible if it is not.

Some programs, like powerline, vim with fancy gutter symbols/status-bar, etc. misuse unicode characters from the private use area to represent symbols. Often these symbols are square and should be rendered in two cells. However, since private use area symbols all have their width set to one in the unicode standard, kitty renders them either smaller or truncated. The exception is if these characters are followed by a space or empty cell in which case kitty makes use of the extra cell to render them in two cells.

Cyrillic glyphs

Thank you very much for font. But I would like to be able to write comments in the code in Russian.
P. S. Where I can download Glyphs project file?

Revise & refine italics

Not 100% happy with all the italic glyphs yet, so at some point, alternative solutions should be explored.

Any recommendations for VS Code?

I found this font via your recommendation on thread open-source-ideas/ideas#10

I love the font, I really want to use it, but I just can't get it to work well with any dark theme in VS Code. I usually use Fira Code so this is what I can compare with, and I really prefer dark themes like most developers do.

I have tried a ton of different Color Themes, the one in the screenshot below is markskelton.one-dark-pro-italic which supports italics for comments and keywords.

With Victor Mono:
Screenshot 2019-06-19 at 09 31 56

With Fira Code:
Screenshot 2019-06-19 at 09 31 38

You can see how easy it is to read Fira Code, and while Victor Mono looks great it just isn't legible for some reason. It's like it is too thin for this dark background.

I am using default font smoothing (subpixel rendering), default font weight, I installed the .TTF files, I am using a Mac. I have tried different smoothing and it just makes things worse.

Sad fact is that this font is more legible on light themes 😢
Screenshot 2019-06-19 at 09 37 55

So I guess I would like you to try VS Code, see if you can get Victor Mono to work well with a Dark Theme and then share your findings and screenshots. This would help me a lot.

powerline/terminal setup

Not an issue, more of a question. How did you achieve the terminal look in the screenshot on your website and in the readme? When I set Victor mono as my font in iTerm2 with Oh my ZSH none of the icons work.

<= and >= ligatures missing

I do not agree about the little twist of the ff, fl and fi ligatures (part understandably) bothering (#1) some, but hey, that's your font and it should stay like that.

But , <= and >= missing ligatures are a pain in the ass and wayyyy more important :-D :-D

btw, thanks a lot for that great work, this instantly became my PhpStorm font!

"fi" and "fl" ligatures render incorrectly in MacVim

Background

hello! since switching from terminal Vim to MacVim, I've noticed that fl and fi render improperly, making text such as fixme, fluid, and config illegible and messing up the rest of the line.

within MacVim, a similar issue has been raised for a different font, albeit for different characters: macvim-dev/macvim#841

I have been unable to replicate this issue with any other font on my machine that uses ligatures, so I'm curious as to whether this is not a MacVim-specific rendering problem, whether similar behavior can be replicated, and whether this is the correct place to make note of it.

given the discussion on whether the ligatures in question should be included at all, this issue slightly relates to: #1

thanks!

Screenshots

set macligatures

image

set nomacligatures

image

Plan to publish to npm

As title.

Is there any plan to publish webfont with font-face stylesheet to npm registry?

Unable to install font-victor-mono from brew cask

I tried to install the font via brew cask but it throws an error saying
"Cask 'font-victor-mono' is unavailable: No Cask with this name exists."
Below is screenshot:
error_msg_font_brew
@rubjo Can you please point out if anything have to do prior to downloading the font?

Cursive on VS Code

I have installed the font on a Windows 10 system and cannot get the cursive to show in ether code or the insiders build. both IDE's are up to date and using the default dark theme

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.