From 2458c5ec8856eab2a15beb9af7a5d235a73e2788 Mon Sep 17 00:00:00 2001 From: Bill Traynor Date: Wed, 17 May 2023 11:22:31 -0400 Subject: Set font size and row height Set font size to 24. Set row height to 40. Set margins to 30. Added empty boxes to pad rows. --- src/images/bytefield/sv32x4va.edn | 16 +++++++++++----- src/images/bytefield/sv39x4va.edn | 16 +++++++++++----- src/images/bytefield/sv48x4va.edn | 16 +++++++++++----- src/images/bytefield/sv57x4va.edn | 16 +++++++++++----- 4 files changed, 44 insertions(+), 20 deletions(-) diff --git a/src/images/bytefield/sv32x4va.edn b/src/images/bytefield/sv32x4va.edn index 00f5c92..379253e 100644 --- a/src/images/bytefield/sv32x4va.edn +++ b/src/images/bytefield/sv32x4va.edn @@ -1,24 +1,30 @@ [bytefield] ---- -(defattrs :plain [:plain {:font-family "M+ 1p Fallback" :font-size 16}]) -(def row-height 30 ) +(defattrs :plain [:plain {:font-family "M+ 1p Fallback" :font-size 24}]) +(def row-height 40 ) (def row-header-fn nil) -(def left-margin 200) -(def right-margin 200) -(def boxes-per-row 20) +(def left-margin 30) +(def right-margin 30) +(def boxes-per-row 32) +(draw-box nil {:span 6 :borders {}}) (draw-box "33" {:span 3 :text-anchor "start" :borders {}}) (draw-box "22" {:span 3 :text-anchor "end" :borders {}}) (draw-box "21" {:span 3 :text-anchor "start" :borders {}}) (draw-box "12" {:span 3 :text-anchor "end" :borders {}}) (draw-box "11" {:span 4 :text-anchor "start" :borders {}}) (draw-box "0" {:span 4 :text-anchor "end" :borders {}}) +(draw-box nil {:span 6 :borders {}}) +(draw-box nil {:span 6 :borders {}}) (draw-box "VPN[1]" {:span 6}) (draw-box "VPN[0]" {:span 6}) (draw-box "page offset" {:span 8}) +(draw-box nil {:span 6 :borders {}}) +(draw-box nil {:span 6 :borders {}}) (draw-box "12" {:span 6 :borders {}}) (draw-box "10" {:span 6 :borders {}}) (draw-box "12" {:span 8 :borders {}}) +(draw-box nil {:span 6 :borders {}}) ---- \ No newline at end of file diff --git a/src/images/bytefield/sv39x4va.edn b/src/images/bytefield/sv39x4va.edn index 9fb196a..06b04f2 100644 --- a/src/images/bytefield/sv39x4va.edn +++ b/src/images/bytefield/sv39x4va.edn @@ -1,12 +1,13 @@ [bytefield] ---- -(defattrs :plain [:plain {:font-family "M+ 1p Fallback" :font-size 16}]) -(def row-height 30 ) +(defattrs :plain [:plain {:font-family "M+ 1p Fallback" :font-size 24}]) +(def row-height 40 ) (def row-header-fn nil) -(def left-margin 200) -(def right-margin 200) -(def boxes-per-row 20) +(def left-margin 30) +(def right-margin 30) +(def boxes-per-row 32) +(draw-box nil {:span 6 :borders {}}) (draw-box "40" {:span 2 :text-anchor "start" :borders {}}) (draw-box "30" {:span 2 :text-anchor "end" :borders {}}) (draw-box "29" {:span 2 :text-anchor "start" :borders {}}) @@ -15,14 +16,19 @@ (draw-box "12" {:span 2 :text-anchor "end" :borders {}}) (draw-box "11" {:span 4 :text-anchor "start" :borders {}}) (draw-box "0" {:span 4 :text-anchor "end" :borders {}}) +(draw-box nil {:span 6 :borders {}}) +(draw-box nil {:span 6 :borders {}}) (draw-box "VPN[2]" {:span 4}) (draw-box "VPN[1]" {:span 4}) (draw-box "VPN[0]" {:span 4}) (draw-box "page offset" {:span 8}) +(draw-box nil {:span 6 :borders {}}) +(draw-box nil {:span 6 :borders {}}) (draw-box "11" {:span 4 :borders {}}) (draw-box "9" {:span 4 :borders {}}) (draw-box "9" {:span 4 :borders {}}) (draw-box "12" {:span 8 :borders {}}) +(draw-box nil {:span 6 :borders {}}) ---- \ No newline at end of file diff --git a/src/images/bytefield/sv48x4va.edn b/src/images/bytefield/sv48x4va.edn index 3561ceb..e368e51 100644 --- a/src/images/bytefield/sv48x4va.edn +++ b/src/images/bytefield/sv48x4va.edn @@ -1,12 +1,13 @@ [bytefield] ---- -(defattrs :plain [:plain {:font-family "M+ 1p Fallback" :font-size 16}]) -(def row-height 30 ) +(defattrs :plain [:plain {:font-family "M+ 1p Fallback" :font-size 24}]) +(def row-height 40 ) (def row-header-fn nil) -(def left-margin 200) -(def right-margin 200) -(def boxes-per-row 20) +(def left-margin 30) +(def right-margin 30) +(def boxes-per-row 32) +(draw-box nil {:span 6 :borders {}}) (draw-box "49" {:span 2 :text-anchor "start" :borders {}}) (draw-box "39" {:span 2 :text-anchor "end" :borders {}}) (draw-box "38" {:span 2 :text-anchor "start" :borders {}}) @@ -17,16 +18,21 @@ (draw-box "12" {:span 2 :text-anchor "end" :borders {}}) (draw-box "11" {:span 2 :text-anchor "start" :borders {}}) (draw-box "0" {:span 2 :text-anchor "end" :borders {}}) +(draw-box nil {:span 6 :borders {}}) +(draw-box nil {:span 6 :borders {}}) (draw-box "VPN[3]" {:span 4}) (draw-box "VPN[2]" {:span 4}) (draw-box "VPN[1]" {:span 4}) (draw-box "VPN[0]" {:span 4}) (draw-box "page offset" {:span 4}) +(draw-box nil {:span 6 :borders {}}) +(draw-box nil {:span 6 :borders {}}) (draw-box "11" {:span 4 :borders {}}) (draw-box "9" {:span 4 :borders {}}) (draw-box "9" {:span 4 :borders {}}) (draw-box "9" {:span 4 :borders {}}) (draw-box "12" {:span 4 :borders {}}) +(draw-box nil {:span 6 :borders {}}) ---- \ No newline at end of file diff --git a/src/images/bytefield/sv57x4va.edn b/src/images/bytefield/sv57x4va.edn index 5a89f94..37f401c 100644 --- a/src/images/bytefield/sv57x4va.edn +++ b/src/images/bytefield/sv57x4va.edn @@ -1,12 +1,13 @@ [bytefield] ---- -(defattrs :plain [:plain {:font-family "M+ 1p Fallback" :font-size 16}]) -(def row-height 30 ) +(defattrs :plain [:plain {:font-family "M+ 1p Fallback" :font-size 24}]) +(def row-height 40 ) (def row-header-fn nil) -(def left-margin 200) -(def right-margin 200) -(def boxes-per-row 24) +(def left-margin 30) +(def right-margin 30) +(def boxes-per-row 32) +(draw-box nil {:span 4 :borders {}}) (draw-box "58" {:span 2 :text-anchor "start" :borders {}}) (draw-box "48" {:span 2 :text-anchor "end" :borders {}}) (draw-box "47" {:span 2 :text-anchor "start" :borders {}}) @@ -19,18 +20,23 @@ (draw-box "12" {:span 2 :text-anchor "end" :borders {}}) (draw-box "11" {:span 2 :text-anchor "start" :borders {}}) (draw-box "0" {:span 2 :text-anchor "end" :borders {}}) +(draw-box nil {:span 4 :borders {}}) +(draw-box nil {:span 4 :borders {}}) (draw-box "VPN[4]" {:span 4}) (draw-box "VPN[3]" {:span 4}) (draw-box "VPN[2]" {:span 4}) (draw-box "VPN[1]" {:span 4}) (draw-box "VPN[0]" {:span 4}) (draw-box "page offset" {:span 4}) +(draw-box nil {:span 4 :borders {}}) +(draw-box nil {:span 4 :borders {}}) (draw-box "11" {:span 4 :borders {}}) (draw-box "9" {:span 4 :borders {}}) (draw-box "9" {:span 4 :borders {}}) (draw-box "9" {:span 4 :borders {}}) (draw-box "9" {:span 4 :borders {}}) (draw-box "12" {:span 4 :borders {}}) +(draw-box nil {:span 4 :borders {}}) ---- \ No newline at end of file -- cgit v1.1