GithubHelp home page GithubHelp logo

idreesinc / miracode Goto Github PK

View Code? Open in Web Editor NEW
832.0 7.0 6.0 6.43 MB

A sharp, readable, vector-y version of Monocraft, the programming font based on Minecraft

Home Page: https://idreesinc.com

License: SIL Open Font License 1.1

Python 100.00%
font fonts ligatures minecraft typeface

miracode's Introduction

Miracode

Github all releases


The font for those who like Monocraft but want to be able to read what they type!

Follow me for updates on this and other projects!

Features

  • Like Monocraft, but readable!
    • The characters in this font are based on Monocraft which is based on the typeface used in the Minecraft UI
    • Each of the 1500+ glyphs included in this font have been carefully redesigned to work in a monospaced font
    • Thin characters like "i" and "l" have been reworked with tasteful tails and serifs to look better in a monospaced environment
  • Angular!
    • Miracode uses a special algorithm to convert the pixels that make up each character into a series of lines and curves. This gives each character a unique, angular look that is sure to make your code stand out
  • Programming ligatures!
    • Add some spice to your programming life with all new ligature characters
    • Arrows now look like arrows and comparison operators are easier to see at a glance
    • Plus, Miracode includes some ligatures that are not available in Monocraft such as a ligature for "TODO:" and "NOTE:"

Glyphs

How to install

Windows

Download the most recent Miracode.ttf file from the Releases page. Right click on the downloaded font and select Install. You might need administrative access to install fonts, depending on your machine.

Mac

Download the most recent Miracode.ttf file from the Releases page. Double click on the downloaded font file and select Install Font in the window that appears. More help available here.

Linux

Download the most recent Miracode.ttf file from the Releases page. Move the file to ~/.local/share/fonts (create the folder if it doesn't already exist). In a terminal, run fc-cache -fv. Alternatively, log out and log in again.

How to use

After following the installation instructions up above, simply select the "Miracode" font (note the space) in any application that supports custom fonts. You might need to restart the application or your computer for the font to appear.

FAQ

What ligatures are available?

How are these characters generated?

Using FontForge's excellent Python extension, the glyphs are created from configuration files representing each character's pixels. Diacritics are created separately and are combined with the original characters to create over 1500 unique glyphs. To learn more, check out the source code in the src folder.

How do I contribute?

Unlike Monocraft, this font was made specifically with my use cases in mind and as such includes more weird features that Monocraft lacks. If you have any suggestions or improvements, feel free to open an issue or a pull request, but I can't guarantee that I'll accept every change!

miracode's People

Contributors

ciubix8513 avatar dantaeusb avatar dheatly23 avatar erickgnavar avatar gorbit99 avatar idreesinc avatar kpostnov avatar nevillepark 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

miracode's Issues

Pixel-perfect rendering at medium size impeded

Describe the bug

The minimum pt size to get pixel-perfect rendering is too high. Consider the glyph U+0030 DIGIT ZERO: left edge is at x=32u, right edge at x=1248u, cell width is 1536u. Font declares 1em=2304u.

To get pixel-perfect rendering, one must choose a pt size such that (x-in-units x screendpi x ptchosen / emsize / 72) is integral.

  • 32 x 96 x PT / 2304 / 72 = ...
  • 1248 x 96 x PT / 2304 / 72 = ...
  • 1536 x 96 x PT / 2304 / 72 = ...

One will find that (for a 96dpi environment) 54pt gives exact rendering. All smaller sizes therefore incur smoothing artfiacts.

Expected behavior

As many glyphs seem to share a left edge of 32 units, I suggest to move all glyph nodes left (or right) by 32u. For '0', the left edge is now at x=0 (or x=64), right edge at x=1216 (or x=1280).

64 x 96 x PT / 2304 / 72 =
1280 x 96 x PT / 2304 / 72 = ...
1536 x 96 x PT / 2304 / 72 = ...

and one finds a result of 27. Incidentally, Monocraft also has 27, so that's a good sign.

percentage sign looks wierd

Should probably be better if it didn't have the stepping in the middle.

Screenshots
image

Operating system
Linux

Software
Neovim (in Kitty Terminal)

Additional context
Add any other context about the problem here.

Font weight & font width options?

It already looks amazing so far, but having bold/semi-bold/light and condensed/extended options would be amazing :p Oblique/italic also

Uppercase Tshe (Ћ) looks too similar to lowercase form (ћ)

Describe the bug
Ћ is difficult to tell apart from its lowercase variant, ћ. It would be better if its top part looked like that of Ђ. As it is, the only difference between the upper- and lowercase variants is the length of the bar.

Expected behavior
I expected uppercase Ћ to have a top bar like the letter T, and not a cross bar as does its lowercase variant, ћ.
The same as what does Ђђ have, as the only visual difference of Ђ and Ћ in actual use, is the curving of the tail. The uppercase letters' top bars should look the same.

Screenshots

2024-09-02_17-21

Operating system
Arch Linux

Uppercase V could be improved

Describe the bug
In my opinion, uppercase V does not need extra curves at the bottom. This is a matter of preference of course but I think it will improve readability.

Expected behavior
Uppercase V should have straight lines at the bottom, not curved.

Screenshots
If applicable, add screenshots to help explain your problem.

image

Operating system
MacOS X 14.2.1

Software
VS Code

Additional
image

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.