Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Rendering Blurriness Due to Default Cairo Library Grid System #52

Open
jamesbriggs opened this issue Oct 30, 2017 · 0 comments
Open

Rendering Blurriness Due to Default Cairo Library Grid System #52

jamesbriggs opened this issue Oct 30, 2017 · 0 comments

Comments

@jamesbriggs
Copy link

All of the charts produced with Chart::Clicker have blurry lines and text.

The Cairo FAQ has an entry describing the problem and workarounds for it.
https://www.cairographics.org/FAQ/#sharp_lines

"Either way, you can avoid the issue by using an even-integer line width, (note that the default line width in cairo is 2.0). A line drawn this way will still affect just as many pixels, but they will be affected at full intensity.

Otherwise, if you really want to light up a single row of pixels at full intensity, you can do that by adjusting the endpoints by 0.5 in the appropriate direction. "

@jamesbriggs jamesbriggs changed the title Rendering Blurriness Due to Rendering Blurriness Due to Default Cairo Library Grid System Oct 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant