aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin F. Haggerty <haggertk@lineageos.org>2019-06-13 19:33:24 -0600
committerKevin F. Haggerty <haggertk@lineageos.org>2019-07-31 22:03:29 -0600
commit21d97cbc1adcd2882812005cc5cfb2084cbf8523 (patch)
treebdd853530486fd608fc2734ad940086c1f0327e1
parentd215ccb05220d645e52e9cb0bc6ce179d3af6e50 (diff)
downloadcontributors-cloud-generator-21d97cbc1adcd2882812005cc5cfb2084cbf8523.tar.gz
contributors-cloud-generator-21d97cbc1adcd2882812005cc5cfb2084cbf8523.tar.bz2
contributors-cloud-generator-21d97cbc1adcd2882812005cc5cfb2084cbf8523.zip
Bump DEFAULT_SIZE to 1928
* We don't fit in less than 1928x1928 anymore, at least not if you can see *all* the changes Change-Id: I472f95321b67b341fa07cb89649a06cc78b10730
-rw-r--r--README.md10
-rw-r--r--source/src/main/java/CloudGenerator.java2
2 files changed, 11 insertions, 1 deletions
diff --git a/README.md b/README.md
index cc28a5c..29d2d85 100644
--- a/README.md
+++ b/README.md
@@ -16,6 +16,16 @@ your local mirror by doing the following:
export MIRROR_ROOT=/path/to/mirror
+Not everyone can see every change on Gerrit. Some changes are private
+for various reasons, some old changes are on branches that are hidden
+for performance reasons. If you cannot see all the changes then a
+cloud of 1928x1928 will not be filled; the base image will grow as
+required, but it will not shrink. You can decrease the initial size by
+creating a text file containing a single value. For example, a 900x900
+initial size cloud can be created by doing the following:
+
+ echo "900" > db/last_cloud_size.txt
+
To generate the code, open a linux console and type:
./generate_wordcloud.sh
diff --git a/source/src/main/java/CloudGenerator.java b/source/src/main/java/CloudGenerator.java
index cafcdee..eb0baa2 100644
--- a/source/src/main/java/CloudGenerator.java
+++ b/source/src/main/java/CloudGenerator.java
@@ -86,7 +86,7 @@ public class CloudGenerator {
private static final String CLOUD_BG_PNG = ROOT_DIR + "resources/lineageos.png";
private static final String CLOUD_FONT = ROOT_DIR + "resources/Roboto-Bold.ttf";
private static final String LAST_CLOUD_SIZE = ROOT_DIR + "db/last_cloud_size.txt";
- private static final int DEFAULT_CLOUD_SIZE = 1896;
+ private static final int DEFAULT_CLOUD_SIZE = 1928;
private static final int DEFAULT_CLOUD_INCREMENT = 16;
private static int wellKnownAccounts;