diff --git a/Character Sheet - A4 Center Fold Singel Page Fold Fillable.pdf b/Character Sheet - A4 Center Fold Singel Page Fold Fillable.pdf new file mode 100644 index 0000000..6ead8ee Binary files /dev/null and b/Character Sheet - A4 Center Fold Singel Page Fold Fillable.pdf differ diff --git a/Character Sheet - A4 Center Fold Singel Page.pdf b/Character Sheet - A4 Center Fold Singel Page.pdf new file mode 100644 index 0000000..e41b157 Binary files /dev/null and b/Character Sheet - A4 Center Fold Singel Page.pdf differ diff --git a/Character Sheet - A4 Center Fold.pdf b/Character Sheet - A4 Center Fold.pdf index 29a8411..91e15c9 100644 Binary files a/Character Sheet - A4 Center Fold.pdf and b/Character Sheet - A4 Center Fold.pdf differ diff --git a/Character Sheet - A5 Singel Page Duplex Fillable.pdf b/Character Sheet - A5 Singel Page Duplex Fillable.pdf new file mode 100644 index 0000000..8d14301 Binary files /dev/null and b/Character Sheet - A5 Singel Page Duplex Fillable.pdf differ diff --git a/Character Sheet - A5 Singel Page Duplex.pdf b/Character Sheet - A5 Singel Page Duplex.pdf new file mode 100644 index 0000000..3f349c3 Binary files /dev/null and b/Character Sheet - A5 Singel Page Duplex.pdf differ diff --git a/README.md b/README.md index 2baa923..5087f4c 100644 --- a/README.md +++ b/README.md @@ -12,10 +12,10 @@ For best resultes use the following setting when printing. * Scaling: Actual size ### Screenshots -![Screenshots Page 1](https://www.skycube.me.uk/git/zabouth/5e-A4-Half-Fold-Booklet/raw/master/screenshots/Character%20Sheet%20-%20A4%20Center%20Fold%20Page%201.png) -![Screenshots Page 2](https://www.skycube.me.uk/git/zabouth/5e-A4-Half-Fold-Booklet/raw/master/screenshots/Character%20Sheet%20-%20A4%20Center%20Fold%20Page%202.png) +![Screenshots Page 1](https://www.skycube.me.uk/git/zabouth/5e-A4-Half-Fold-Booklet/raw/master/screenshots/A4_Center_Fold_Duplex_1_of_2.png) +![Screenshots Page 2](https://www.skycube.me.uk/git/zabouth/5e-A4-Half-Fold-Booklet/raw/master/screenshots/A4_Center_Fold_Duplex_2_of_2.png) ### Attributions Fonts: -["5E Font Package Embeddable CC Edition"](https://www.reddit.com/r/UnearthedArcana/comments/3vpphx/5e_font_package_embeddable_cc_edition/?st=iyu99cjt&sh=4399c4e0) by Solbera is licensed under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) \ No newline at end of file +["5E Font Package Embeddable CC Edition"](https://www.reddit.com/r/UnearthedArcana/comments/3vpphx/5e_font_package_embeddable_cc_edition/?st=iyu99cjt&sh=4399c4e0) by Solbera is licensed under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) diff --git a/screenshots/Character Sheet - A4 Center Fold Page 1.png b/screenshots/A4_Center_Fold_Duplex_1_of_2.png similarity index 99% rename from screenshots/Character Sheet - A4 Center Fold Page 1.png rename to screenshots/A4_Center_Fold_Duplex_1_of_2.png index 0d90b30..c1223a1 100644 Binary files a/screenshots/Character Sheet - A4 Center Fold Page 1.png and b/screenshots/A4_Center_Fold_Duplex_1_of_2.png differ diff --git a/screenshots/Character Sheet - A4 Center Fold Page 2.png b/screenshots/A4_Center_Fold_Duplex_2_of_2.png similarity index 99% rename from screenshots/Character Sheet - A4 Center Fold Page 2.png rename to screenshots/A4_Center_Fold_Duplex_2_of_2.png index aaa9b50..b46ae4b 100644 Binary files a/screenshots/Character Sheet - A4 Center Fold Page 2.png and b/screenshots/A4_Center_Fold_Duplex_2_of_2.png differ diff --git a/screenshots/A4_Center_Fold_Singel_Page.png b/screenshots/A4_Center_Fold_Singel_Page.png new file mode 100644 index 0000000..30f1d58 Binary files /dev/null and b/screenshots/A4_Center_Fold_Singel_Page.png differ diff --git a/screenshots/A5_Center_Fold_Singel_Page_Duplex_1_of_2.png b/screenshots/A5_Center_Fold_Singel_Page_Duplex_1_of_2.png new file mode 100644 index 0000000..4d66ed3 Binary files /dev/null and b/screenshots/A5_Center_Fold_Singel_Page_Duplex_1_of_2.png differ diff --git a/screenshots/A5_Center_Fold_Singel_Page_Duplex_2_of_2.png b/screenshots/A5_Center_Fold_Singel_Page_Duplex_2_of_2.png new file mode 100644 index 0000000..39fc962 Binary files /dev/null and b/screenshots/A5_Center_Fold_Singel_Page_Duplex_2_of_2.png differ diff --git a/src/Character Sheet - A4 Center Fold Page 1.svg b/src/A4_Center_Fold_Duplex_1_of_2.svg similarity index 90% rename from src/Character Sheet - A4 Center Fold Page 1.svg rename to src/A4_Center_Fold_Duplex_1_of_2.svg index 4a47e3e..b4dce37 100644 --- a/src/Character Sheet - A4 Center Fold Page 1.svg +++ b/src/A4_Center_Fold_Duplex_1_of_2.svg @@ -34,13 +34,13 @@ - - RACE - CLASS & LEVELPLAYER NAME - CHARACTER NAME - BACKGROUND - EXPERIENCE POINTS - ALIGNMENT + + RACE + CLASS & LEVELPLAYER NAME + CHARACTER NAME + BACKGROUND + EXPERIENCE POINTS + ALIGNMENT @@ -52,11 +52,11 @@ - - ATTACKS & SPELLCASTING + + ATTACKS & SPELLCASTING - - NAMEATK BONUSDAMAGE/TYPE + + NAMEATK BONUSDAMAGE/TYPE @@ -91,167 +91,167 @@ - - Strength + + Strength - - Dexterity + + Dexterity - - Constitution + + Constitution - - Intelligence + + Intelligence - - Wisdom + + Wisdom - - Charisma + + Charisma - - Acrobatics + + Acrobatics - - Animal Handling + + Animal Handling - - Arcana + + Arcana - - Athletics + + Athletics - - Deception + + Deception - - History + + History - - Insight + + Insight - - Intimidation + + Intimidation - - Investigation - (Int) + + Investigation + (Int) - - Medicine + + Medicine - - Nature + + Nature - - Perception + + Perception - - Performance + + Performance - - Persuasion + + Persuasion - - Religion + + Religion - - Sleight of Hand + + Sleight of Hand - - Stealth + + Stealth - - Survival + + Survival - - PROFICIENCY BONUS + + PROFICIENCY BONUS - - STRENGTH - DEXTERITY - CONSTITUTION - INTELLIGENCE - WISDOM - CHARISMA - SAVING THROWS + + STRENGTH + DEXTERITY + CONSTITUTION + INTELLIGENCE + WISDOM + CHARISMA + SAVING THROWS - - INSPIRATION + + INSPIRATION - - SKILLS + + SKILLS @@ -270,30 +270,30 @@ - - SUCCESSES - FAILURES + + SUCCESSES + FAILURES - - Hit Point Maximum + + Hit Point Maximum - - Total + + Total - - CURRENT HIT POINTS - TEMPORARY HIT POINTS - INITIATIVESPEED + + CURRENT HIT POINTS + TEMPORARY HIT POINTS + INITIATIVESPEED - - HIT DICE + + HIT DICE - - DEATH SAVES + + DEATH SAVES @@ -307,13 +307,13 @@ - - ARMOR - CLASS + + ARMOR + CLASS - - PASSIVE WISDOM (PERCEPTION) + + PASSIVE WISDOM (PERCEPTION) @@ -322,58 +322,58 @@ - - (Dex) + + (Dex) - - NOTES + + NOTES - - (Wis) + + (Wis) - - (Int) + + (Int) - - (Str) + + (Str) - - (Cha) + + (Cha) - - (Int) + + (Int) - - (Wis) + + (Wis) - - (Cha) + + (Cha) - - (Wis) + + (Wis) - - (Int) + + (Int) - - (Wis) + + (Wis) - - (Cha) + + (Cha) - - (Cha) + + (Cha) - - (Int) + + (Int) - - (Dex) + + (Dex) - - (Dex) + + (Dex) - - (Wis) + + (Wis) diff --git a/src/Character Sheet - A4 Center Fold Page 2.svg b/src/A4_Center_Fold_Duplex_2_of_2.svg similarity index 99% rename from src/Character Sheet - A4 Center Fold Page 2.svg rename to src/A4_Center_Fold_Duplex_2_of_2.svg index 518db8c..04ba1cd 100644 --- a/src/Character Sheet - A4 Center Fold Page 2.svg +++ b/src/A4_Center_Fold_Duplex_2_of_2.svg @@ -10,8 +10,8 @@ - - PROFICIENCIES & LANGUAGES + + PROFICIENCIES & LANGUAGES @@ -84,30 +84,30 @@ - - CP - EP - PP - GP - SP + + CP + EP + PP + GP + SP - - EQUIPMENT + + EQUIPMENT - - FEATURES & TRAITS + + FEATURES & TRAITS - - FLAWS + + FLAWS - - IDEALS + + IDEALS - - BONDS + + BONDS - - PERSONALITY TRAITS + + PERSONALITY TRAITS diff --git a/src/Character Sheet - A4 Center Fold Fillable Template.pdf b/src/A4_Center_Fold_Duplex_Fillable_Template.pdf similarity index 100% rename from src/Character Sheet - A4 Center Fold Fillable Template.pdf rename to src/A4_Center_Fold_Duplex_Fillable_Template.pdf diff --git a/src/A4_Center_Fold_Singel_Page.svg b/src/A4_Center_Fold_Singel_Page.svg new file mode 100644 index 0000000..06c8724 --- /dev/null +++ b/src/A4_Center_Fold_Singel_Page.svg @@ -0,0 +1,480 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + RACE + CLASS & LEVELPLAYER NAME + CHARACTER NAME + BACKGROUND + EXPERIENCE POINTS + ALIGNMENT + + + + + + + + + + + + + ATTACKS & SPELLCASTING + + + NAMEATK BONUSDAMAGE/TYPE + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Strength + + + + + + Dexterity + + + + + + Constitution + + + + + + Intelligence + + + + + + Wisdom + + + + + + Charisma + + + + + + + Acrobatics + + + + + + Animal Handling + + + + + + Arcana + + + + + + Athletics + + + + + + Deception + + + + + + History + + + + + + Insight + + + + + + Intimidation + + + + + + Investigation + (Int) + + + + + + Medicine + + + + + + Nature + + + + + + Perception + + + + + + Performance + + + + + + Persuasion + + + + + + Religion + + + + + + Sleight of Hand + + + + + + Stealth + + + + + + Survival + + + PROFICIENCY BONUS + + + STRENGTH + DEXTERITY + CONSTITUTION + INTELLIGENCE + WISDOM + CHARISMA + SAVING THROWS + + + + INSPIRATION + + + SKILLS + + + + + + + + + + + + + + + + + + + + SUCCESSES + FAILURES + + + + + Hit Point Maximum + + + + + Total + + + CURRENT HIT POINTS + TEMPORARY HIT POINTS + INITIATIVESPEED + + + HIT DICE + + + DEATH SAVES + + + + + + + + + + + + + + + ARMOR + CLASS + + + + PASSIVE WISDOM (PERCEPTION) + + + + + + + + + (Dex) + + + (Wis) + + + (Int) + + + (Str) + + + (Cha) + + + (Int) + + + (Wis) + + + (Cha) + + + (Wis) + + + (Int) + + + (Wis) + + + (Cha) + + + (Cha) + + + (Int) + + + (Dex) + + + (Dex) + + + (Wis) + + + + + PROFICIENCIES & LANGUAGES + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CP + EP + PP + GP + SP + + + EQUIPMENT + + + FEATURES & TRAITS + + + FLAWS + + + IDEALS + + + BONDS + + + PERSONALITY TRAITS + + + + + + diff --git a/src/A5_Center_Fold_Singel_Page_Duplex_1_of_2.svg b/src/A5_Center_Fold_Singel_Page_Duplex_1_of_2.svg new file mode 100644 index 0000000..1e281d0 --- /dev/null +++ b/src/A5_Center_Fold_Singel_Page_Duplex_1_of_2.svg @@ -0,0 +1,375 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + RACE + CLASS & LEVELPLAYER NAME + CHARACTER NAME + BACKGROUND + EXPERIENCE POINTS + ALIGNMENT + + + + + + + + + + + + + ATTACKS & SPELLCASTING + + + NAMEATK BONUSDAMAGE/TYPE + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Strength + + + + + + Dexterity + + + + + + Constitution + + + + + + Intelligence + + + + + + Wisdom + + + + + + Charisma + + + + + + + Acrobatics + + + + + + Animal Handling + + + + + + Arcana + + + + + + Athletics + + + + + + Deception + + + + + + History + + + + + + Insight + + + + + + Intimidation + + + + + + Investigation + (Int) + + + + + + Medicine + + + + + + Nature + + + + + + Perception + + + + + + Performance + + + + + + Persuasion + + + + + + Religion + + + + + + Sleight of Hand + + + + + + Stealth + + + + + + Survival + + + PROFICIENCY BONUS + + + STRENGTH + DEXTERITY + CONSTITUTION + INTELLIGENCE + WISDOM + CHARISMA + SAVING THROWS + + + + INSPIRATION + + + SKILLS + + + + + + + + + + + + + + + + + + + + SUCCESSES + FAILURES + + + + + Hit Point Maximum + + + + + Total + + + CURRENT HIT POINTS + TEMPORARY HIT POINTS + INITIATIVESPEED + + + HIT DICE + + + DEATH SAVES + + + + + + + + + + + + + + + ARMOR + CLASS + + + + PASSIVE WISDOM (PERCEPTION) + + + + + + + + + (Dex) + + + (Wis) + + + (Int) + + + (Str) + + + (Cha) + + + (Int) + + + (Wis) + + + (Cha) + + + (Wis) + + + (Int) + + + (Wis) + + + (Cha) + + + (Cha) + + + (Int) + + + (Dex) + + + (Dex) + + + (Wis) + + diff --git a/src/A5_Center_Fold_Singel_Page_Duplex_2_of_2.svg b/src/A5_Center_Fold_Singel_Page_Duplex_2_of_2.svg new file mode 100644 index 0000000..816a3ed --- /dev/null +++ b/src/A5_Center_Fold_Singel_Page_Duplex_2_of_2.svg @@ -0,0 +1,108 @@ + + + + + + PROFICIENCIES & LANGUAGES + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CP + EP + PP + GP + SP + + + EQUIPMENT + + + FEATURES & TRAITS + + + FLAWS + + + IDEALS + + + BONDS + + + PERSONALITY TRAITS + + + + + + diff --git a/src/build.sh b/src/build.sh index 4a5a812..80ca964 100755 --- a/src/build.sh +++ b/src/build.sh @@ -1,5 +1,12 @@ #!/bin/bash -cairosvg Character\ Sheet\ -\ A4\ Center\ Fold\ Page\ 1.svg -f pdf -o p1.pdf -cairosvg Character\ Sheet\ -\ A4\ Center\ Fold\ Page\ 2.svg -f pdf -o p2.pdf -pdftk p1.pdf p2.pdf cat output Final.pdf +cairosvg A4_Center_Fold_Duplex_1_of_2.svg -f pdf -o p1.pdf +cairosvg A4_Center_Fold_Duplex_1_of_2.svg -f pdf -o p2.pdf +pdftk p1.pdf p2.pdf cat output ../Character\ Sheet\ -\ A4\ Center\ Fold.pdf rm p1.pdf p2.pdf + +cairosvg A5_Center_Fold_Singel_Page_Duplex_1_of_2.svg -f pdf -o p1.pdf +cairosvg A5_Center_Fold_Singel_Page_Duplex_2_of_2.svg -f pdf -o p2.pdf +pdftk p1.pdf p2.pdf cat output ../Character\ Sheet\ -\ A5\ Singel\ Page\ Duplex.pdf +rm p1.pdf p2.pdf + +cairosvg A4_Center_Fold_Singel_Page.svg -f pdf -o ../Character\ Sheet\ -\ A4\ Center\ Fold\ Singel\ Page.pdf diff --git a/src/clean.sh b/src/clean.sh index d5e144c..4ca0c48 100755 --- a/src/clean.sh +++ b/src/clean.sh @@ -1,17 +1,13 @@ #!/bin/bash -svgo --disable=convertPathData --disable=mergePaths --precision=1 -i Character\ Sheet\ -\ A4\ Center\ Fold\ Page\ 1.svg -svgo --disable=convertPathData --disable=mergePaths --precision=1 -i Character\ Sheet\ -\ A4\ Center\ Fold\ Page\ 1.svg -svgo --disable=convertPathData --disable=mergePaths --precision=1 -i Character\ Sheet\ -\ A4\ Center\ Fold\ Page\ 1.svg -svgo --disable=convertPathData --disable=mergePaths --precision=1 -i Character\ Sheet\ -\ A4\ Center\ Fold\ Page\ 2.svg -svgo --disable=convertPathData --disable=mergePaths --precision=1 -i Character\ Sheet\ -\ A4\ Center\ Fold\ Page\ 2.svg -svgo --disable=convertPathData --disable=mergePaths --precision=1 -i Character\ Sheet\ -\ A4\ Center\ Fold\ Page\ 2.svg -cat Character\ Sheet\ -\ A4\ Center\ Fold\ Page\ 1.svg | xmllint --format - > 1.svg -cat Character\ Sheet\ -\ A4\ Center\ Fold\ Page\ 2.svg | xmllint --format - > 2.svg -rm Character\ Sheet\ -\ A4\ Center\ Fold\ Page\ 1.svg -rm Character\ Sheet\ -\ A4\ Center\ Fold\ Page\ 2.svg -mv 1.svg Character\ Sheet\ -\ A4\ Center\ Fold\ Page\ 1.svg -mv 2.svg Character\ Sheet\ -\ A4\ Center\ Fold\ Page\ 2.svg -perl -pi -e "s/-inkscape-font-specification:('.*?'|[\w-]*)//sig" Character\ Sheet\ -\ A4\ Center\ Fold\ Page\ 1.svg -perl -pi -e "s/-inkscape-font-specification:('.*?'|[\w-]*)//sig" Character\ Sheet\ -\ A4\ Center\ Fold\ Page\ 2.svg -perl -pi -e 's/style=""//sig' Character\ Sheet\ -\ A4\ Center\ Fold\ Page\ 1.svg -perl -pi -e 's/style=""//sig' Character\ Sheet\ -\ A4\ Center\ Fold\ Page\ 2.svg +for file in *.svg +do + svgo --disable=convertPathData --disable=mergePaths --precision=1 -i "$file" + svgo --disable=convertPathData --disable=mergePaths --precision=1 -i "$file" + svgo --disable=convertPathData --disable=mergePaths --precision=1 -i "$file" + cat "$file" | xmllint --format - > "$file".min.svg + mv "$file".min.svg "$file" + perl -pi -e "s/-inkscape-font-specification:('.*?'|[\w-]*)//sig" "$file" + perl -pi -e 's/style=""//sig' "$file" + +done +