Coder Social home page Coder Social logo

Comments (2)

dvdhrm avatar dvdhrm commented on June 27, 2024

No. This has nothing to do with multiple outputs. I always hated those terminal emulators for providing no way to specify the number of rows/columns so I implemented this. Anyway, it seems that most users prefer specifying the font size instead of the row/column count so I might change the API to support both.

By the way, multiple monitors with the same console is done by rendering the console onto both outputs so our internal representation of the console is independent of the outputs. The pixel-hint in console.c is solely to specify the highest resolution the outputs should support to render the textures with proper resolutions. But they can still be mapped onto any arbitrary output.

Anyway, I think this is not urgent and can be put on the TODO list for 0.2 or so. For 0.1 I think using fixed 80x24 is fine.

Regards
David

from kmscon.

dvdhrm avatar dvdhrm commented on June 27, 2024

The new font-renderer has all we want. Default is the behavior that you described, that is, you select the font-size and the backend computes the column/row counts.

As a bonus I also added a second mode which allows to set a fixed column/row count and the backend will scale the fonts. Scaling is slow and may produce horrible-font-hinting. However, I really like this feature so I keep it ;)

The new font-renderer isn't used in the console-layer, yet. Anyway, I close this issue as the hard work is done. Thanks.

from kmscon.

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.