Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Recent Posts
3
3rd Party Plugins - (fb2k) / Re: foo_vis_text (Text Visualizer)
Last post by Sergey77 -

But that's pgyt's fault for gluing a browser into the component. It's sad to see everything turning into Electron app or a browser-powered monster.
Case, let me comment.
But fb2k is already powerful out of the box (like a monster) thanks to its plugins.
And this is one of the reasons why I use fb2k every day for a long time and use it with pleasure.
And I can always choose what my fb2k will look like and what it will contain.
5
3rd Party Plugins - (fb2k) / Re: foo_vis_text (Text Visualizer)
Last post by pqyt -
What other technology would you have used for text output with colors, fonts

I posted about this before in your other thread...

https://jscript-panel.github.io/gallery/text-display/

Obviously I didn't mention the implementation back then but I use IDWriteTextLayout and DWRITE_TEXT_RANGE for applying colours and fonts to substrings of a string.

Not as powerful as CSS but somewhat easier for the average user.

No one has to know a single bit of javascript/CSS or know anything about callbacks, All that is managed by me.
I should have added: without coding another implementation. In this case I don't suffer from the "Not invented here" syndrome. Great. Now the users have a choice.
6
3rd Party Plugins - (fb2k) / Re: foo_vis_text (Text Visualizer)
Last post by marc2k3 -
What other technology would you have used for text output with colors, fonts

I posted about this before in your other thread...

https://jscript-panel.github.io/gallery/text-display/

Obviously I didn't mention the implementation back then but I use IDWriteTextLayout and DWRITE_TEXT_RANGE for applying colours and fonts to substrings of a string.

To make it ridiculously easy for the end user, I support $rgb title formatting in my component scripts**. This is native to fb2k. I then have my own custom $font function. To implement that, use titleformat_hook from the SDK. It's an extra arg for the usual format_title methods.

** edited for correctness: my component doesn't support $rgb as such. I parse it with javascript.

This screenshot I posted in your other thread is an example of how to use it...



Not as powerful as CSS but somewhat easier for the average user.

No one has to know a single bit of javascript/CSS or know anything about callbacks, All that is managed by me.
7
3rd Party Plugins - (fb2k) / Re: foo_vis_text (Text Visualizer)
Last post by pqyt -
I.e. because the application is attached to the browser it will not work add in window "Text Visualizer" streaks/strips with: slider playback and slider volume? And what about transparency?
There are 3 technology domains in play: web browsing, scripting, and content rendering with colors, fonts and layout. I re-used the engine of the Chrome and Edge (and possibly other) browsers for the last domain (text rendering) and coupled it with a small interface to fb2k information. You get the other 2 as a package deal.

What you do with those technologies is your choice. I don't have the intention, time and skills (in that order) to create eye candy user interfaces.

But it's a public forum so maybe another user can help you.
8
3rd Party Plugins - (fb2k) / Re: foo_vis_text (Text Visualizer)
Last post by pqyt -
But that's pgyt's fault for gluing a browser into the component. It's sad to see everything turning into Electron app or a browser-powered monster.
'Fault' is a rather strong word in this context. What other technology would you have used for text output with colors, fonts and layouts? I merely intended to re-use the power of CSS. What I didn't expect is that people would focus on the JavaScript possibilities.