Code Monkey home page Code Monkey logo

Comments (8)

grantcarthew avatar grantcarthew commented on May 22, 2024 1

I just used my Node.js package console-probe and the tree structure is a mess. This is required to support many console tools.

Prior to Cascadia Code:

console-probe

With Cascadia Code:

Capture

I am starting to like this font though. Great work.

from cascadia-code.

mdtauk avatar mdtauk commented on May 22, 2024 1

Here are Box Drawing glyphs which can be added to the font - I have exported just those glyphs as a PS OpenType, so it should be trivial to add them in @aaronbell @cinnamon-msft @bitcrazed

  • Vertical Strokes are 180 units wide
  • Horizontal Strokes are 176 units wide.
  • There are -20 / +20 offshoots to avoid gaps between those glyphs which are designed to connect

image

CascadiaCode - Box Drawing.zip link removed, corrected below

from cascadia-code.

mdtauk avatar mdtauk commented on May 22, 2024 1

@aaronbell I used the DejaVuSansMono font as a guide for the overshoots. It seems to be considered a de-facto standard, and I was testing in the preview pane within FontLab. Any adjustments that you need to make is fine.

I was following the Unicode specs.

Box Drawing - https://www.unicode.org/charts/PDF/U2500.pdf
Block Elements - https://www.unicode.org/charts/PDF/U2580.pdf

There may also be scope to include additional glyphs according to a reference site here


I just got done doing the Block Elements glyphs

image

CascadiaCode - Block Elements.zip

from cascadia-code.

ExE-Boss avatar ExE-Boss commented on May 22, 2024

Same thing occurs with pnpm list ‑‑depth <number> and pnpm why <pkg>.

from cascadia-code.

DHowett-MSFT avatar DHowett-MSFT commented on May 22, 2024

@mdtauk U+2526 looks a little upset:

image

from cascadia-code.

mdtauk avatar mdtauk commented on May 22, 2024

@DHowett-MSFT @aaronbell Thanks for the catch - it happened during export to OTF. I corrected the curves so the overlap of the glyph shapes exports correctly.
image

CascadiaCode - Box Drawing.zip

from cascadia-code.

aaronbell avatar aaronbell commented on May 22, 2024

@mdtauk Thanks for your help! These look pretty easy to integrate :).

A couple of things:

  1. It looks like the vertical overlaps aren't quite working. I think part of the challenge is that interpretation of vertical metrics can vary from app to app, so it is better to base the height off of the winAscender and winDescender values.

  2. I'm noting that there's a number of other box drawing characters that appear to be missing from the set (mostly the block set).

In all this, though, I happened to remember that Adobe kindly released a script to generate all of these box drawing characters (including blocks) based on user-defined settings. Handy!

from cascadia-code.

aaronbell avatar aaronbell commented on May 22, 2024

Thanks @mdtauk!

Yeah, I tested it in Sublime Text and a couple other places. No problem, I can sort it out!

from cascadia-code.

Related Issues (20)

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.