Billy Messenger

Results 62 comments of Billy Messenger
trafficstars

Ah yeah, it would be much better if there was a way to inline the custom icons with regular text (and possibly render icons directly in `TextRenderer`). Although making that...

Actually, I just got an idea how to make this work. I'll go ahead and do that (and also rebase to the latest commits).

Figured out how to properly rebase in VSCode this time :)

Alright, I reworked the API. Now there is no `IconSystem` or `IconRenderer`. Instead you just pass in extra `InlineBox` structs into `TextRenderer::prepare`, as well as a closure to rasterize the...

Actually, thinking about it, if cosmic-text gets inline boxes, they would be part of the text buffer. So I simplified things a bit. Now you just pass in a vec...

Alright, I removed the SVG-related logic.

I realized I forgot to account for scale factor, so I added a quick fix for that.

Are you happy with this API, or do you want to workshop this some more?

Alright, I finished making improvements.

Isn't glow OpenGL? I suppose in theory glyphon's rendering pipeline can be ported to OpenGL, it's just a matter of whether or not the author is up to maintaining that.