Re: Text without AWT?
Posted by
Xerxes Rånby on
Mar 02, 2017; 12:36pm
URL: https://forum.jogamp.org/Text-without-AWT-tp4037684p4037717.html
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%22Thus 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.gradleI 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