Skip to content
This repository has been archived by the owner on Aug 19, 2021. It is now read-only.

Fix double line issue #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -225,16 +225,16 @@ private ByteArrayOutputStream generateDesignByteArrayOutputStream(String text) t
}
if (h1) {
baos.write(TXT_4SQUARE_NEW);
baos.write(LINE_SPACE_88);
// baos.write(LINE_SPACE_88);
line = line.replace("{H1}", "");
charsOnLine = charsOnLine / 2;
} else if (h2) {
baos.write(TXT_2HEIGHT_NEW);
baos.write(LINE_SPACE_88);
// baos.write(LINE_SPACE_88);
line = line.replace("{H2}", "");
} else if (h3) {
baos.write(TXT_2WIDTH_NEW);
baos.write(LINE_SPACE_68);
// baos.write(LINE_SPACE_68);
line = line.replace("{H3}", "");
charsOnLine = charsOnLine / 2;
}
Expand Down