Mark George authored on 4 Oct 2019
src/ main Created the project 5 years ago
.gitignore Created the project 5 years ago
README.md Created the project 5 years ago
build.gradle Created the project 5 years ago
README.md

A test project to figure out how to package fonts in a Java application.

Instructions

You can just run the project to test.

To create a standalone version you just need to run the installDist gradle target. In NetBeans, you do this using:

Right click the root project > Tasks > installDist

This generates a build/install/package-font folder which contains the standalone version.

Run by using the appropriate script in the bin folder (package-font.bat for Windows, and package-font for macOS, Linux).

If the script doesn't work it may be because Java is not in an obvious place. Add the following to the top of the script:

set JAVA_HOME="C:/Program Files/Java/jdk12.01"

Use the appropriate path for the Java location on your computer.