mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-29 16:23:55 +00:00
Merge pull request #732 from matthew16550/braille-descent
Fix Braille text descent calculation
This commit is contained in:
commit
f71ce124ee
@ -197,6 +197,11 @@ public enum FileFormat {
|
|||||||
final double width = 3 * nb * quanta + 1;
|
final double width = 3 * nb * quanta + 1;
|
||||||
return new Dimension2DDouble(width, height);
|
return new Dimension2DDouble(width, height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public double getDescent(UFont font, String text) {
|
||||||
|
return UGraphicBraille.QUANTA;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user