Coder Social home page Coder Social logo

Comments (5)

Ciubix8513 avatar Ciubix8513 commented on June 3, 2024

Adding strikethrough and underlined would be relatively easy, I think. Bold may be achieved by increasing pixel size, tho I'm not sure it will give the desired result.
Fontforge seems to have inbuilt italics generation, tho i'm not sure if that would create the proper result

from monocraft.

Dheatly23 avatar Dheatly23 commented on June 3, 2024

Normally, font renderers are able to "bold" and "italic" fonts automatically. But sometimes it can go bad.

Italicizing is quite easy, just slant the grid by let's say 15 degrees. Bold can be done by expanding the lines by small amount. Underline and strikethrough is already automatic, since it's just a simple line.

As far as my research goes, Fontforge can't pack all variants into a single file. So there will be a separate file for italic and bold variant.

from monocraft.

LevitatingBusinessMan avatar LevitatingBusinessMan commented on June 3, 2024

Normally, font renderers are able to "bold" and "italic" fonts automatically. But sometimes it can go bad.

From my testing Alacritty isn't able to do this. Could be a limitation of Alacritty, I can look into that.

from monocraft.

Dheatly23 avatar Dheatly23 commented on June 3, 2024

I have tested some ideas and it might work. It's on my fork at branch new-ligatures. I maybe put a proper PR later.

from monocraft.

SirMishaa avatar SirMishaa commented on June 3, 2024

As far as I'm concerned, the rendering is already good, but it would be much better if the text were a little more bold.

If anyone has solutions for this, I'd be interested.

from monocraft.

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.