Skip to content
Merged
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 @@ -169,7 +169,8 @@ protected static double calculateFontWeight(int renderingMode, PDFont font) {
}

protected static void updateSymbolEnds(List<Double> symbolEnds, double shift, double left, int length) {
if (length <= 1) {
if (length == 0) return;
if (length == 1) {
symbolEnds.add(left + shift);
} else {
double newShift = shift / length;
Expand Down
Loading