Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

A question about fonts

A topic by Landrik7 created Mar 02, 2024 Views: 207 Replies: 2
Viewing posts 1 to 3

Hi I'm very new to Decker and I discovered it recently thanks to the article in French that was published in the French interactive fiction website.

I was wondering as I understand that Decker isn't made to be able to use utf-8 fonts :  is there a way to use multiple fonts within the same field widget? This would be particularly useful for accommodating accents in languages like French, where there are numerous accented characters such as à À, é É, è È, as well as French quotation marks « », and so on. Not all characters can be properly displayed using a single font in French. Therefore, we might need to employ multiple customized fonts to fully support French text in a single widget. Additionally, this feature could benefit English users who wish to include emojis and special icons in their text. Or users who wish to use multiple font type in the same widget...

(+1)

(I can't check at the moment, but from what I remember...)

There is a 'Text' option on the menu bar at the top that will appear if you're editing a field. 

If you see it and it's grayed-out you can highlight the the part of the field that you'd like to change and the menu option should become clickable.

There are a few default options in the menu but choosing 'Text' > 'Font' lets you pick from anything that's available in the deck.

Multiple fonts for more characters and symbols is a very good idea. Thank you for sharing that!

Oh yes it works!Many thanks! I hadn't noticed it. I'm planning to create a brief Python script to replace any non-English character with the corresponding English letter from my special font... Thanks again!