mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 16:43:26 +02:00
Improved sharing
This commit is contained in:
@@ -131,6 +131,10 @@ public class HtmlHelper {
|
||||
static final float FONT_SMALL = 0.8f;
|
||||
static final float FONT_LARGE = 1.25f;
|
||||
|
||||
static final int MAX_FULL_TEXT_SIZE = 1024 * 1024; // characters
|
||||
static final int MAX_SHARE_TEXT_SIZE = 50 * 1024; // characters
|
||||
static final int MAX_TRANSLATABLE_TEXT_SIZE = 50 * 1024; // characters
|
||||
|
||||
private static final int DEFAULT_FONT_SIZE = 16; // pixels
|
||||
private static final int DEFAULT_FONT_SIZE_PT = 12; // points
|
||||
private static final int GRAY_THRESHOLD = Math.round(255 * 0.2f);
|
||||
@@ -140,7 +144,6 @@ public class HtmlHelper {
|
||||
private static final int MAX_ALT = 250;
|
||||
private static final int MAX_AUTO_LINK = 250;
|
||||
private static final int MAX_FORMAT_TEXT_SIZE = 200 * 1024; // characters
|
||||
static final int MAX_FULL_TEXT_SIZE = 1024 * 1024; // characters
|
||||
private static final int SMALL_IMAGE_SIZE = 5; // pixels
|
||||
private static final int TRACKING_PIXEL_SURFACE = 25; // pixels
|
||||
private static final float[] HEADING_SIZES = {1.5f, 1.4f, 1.3f, 1.2f, 1.1f, 1f};
|
||||
|
||||
Reference in New Issue
Block a user