From 107d1e298052593d433e4fb4d32b3551a4627390 Mon Sep 17 00:00:00 2001 From: matthew16550 Date: Fri, 29 Oct 2021 15:12:57 +1100 Subject: [PATCH] Fix Braille text descent calculation --- src/net/sourceforge/plantuml/FileFormat.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/net/sourceforge/plantuml/FileFormat.java b/src/net/sourceforge/plantuml/FileFormat.java index 9ea941f7b..f6199e906 100644 --- a/src/net/sourceforge/plantuml/FileFormat.java +++ b/src/net/sourceforge/plantuml/FileFormat.java @@ -197,6 +197,11 @@ public enum FileFormat { final double width = 3 * nb * quanta + 1; return new Dimension2DDouble(width, height); } + + @Override + public double getDescent(UFont font, String text) { + return UGraphicBraille.QUANTA; + } }; }