Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (â‹®) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

StreamDeck AAO Plugin Fonts

Featured Replies

Hi,

Maybe I'm missing something, but it would be wonderful if we could use whatever fonts we have available on our PC in the StreamDeck plug-in, instead of the few that are present at the moment.

Are there any plans to implement this in future updates?

Many thanks 🙂

Troy K

  • Commercial Member

I don't think that this is possible. The AAO Plugin is a Javascript implementation that is executed inside Elgato's WebServer/Browser architecture. I doubt that it even has access to all the Windows fonts and/or that the font APIs are available. Web assets really struggle with this kind of thing, probably because it involves accessing the operating system - which is usually not allowed, for security reasons.

You can try and add you preferred font(s) to the <select> boxes in the PI sources, for example here:
...\AppData\Roaming\Elgato\StreamDeck\Plugins\com.lorbysi.aao.sdPlugin\pi\js\textGaugePI.js

But there is no guarantee that they will work.

And bear in mind that even if they work, you won't be able to share those profiles with others when you use custom fonts.

Edited by Lorby_SI

LORBY-SI

  • Author

Thanks for the reply. Unfortunately, your suggestion doesn't seem to work. Really hope you can find a way to incorporate any font natively in the future, as the Pilots Deck plugin does. I think the AAO plug-in is far superior, and having custom fonts would be an added layer of immersion.

 

Thanks again!

Troy K

  • Commercial Member
8 hours ago, vanislepilot said:

Really hope you can find a way to incorporate any font natively in the future, as the Pilots Deck plugin does.

Pilots Deck is a C++ plugin, that is why it can do that. The AAO plugin is Javascript, and it can't do that. That's just how it is, sorry. I tried the various options that allowed some of this in the past, but these don't even work in normal browsers today, let alone in the custom Elgato web server/browser combo that powers the StreamDeck. 

Edited by Lorby_SI

LORBY-SI

  • Commercial Member
9 hours ago, vanislepilot said:

Unfortunately, your suggestion doesn't seem to work.

You must be doing something wrong? 

I just tried it myself. The Elgato software can definitely display fonts from my PC that are not web-friendly. 

Here is what I did: I created a simple AAO TextGauge action, and then used my StreamDeckEditor app to change the font of this action to  a scripty font called "Alfredo". This is working fine, I am looking at it right now. I cannot give you a list of all fonts to choose from on the PI, but I could add a text box where you can input a font name. 

Edited by Lorby_SI

LORBY-SI

  • Commercial Member
9 hours ago, vanislepilot said:

Thanks for the reply. Unfortunately, your suggestion doesn't seem to work. Really hope you can find a way to incorporate any font natively in the future, as the Pilots Deck plugin does. I think the AAO plug-in is far superior, and having custom fonts would be an added layer of immersion.

 

Thanks again!

OK, so here is what I will do: I will add a config file to the AAO plugin where you can add your own fonts. If the Elgato web logic can display those fonts, everything is fine. If it can't, then that's that. I tried a few of my own local fonts and they seemed to work fine.

LORBY-SI

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.