-
Notifications
You must be signed in to change notification settings - Fork 45
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
Make type used for line width computations generic #327
Comments
With the changes in #421, we now use I think this is a good compromise: the This means that this issue is obsolete now. |
We currently use
usize
for line widths, which works well for terminal text. To support wrapping text for PDFs or SVGs, we need to be more flexible. We might be able to usef64
, but we should probably make the type generic so that people can plug in their own bignum types.This would also allow terminal text applications to use a smaller type, such as
u16
, which would lower the memory usage a 64-bit system.The text was updated successfully, but these errors were encountered: