Debug of fonts in percy renderings

This commit is contained in:
Knut Sveidqvist
2020-08-16 13:01:45 +02:00
parent 450d4b5a0a
commit ba6d73fc17
13 changed files with 166 additions and 38 deletions

View File

@@ -23,6 +23,11 @@
<h1>info below</h1>
<div class="flex">
<div class="mermaid" style="width: 50%; height: 20%;">
%%{init: {"fontFamily": "arial2"}}%%
graph TD
A[Christmas]
</div>
<div class="mermaid2" style="width: 50%; height: 20%;">
flowchart TD
L1 --- L2
L2 --- C
@@ -35,7 +40,7 @@ flowchart TD
C <-...-> E4
C ======> E5
</div>
<div class="mermaid" style="width: 50%; height: 20%;">
<div class="mermaid2" style="width: 50%; height: 20%;">
graph TD
L1 --- L2
L2 --- C
@@ -61,12 +66,12 @@ graph TD
// arrowMarkerAbsolute: true,
// themeCSS: '.edgePath .path {stroke: red;} .arrowheadPath {fill: red;}',
logLevel: 0,
flowchart: { curve: 'cardinal', "htmlLabels": false },
flowchart: { curve: 'cardinal', "htmlLabels": true },
// gantt: { axisFormat: '%m/%d/%Y' },
sequence: { actorMargin: 50, showSequenceNumbers: true },
// sequenceDiagram: { actorMargin: 300 } // deprecated
// fontFamily: '"arial", sans-serif',
fontFamily: '"arial", sans-serif',
fontFamily: 'times new roman',
curve: 'cardinal',
securityLevel: 'strict'
});