Closed devameerhamza closed 4 years ago
Does this happen only with a specific renderer or with all renderers? I just created a circle with the same definitions in Inkscape, and it looks correct there:
M 1.5,0
A 1.5,1.5 0 0 1 0, 1.5
1.5,1.5 0 0 1 -1.5,0
1.5,1.5 0 0 1 0,-1.5
1.5,1.5 0 0 1 1.5,0
Z
I can reproduce with svg:
$size = 200;
$encoding = 'utf-8';
$url = "sdfsdfsdf";
$renderer = new ImageRenderer(
new RendererStyle(
$size,
4,
SquareModule::instance(),
SimpleCircleEye::instance()
),
new SvgImageBackEnd()
);
$bacon = new BaconQrCodeWriter($renderer);
$data = $bacon->writeString($url, $encoding);
$bla = 'data:image/svg+xml;base64,'.base64_encode($data);
echo "<img src='$bla' />";
Please validate again against master
, a fix for some matrix transformations was just merged.
Fixed by #69
This Path code create a circle with a weird edge can some guide me to fix it?
http://prntscr.com/jyxvd6