Skip to content

Instantly share code, notes, and snippets.

@tveimo
Last active August 29, 2015 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tveimo/9b8cbfaf2f2b527c2dec to your computer and use it in GitHub Desktop.
Save tveimo/9b8cbfaf2f2b527c2dec to your computer and use it in GitHub Desktop.
build openjdk 9 on osx with support for subpixel rendering on translucent surfaces
# building openjdk 9 on osx with subpixel antialiasing support for translucent surfaces
# openjdk 9 b70 from oracle already supports subpixel font rendering, just not for translucent surfaces
hg clone http://hg.openjdk.java.net/jdk9/jdk9 jdk9
cd ./jdk9
bash ./get_source.sh
cd jdk
# enable faster subpixel AA (this patch is now in OpenJDK 9 b76, so no longer required)
# curl http://cr.openjdk.java.net/~bae/8087201/9/webrev.01/jdk.patch | patch --dry-run -p1
# the change that enables support for translucent surfaces
curl https://gist.githubusercontent.com/tveimo/5677ccc024afe115d4bc/raw/f7b9acb1c6f356efa26f5772075a32dc899cd8ab/gistfile1.txt | patch -p0
cd ..
sh ./configure --disable-warnings-as-errors
make all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment