Changeset - 0145cf4869b6
[Not reviewed]
default
0 1 0
Laman - 3 years ago 2022-03-06 15:12:55

SVG slightly better rendering in nomacs
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/diana/templ/templ.svg
Show inline comments
 
@@ -6,7 +6,7 @@
 
	{% macro labeledPoint(p) %}
 
	<g class="{{p.color or 'e'}}" transform="translate({{(p.x*cellSize) | round(2)}},{{(p.y*cellSize) | round(2)}})">
 
		<circle cx="0" cy="0" r="{{stoneRadius|round(2)}}"/>
 
		<text y="0.35em" font-size="{{adjustFont(cellSize,p.label)}}">{{p.label}}</text>
 
		<text y="0.35em" font-size="{{adjustFont(cellSize,p.label)}}" text-anchor="middle">{{p.label}}</text>
 
	</g>
 
	{% endmacro %}
 
{% endif -%}
 
@@ -16,7 +16,7 @@
 
		<style type="text/css"><![CDATA[
 
		{% block style %}
 
			rect{fill:{{bgcolor or "white"}};stroke:black;stroke-width:1px}
 
			text{font-family:"DejaVu Sans";text-anchor:middle}
 
			text{font-family:"DejaVu Sans"}
 
			line{stroke:black;stroke-width:0.7px}
 
			circle{stroke:black}
 
			circle.b, .b circle, .w text, .e text{fill:black}
0 comments (0 inline, 0 general)