GithubHelp home page GithubHelp logo

creep2's Introduction

A copy of the 'creep' font by romeovs but with a strict character bounding box

Notes

  • mintty/wsltty, as of version of 3.4.7, should use AutoLeading=0 and RowSpacing=0 to retain original spacing between lines.
  • mintty, as of version of 2.7.6, requires RowSpacing=-1 in the .minttyrc file for the box drawing glyphs not to be invisible.

Introduction

I love romeovs's creep font, but I think you could only use it well in Apple's Terminal.app because it has negative line and character width spacing, which the font requires to be spaced correctly. The root cause of this appears to be because some glyphs are bigger than the 5px by 11px bounding box, causing most terminals to think a much bigger box is necessary for the general ASCII glyphs.

In order to fix this issue, I manually hand painted all the glyphs from the 'creep' font in fontforge. This was probably not the smartest way, but I did not feel like researching a way to import it by code. On the plus side, I was watching a few movies while drawing these glyphs, so it wasn't too bad ;-)

After doing this I could understand why some characters extend past the bounding box, as 5x11 is ridiculously small for the more complicated glyphs. However, to get it to work nicely on terminals and editors without negative spacing support, I had to use my best judgement and truncate or modify certain glpyhs so they all fit without exceptions. This of course is not as nice, and arguably makes certain glyphs much less recognizable, but I felt it was an acceptable compromise since they do not appear often.

Result

By maintaining the strict 5x11 bounding box, I was able to get the font working in all the programs I typically use that don't support fancy spacing adjustment:

  • XTerm (BDF format)
  • UXRvt (BDF format)
  • X11 (BDF format)
  • Windows GVim (TTF with embedded bitmaps)
  • mintty (TTF with embedded bitmap).
  • wsltty (TTF with embedded bitmap).
  • BashOnWindows / Bash on Ubuntu on Windows / Windows cmd.exe (TTF with embedded bitmap).
  • Notepad.exe (TTF with embedded bitmaps)

Now I have crazy awesome code density :-)

Original Here:

creep2's People

Contributors

raymond-w-ko avatar

Watchers

 avatar

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.