1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-30 00:33:53 +00:00

Merge pull request #732 from matthew16550/braille-descent

Fix Braille text descent calculation
This commit is contained in:
arnaudroques 2021-10-29 09:52:01 +02:00 committed by GitHub
commit f71ce124ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}
}; };
} }