-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Float serialization: option to limit precision #189
Comments
+1 to anything that limits unnecessary / uninformative diffs |
I found an annoying behavior in ufonormalizer: if you try to work around the truncation and give e.g. 20 decimal places, it also changes color strings from |
Lol. For those times when you need the exact color that you want. Do you need to dig into serde to address this here? |
Hm, I'm not sure yet. For glif serialization, a simple function might work; for serde serialization, I think you can direct it to use a custom function. |
Ugh. Which one? |
Emailed details to you. I didn't make the edits. I think that this is ufolib2? |
ufonormalizer by default truncates floats to 10 decimal places, leading to diffs between norad and ufonormalizer on e.g. guideline angles.
The text was updated successfully, but these errors were encountered: