sumpfork / dominiontabs

Divider generator for the card game Dominion and its expansions.
http://domdiv.sandflea.org
Other
123 stars 126 forks source link

`--font-dir` command line option does not exist #504

Closed asm0dey closed 7 months ago

asm0dey commented 8 months ago

When I try to provide domdiv with a relative path to the fonts directory as per docs, I get the following error:

dominion_dividers: error: unrecognized arguments: --font-dir .
nickv2002 commented 8 months ago
  1. Does it work if you give it a full path?
  2. Can you share any more info about the full command you're using and your OS/Version?
asm0dey commented 8 months ago

Sorry, it'll be a bit verbose:

dominion_dividers --papersize A4 --order global --front rules --back rules --count  --types --tab-artwork-opacity 0.6 --expansion-dividers --centre-expansion-dividers --expansions "dark ages" empires guilds cornucopia intrigue1stEdition base prosperity1stEdition seaside2ndEdition --group-special  --no-trash --exclude-events  --exclude-landmarks --linetype line-cropmarks --cropmarkLength 0.4 --font-dir $PWD
usage: dominion_dividers [-h] [--outfile OUTFILE] [--papersize PAPERSIZE] [--language {fr,cz,de,es,it,en_us,nl_du}] [--orientation {horizontal,vertical}] [--size SIZE] [--sleeved] [--order {expansion,global,colour,cost}]
                         [--front {card,rules,blank}] [--back {card,rules,blank,none}] [--count] [--types] [--tab-side {left,right,left-alternate,right-alternate,left-flip,right-flip,centre,full}]
                         [--tab-number TAB_NUMBER] [--tab-serpentine] [--tab-name-align {left,right,centre,edge,center}] [--tabwidth TABWIDTH] [--cost {tab,body-top,hide}] [--set-icon {tab,body-top,hide}]
                         [--no-tab-artwork] [--tab-artwork-opacity TAB_ARTWORK_OPACITY] [--tab-artwork-resolution TAB_ARTWORK_RESOLUTION] [--use-text-set-icon] [--use-set-icon] [--expansion-reset-tabs]
                         [--expansion-dividers] [--centre-expansion-dividers] [--full-expansion-dividers] [--expansion-dividers-long-name] [--expansions [EXPANSIONS ...]] [--fan [FAN ...]]
                         [--exclude-expansions [EXCLUDED ...]] [--edition {1,2,latest,upgrade,removed,all}] [--upgrade-with-expansion] [--base-cards-with-expansion] [--group-special] [--group-kingdom]
                         [--group-global [GROUP_GLOBAL ...]] [--no-trash] [--curse10] [--start-decks] [--include-blanks INCLUDE_BLANKS] [--exclude-events] [--exclude-landmarks] [--exclude-projects] [--exclude-ways]
                         [--exclude-traits] [--only-type-any [ONLY_TYPE_ANY ...]] [--only-type-all [ONLY_TYPE_ALL ...]] [--wrapper] [--pull-tab] [--tent] [--head {tab,strap,cover,none}]
                         [--tail {tab,strap,cover,folder,none}] [--head-facing {front,back}] [--tail-facing {front,back}] [--head-text {card,rules,blank,front,back}] [--tail-text {card,rules,blank,front,back}]
                         [--head-height HEAD_HEIGHT] [--tail-height TAIL_HEIGHT] [--spine {name,types,tab,blank}] [--thickness THICKNESS] [--sleeved-thick] [--sleeved-thin] [--notch] [--notch-length NOTCH_LENGTH]
                         [--notch-height NOTCH_HEIGHT] [--minmargin MINMARGIN] [--cropmarks] [--linewidth LINEWIDTH] [--front-offset FRONT_OFFSET] [--front-offset-height FRONT_OFFSET_HEIGHT] [--back-offset BACK_OFFSET]
                         [--back-offset-height BACK_OFFSET_HEIGHT] [--vertical-gap VERTICAL_GAP] [--horizontal-gap HORIZONTAL_GAP] [--no-page-footer] [--num-pages NUM_PAGES] [--tabs-only] [--black-tabs]
                         [--linetype {line,dot,cropmarks,line-cropmarks,dot-cropmarks}] [--cropmarkLength CROPMARKLENGTH] [--cropmarkSpacing CROPMARKSPACING] [--rotate {0,90,180,270}]
                         [--label {8867,5167,5267,5667,5967,8167,8667,8927,15267,15667,18167,18667,28667,48267,48467,48867,95667,L4732,L7632,L4736,L6113,94211,H4201}] [--info] [--info-all] [--preview]
                         [--preview-resolution PREVIEW_RESOLUTION] [--cardlist CARDLIST] [-c C] [-w W]
dominion_dividers: error: unrecognized arguments: --font-dir /home/finkel/work_self/dominion-dividers

domdiv is installed via pipx (pipx install domdiv)

My Os is Linux,

Linux UNIT-1793 6.6.17-1-lts #1 SMP PREEMPT_DYNAMIC Sat, 17 Feb 2024 08:28:50 +0000 x86_64 GNU/Linux

Python:

Python 3.11.7
sumpfork commented 8 months ago

Hasn't been released on pypi, sorry. I need to do a sync.

asm0dey commented 8 months ago

Thanks!

sumpfork commented 7 months ago

new version got uploaded to pypi