Skip to content

can I specify a font type for a toga.Command? #2622

Answered by freakboy3742
l-o-u-i-s-g asked this question in Q&A
Discussion options

You must be logged in to vote

The Iconic font possibly does work on Linux without registration - if you've installed Iconic as a system font. If the font hasn't been installed, then font lookup won't work - you'll need to register it. Essentially this is what you should be doing for every font that isn't one of the system fonts.

As for Command - no, there isn't any font or style options, because a Command is an abstract idea - it's a "thing that can be executed". It has a label, but how that label is rendered depends on what is doing the rendering. It could be a menu item, it could be a toolbar item, or it could be some other mechanism for triggering execution.

So - you don't want to set the font on the Command - you …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by l-o-u-i-s-g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants