GithubHelp home page GithubHelp logo

Spans of font sizes about cosmic-text HOT 8 CLOSED

pop-os avatar pop-os commented on July 28, 2024 6
Spans of font sizes

from cosmic-text.

Comments (8)

J-Cake avatar J-Cake commented on July 28, 2024 2

I just wanted to leave a plus one on this please. I would make heavy use of this

from cosmic-text.

jackpot51 avatar jackpot51 commented on July 28, 2024 1

font size affects layout, not shaping. Though I'd probably break up runs of different font sizes into different shaping runs to make sure they don't have ligatures connecting them.

from cosmic-text.

conradludgate avatar conradludgate commented on July 28, 2024 1

Hello, @conradludgate! I noticed that you referenced this specific issue and made some changes to the code. I'm curious to know the current status of those changes. Do you have any plans to submit a PR soon to address the issue? I'm quite interested in having this feature implemented and would appreciate any updates or information you can provide. Thank you!

I believe it worked well enough for my needs. I don't have time right now to continue working on it, but I'm happy for someone to take my commit and open a PR from it

from cosmic-text.

jackpot51 avatar jackpot51 commented on July 28, 2024

Color was also done in that sort of strange way. Perhaps both color and font size could be a struct specifically for overriding things later on in the process?

from cosmic-text.

geom3trik avatar geom3trik commented on July 28, 2024

How much later though? Because wouldn't font size affect shaping? (it my not, I'm just wondering)

from cosmic-text.

StaffEngineer avatar StaffEngineer commented on July 28, 2024

Yeah, I am implementing markdown support for my app using cosmic-text, and for implementing markdown headings this feature would be really handy, so plus one to it.

from cosmic-text.

StaffEngineer avatar StaffEngineer commented on July 28, 2024

Hello, @conradludgate! I noticed that you referenced this specific issue and made some changes to the code. I'm curious to know the current status of those changes. Do you have any plans to submit a PR soon to address the issue? I'm quite interested in having this feature implemented and would appreciate any updates or information you can provide. Thank you!

from cosmic-text.

StaffEngineer avatar StaffEngineer commented on July 28, 2024

@conradludgate I gave the changes a try, but they're not quite what I had in mind. What I really need is a feature to make spans bigger by adjusting the font size, so I can effectively implement markdown headings.

from cosmic-text.

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.