Behdad Esfahbod
5686bcb342
[roundTools] Add missing export
2023-10-19 12:01:40 -06:00
Nikolaus Waxweiler
d584daa8fd
Blacken code
2022-12-13 11:26:36 +00:00
Cosimo Lupo
f05691246a
{fixed,round}Tools: factor out nearestMultipleShortestRepr
...
extract the code from fixedToStr into its own function (defined in roundTools), to be used for serializing fractional F2Dot14 angles for COLRv1 PaintRotate etc.
2021-07-06 17:35:03 +01:00
Behdad Esfahbod
3a9a2bd4b1
[misc.roundTools] Add noRound(), maybeRound(), and roundFunc()
...
Moving out of CFF code, to be used in VariationModel().
Part of https://github.com/fonttools/fonttools/issues/2213
2021-03-04 09:20:43 -07:00
Behdad Esfahbod
abc1ba07a4
[misc.roundTools] New module; move otRound() here
...
Code relying on old place (fixedTools.otRound) still works.
2021-03-04 09:20:43 -07:00