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:
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