equal
deleted
inserted
replaced
164 |
164 |
165 /* Allow a client to override the reference type used to |
165 /* Allow a client to override the reference type used to |
166 * cache strikes. The default is "soft" which hints to keep |
166 * cache strikes. The default is "soft" which hints to keep |
167 * the strikes around. This property allows the client to |
167 * the strikes around. This property allows the client to |
168 * override this to "weak" which hint to the GC to free |
168 * override this to "weak" which hint to the GC to free |
169 * memory more agressively. |
169 * memory more aggressively. |
170 */ |
170 */ |
171 String refType = |
171 String refType = |
172 System.getProperty("sun.java2d.font.reftype", "soft"); |
172 System.getProperty("sun.java2d.font.reftype", "soft"); |
173 cacheRefTypeWeak = refType.equals("weak"); |
173 cacheRefTypeWeak = refType.equals("weak"); |
174 |
174 |