1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

Enable font antialiasing by launching JAVA with awt.useSystemAAFontSettings=on.

Bump PORTREVISION.

Submitted by:	Nikita Murzincev
This commit is contained in:
Matthias Andree 2015-06-10 17:50:58 +00:00
parent c6094d7162
commit c69b26b4fb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=389115
2 changed files with 19 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= docear
PORTVERSION= 1.1.0
PORTREVISION= 1
_suffix= _stable
CATEGORIES= deskutils java
MASTER_SITES= http://downloads.docear.org/${PORTVERSION}${_suffix}/ \

View File

@ -0,0 +1,18 @@
--- docear.sh 2015-06-10 19:42:49.000000000 +0200
+++ /tmp/docear.sh.new 2015-06-10 19:41:56.000000000 +0200
@@ -190,6 +190,7 @@
fi
_debug "Calling: "\
"${JAVACMD}" -Xmx512m\
+ "-Dawt.useSystemAAFontSettings=on"\
"-Dorg.freeplane.param1=$1"\
"-Dorg.freeplane.param2=$2"\
"-Dorg.freeplane.param3=$3"\
@@ -204,6 +205,7 @@
-xargs "${freedir}/init.xargs"
( echo "${DEBUG}" | grep -qe "exit" ) && exit 0 # do not start Freeplane
"${JAVACMD}" -Xmx512m\
+ "-Dawt.useSystemAAFontSettings=on"\
"-Dorg.freeplane.param1=$1"\
"-Dorg.freeplane.param2=$2"\
"-Dorg.freeplane.param3=$3"\