mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Fix the encoding of files with UTF-8 symbols to make them compile properly and without warnings.
This commit is contained in:
@@ -107,7 +107,7 @@ public class ImageUtil {
|
||||
}
|
||||
|
||||
private static String formatName(final String name) {
|
||||
return StringUtils.replaceChars(name, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", "aaaeeeuuuiiiooo");
|
||||
return StringUtils.replaceChars(name, "áàâéèêúùûíìîóòô", "aaaeeeuuuiiiooo");
|
||||
}
|
||||
|
||||
public static String getImageKey(final PaperCard cp, final boolean backFace, final boolean includeSet) {
|
||||
|
||||
@@ -140,7 +140,7 @@ public final class SResizingUtil {
|
||||
existingComponents.add(c);
|
||||
}
|
||||
|
||||
// This is the core of the pixel-perfect layout. To avoid <EFBFBD>1 px errors on borders
|
||||
// This is the core of the pixel-perfect layout. To avoid ±1 px errors on borders
|
||||
// from rounding individual panels, the intermediate values (exactly accurate, in %)
|
||||
// for width and height are rounded based on comparison to other panels in the
|
||||
// layout. This is to avoid errors such as:
|
||||
|
||||
Reference in New Issue
Block a user