Skip to content
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

Any way to scale up width/height and also affect axis size? #101

Open
ffxsam opened this issue Oct 24, 2019 · 1 comment
Open

Any way to scale up width/height and also affect axis size? #101

ffxsam opened this issue Oct 24, 2019 · 1 comment

Comments

@ffxsam
Copy link

ffxsam commented Oct 24, 2019

I'm trying to use larger width/height values in order for waveforms to look nicer on retina displays. The only issue is, the axis itself doesn't scale up with the waveform, so it becomes illegible. Is there any way to have the axis lines and numbers maintain their size no matter what the size of the output image?

wave

wave@2x

@chrisn
Copy link
Member

chrisn commented Oct 25, 2019

Thanks for the feedback, this is a good suggestion. To implement, we'd need to move to FreeType text rendering, rather than using libgd's built in fonts as we currently do. See https://libgd.github.io/manuals/2.2.5/files/gdft-c.html for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants