Skip to content

Syrious/foundryvtt-journal-font-scaler

Repository files navigation

GitHub All Releases GitHub Downloads (all assets, latest release) Support me on Patreon

CODE-ONLY REPO

This repository is only meant to host the code. All new releases can be found on my hub

FoundryVTT Journal-Scaler

Based on Journal Scaler, which hasn't been updated since Foundry v9. I reworked it to make it compatible with v10, v11 and v12.

What is does

This module enables you to change the font and image sizes inside journal windows using Ctrl + Mouse Wheel Up and Ctrl + Mouse Wheel Down.

In the settings, you can choose whether you want to always scale images or only scale them when you are holding both Ctrl + Shift.

Please note that it doesn’t remember the scaling settings when you close the entry, and the images and font sizes do not scale exactly the same way.

Installation and setup

For FoundryVTT 12 and earlier, this module requires ruipin's libWrapper library.

Acknowledgements

Original Journal Scaler

This module is based on Journal Scaler. Thanks for the earlier versions. Hope, you're doing well.

Development

This module uses Vite for development and building. This provides hot module reloading during development and optimized builds for production.

Setup

  1. Clone this repository
  2. Install dependencies with npm install

Development

Run the development server with:

npm run dev

This will start a development server with hot module reloading. Changes to your code will be immediately reflected in Foundry VTT without needing to refresh.

Building for Production

Build the module for production with:

npm run build

This will create a dist directory containing all the files needed for distribution.

About

This module lets you scale the text and images within journals.

Resources

License

Stars

Watchers

Forks

Contributors