workadventure/docs/maps
David Négrier 315fe7ca82
Adding a "font-family" property for text objects. (#1311)
- Tiled displays your system fonts.
- Computers have different sets of fonts. Therefore, browsers never rely on system fonts
- Which means if you select a font in Tiled, it is quite unlikely it will render properly in WorkAdventure

To circumvent this problem, in your text object in Tiled, you can now add an additional property: `font-family`.

The `font-family` property can contain any "web-font" that can be loaded by your browser.

This allows us to use the "Press Start 2P" 8px font in text objects, which renders way better than the default "Sans serif" font of your browser.
2021-07-29 17:49:51 +02:00
..
animations.md Migrating animations documentation 2021-06-22 15:18:41 +02:00
api-chat.md Starting splitting the doc in several pages. 2021-06-17 18:05:16 +02:00
api-controls.md Splitting documentation into several pages. Changing documentation to adapt to new "namespaces" 2021-06-18 11:44:54 +02:00
api-deprecated.md Adding list of deprecated methods in the documentation. 2021-06-21 12:13:40 +02:00
api-nav.md Improving docs 2021-06-29 18:26:21 +02:00
api-player.md FIX: removed incorrect documentation 2021-07-15 18:23:40 +02:00
api-reference.md Editing do to add "state" API doc 2021-07-08 11:46:30 +02:00
api-room.md Renaming WA.room.getMap to WA.room.getTiledMap 2021-07-21 16:40:53 +02:00
api-sound.md Splitting documentation into several pages. Changing documentation to adapt to new "namespaces" 2021-06-18 11:44:54 +02:00
api-start.md Adding WA.onInit method to wait for API startup. 2021-07-05 14:41:10 +02:00
api-state.md Adding documentation about onVariableChange 2021-07-20 09:19:44 +02:00
api-ui.md Change requested 2021-06-23 14:54:06 +02:00
scripting.md Fixing reference to deprecated method in doc 2021-07-23 12:26:18 +02:00
text.md Adding a "font-family" property for text objects. (#1311) 2021-07-29 17:49:51 +02:00
wa-maps.md Fix some typos (found by codespell) (#1316) 2021-07-27 14:29:09 +02:00