Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Thank you so much!

Edit: I forgot to ask, would editing text directly in the exported HTML file of a deck damage the file itself?

(1 edit) (+1)

It wouldn't damage the files, but it wouldn't add support for those characters. When Decker loads a .deck file (including one embedded in a .html export), it normalizes UTF-8 into the supported DeckRoman character set and converts unsupported characters into �. A manually-edited deck would lose unsupported characters before scripts have a chance to run, and the file would not round-trip retaining that data.

As in Native-Decker, it would be possible to create a modified version of Web-Decker with a different set of lookup tables for converting between UTF-8 and DeckRoman. (This would make such decks incompatible with mainline Decker!) You'd also need to furnish a set of fonts corresponding to this rearranged text encoding- presumably at least replacing Decker's three built-in fonts 'Mono', 'Menu', and 'Body'.

If you just want to display text in a non-latin alphabet you can simply make custom fonts using Decker's font editor, but the underlying text will still be DeckRoman from the perspective of copying and pasting to the system clipboard, typing on a keyboard, or saving a .deck file to disk.

(1 edit) (+1)

If you just want to display text in a non-latin alphabet you can simply make custom fonts using Decker's font editor, but the underlying text will still be DeckRoman from the perspective of copying and pasting to the system clipboard, typing on a keyboard, or saving a .deck file to disk.

In a sense that Decker will still recognise the base letters within that file while demonstrating/showing it as another appearance-wise? Did I understood it correctly?

(+1)

correct. The text will always be some arrangement of DeckRoman letters and symbols, but you can make them look like whatever you want by making a custom font and applying that font to widgets in the deck.

(+1)

As long as said letters and symbols correspond to the default set of numbers too, did I get it right?