Difference between revisions of "RendererIssues"

From Inkscape Wiki
Jump to navigation Jump to search
Line 11: Line 11:
:but that revealed many problems with the renderer. For example, on my system at about 70x zoom, lines in paths simply disappear.
:but that revealed many problems with the renderer. For example, on my system at about 70x zoom, lines in paths simply disappear.


My wild guess is that the above problems are related, and that they can be fixed or at least made less nasty by increasing the precision used by the renderer. Does this sound plausible?
My wild guess is that the above problems are related, and that they can be fixed or at least made less nasty by increasing the precision used by the renderer. Does this sound plausible?  
 
Answering my own question: yes it does, partially. Making everything double in libnr fixed the last of the three problems above. Patch is being submitted. Two other problems, however, did not fix. In fact 853827 even became worse: now it crashes as soon as you try to zoom into the zero-length path. Other than that, however, Inkscape seems to work fine with double precision. Todo: increase the precision of writing coordinates into SVG (currently only 6 digits!).

Revision as of 01:23, 5 December 2003

This is a meta-page for bugs and problems related to the renderer. The ones I found are:

  • As discussed on Sodipodi list long ago, the maximum zoom is set in desktop.h. I tried
#define SP_DESKTOP_ZOOM_MAX 256.0
but that revealed many problems with the renderer. For example, on my system at about 70x zoom, lines in paths simply disappear.

My wild guess is that the above problems are related, and that they can be fixed or at least made less nasty by increasing the precision used by the renderer. Does this sound plausible?

Answering my own question: yes it does, partially. Making everything double in libnr fixed the last of the three problems above. Patch is being submitted. Two other problems, however, did not fix. In fact 853827 even became worse: now it crashes as soon as you try to zoom into the zero-length path. Other than that, however, Inkscape seems to work fine with double precision. Todo: increase the precision of writing coordinates into SVG (currently only 6 digits!).