Reply – Re: Text without AWT?
Your Name
Subject
Message
or Cancel
In Reply To
Re: Text without AWT?
— by Xerxes Rånby Xerxes Rånby
adi wrote
but with maven dependencies for Ubunto font there are problems to load with maven:
I use this:
<dependency>
 <groupId>org.jogamp.jogl</groupId>
 <artifactId>jogl-all-main</artifactId>
 <version>2.3.2</version>
</dependency>

an got the error:
File not found in maven Repo org\jogamp\jogl\jogl-all\2.3.2\atomic\jogl-fonts-p0.jar

If you use gradle then you can add one extra compile line to build.gradle in order to only fetch the fonts-p0.jar that is part of org.jogamp.org jogl 2.3.2
https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.jogamp.jogl%22

Thus the solution if using gradle to download and build a working example using the maven artifacts can be seen here:
https://raw.githubusercontent.com/xranby/jogamp-forum-examples/master/build.gradle

I am sure something similar can be added to a maven pom.

and be used like this:
git clone https://github.com/xranby/jogamp-forum-examples/
cd jogamp-forum-examples
./gradlew run