This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* A thread-safe class that loads and caches typefaces. | |
*/ | |
public final class TypefaceCache | |
{ | |
private static final int INITIAL_CAPACITY = 2; | |
private static final ConcurrentHashMap<String, Typeface> pathToTypeface | |
= new ConcurrentHashMap<>(INITIAL_CAPACITY); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To set spells as an obfuscation dictionary for ProGuard | |
# add the following lines to the ProGuard configuration: | |
# | |
# -obfuscationdictionary spells.txt | |
# -classobfuscationdictionary spells.txt | |
# -packageobfuscationdictionary spells.txt | |
Alohomora | |
Orchideous | |
Tergeo |