Dominion Strategy Forum

Please login or register.

Login with username, password and session length
Pages: 1 ... 5 6 [7]  All

Author Topic: Dominion Card Image Generator  (Read 16359 times)

0 Members and 1 Guest are viewing this topic.

Shard of Honor

  • Salvager
  • ****
  • Offline Offline
  • Posts: 65
  • Shuffle iT Username: Shard of Honor
  • Respect: +44
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator v1.5
« Reply #150 on: March 04, 2019, 10:20:03 am »
+2

Hi Shard of Honor,

I see that you are using Trajan Bold Pro and Minion Std Black, both are copyright by Adobe. In the way you are using those fonts, the full font program is downloaded by the client. This is clearly a license violation. Therefore I tried to find some free and open source alternatives and found Cinzel and Crimson Text. What do you think?

Cinzel Bold
https://fonts.google.com/specimen/Cinzel

Crimson Text Bold
https://fonts.google.com/specimen/Crimson+Text

You are right. Thanks. Not the best idea...
I copied that part from the original generator.

Now, the font files are not hosted any more inside the generator. Instead, it first tries to find these fonts on your local computer, and otherwise a cascading fallback is defined to load them or similar replacements externally. This might result in some visual differences.
Logged
You might want to check out my own fan-card creations, built with this.

Violet CLM

  • Young Witch
  • ****
  • Offline Offline
  • Posts: 130
  • Respect: +315
    • View Profile
Re: Dominion Card Image Generator
« Reply #151 on: March 06, 2019, 10:21:30 pm »
+3

This thread has now been stickied, presumably in response to some feature or other added by Shard of Honor... italics, maybe? In response, I've edited the first post to include links to Shard's fork at its home page and also its announcement in this thread.
Logged

DooWopDJ

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 154
  • Respect: +48
    • View Profile
Re: Dominion Card Image Generator
« Reply #152 on: March 11, 2019, 03:20:44 pm »
0

I have a few questions about the ShardofHonor card generator
1.  The Primary vs. Secondary option see to be 'flipped' - I have an Action - Duration - Reaction card (same type as Caravan Guard)
     But in order to get the correct color layout (to match Caravan Guard), I have to make the primary as 'Reaction', then secondary as 'Duration'.
     This seems counter-intuitive to me.  Sure I can adjust the sequence, but maybe it is just me that has noticed this?
2. I could not figure out how to use the 'Additional Bold Keywords' option
3. Is the split position options, in place for a reason? Are there Expansion option that have the coloring not using the 1/2 option?
4. VP Token option used in any of the current expansions?
Thanks
DooWopDJ
Logged

Doom_Shark

  • Explorer
  • *****
  • Offline Offline
  • Posts: 324
  • Shuffle iT Username: Doom_Shark
  • Respect: +280
    • View Profile
Re: Dominion Card Image Generator
« Reply #153 on: March 11, 2019, 04:16:37 pm »
+1

It took me a while to figure out "Additional Bold Keywords" as well. Basically, it only works if you want something like "+2 Mutineers." You type in "Mutineers;" in the box, and it will bold any type of "+[number] Mutineers"
Logged
"I swear to drunk I'm not officer, God."
Generation 33 The first time you see this, copy it, add 1 to the generation number, and add it to your signature. (On any forum) Social experiment.

Shard of Honor

  • Salvager
  • ****
  • Offline Offline
  • Posts: 65
  • Shuffle iT Username: Shard of Honor
  • Respect: +44
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #154 on: March 12, 2019, 07:43:29 am »
0

I have a few questions about the ShardofHonor card generator
1.  The Primary vs. Secondary option see to be 'flipped' - I have an Action - Duration - Reaction card (same type as Caravan Guard)
     But in order to get the correct color layout (to match Caravan Guard), I have to make the primary as 'Reaction', then secondary as 'Duration'.
     This seems counter-intuitive to me.  Sure I can adjust the sequence, but maybe it is just me that has noticed this?
2. I could not figure out how to use the 'Additional Bold Keywords' option
3. Is the split position options, in place for a reason? Are there Expansion option that have the coloring not using the 1/2 option?
4. VP Token option used in any of the current expansions?
Thanks
DooWopDJ

1. I agree with you, but if I change it now, all links will be broken...
2. For example VioletCLM's Sellsail
3. The split position could be used to achieve an effect as in Pasture or Distant Lands, where the green coloring is not perfectly in the middle.
4. VP Tokens are used in the German prints of Prosperty and Empires (by ASS Altenburger) instead of the normal VP symbol. A stupid decision of them, but I rather have all my cards consistent...
« Last Edit: March 12, 2019, 08:38:12 am by Shard of Honor »
Logged
You might want to check out my own fan-card creations, built with this.

DooWopDJ

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 154
  • Respect: +48
    • View Profile
Re: Dominion Card Image Generator
« Reply #155 on: March 12, 2019, 09:08:28 am »
+1

I have a few questions about the ShardofHonor card generator
1.  The Primary vs. Secondary option see to be 'flipped' - I have an Action - Duration - Reaction card (same type as Caravan Guard)
     But in order to get the correct color layout (to match Caravan Guard), I have to make the primary as 'Reaction', then secondary as 'Duration'.
     This seems counter-intuitive to me.  Sure I can adjust the sequence, but maybe it is just me that has noticed this?
2. I could not figure out how to use the 'Additional Bold Keywords' option
3. Is the split position options, in place for a reason? Are there Expansion option that have the coloring not using the 1/2 option?
4. VP Token option used in any of the current expansions?
Thanks
DooWopDJ

1. I agree with you, but if I change it now, all links will be broken...
    ---- Good point.  Yeah I really would not like to have to fix them.  And I should NOT complain either.  These card generators are AWESOME.
My apologies for noticing (I test software for a living).
2. For example VioletCLM's Sellsail
-- I see, I could not figure out the 'use' format.  It required the +1 symbols (I just thought it would bold any word in the field.  Thanks.
3. The split position could be used to achieve an effect as in Pasture or Distant Lands, where the green coloring is not perfectly in the middle.
Still an awesome option, although I could not 'replicate' the DL effect.
4. VP Tokens are used in the German prints of Prosperty and Empires (by ASS Altenburger) instead of the normal VP symbol. A stupid decision of them, but I rather have all my cards consistent...
I like the VP Token option as a new option to use in my card text instead of typing "Victory Point token" I can type #"  Thanks for making the card designer so 'flexible'.
Logged

DooWopDJ

  • Moneylender
  • ****
  • Offline Offline
  • Posts: 154
  • Respect: +48
    • View Profile
Re: Dominion Card Image Generator
« Reply #156 on: March 21, 2019, 03:54:14 pm »
0

It could just be my eyesight, but there are two "+" symbols that do not seem to be 'bolded'
The + $1 Coin and the +1 %

https://shardofhonor.github.io/dominion-card-generator/index.html?
title=2%20Non%20Bolded%20Plus&description=%2B1%20Buy%0A%2B%202%25%0A%2B%20%241%0A%0A&type=&credit=&creator=&price=&preview=&type2=&color2split=1&boldkeys=&picture-x=-1&picture-y=-0.35&picture-zoom=1&picture=&expansion=&color0=0&color1=0&size=0

Note:
Also if you start off you remove the space in the +$1 it is really big

https://shardofhonor.github.io/dominion-card-generator/index.html?title=2%20Non%20Bolded%20Plus&description=%2B1%20Buy%0A%2B%202%25%0A%2B%241%0A%0A&type=&credit=&creator=&price=&preview=&type2=&color2split=1&boldkeys=&picture-x=-1&picture-y=-0.35&picture-zoom=1&picture=&expansion=&color0=0&color1=0&size=0
Logged

Shard of Honor

  • Salvager
  • ****
  • Offline Offline
  • Posts: 65
  • Shuffle iT Username: Shard of Honor
  • Respect: +44
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #157 on: March 21, 2019, 04:30:43 pm »
+1

Yeah, there is a problem in the regular expressions, that for the rules of when to bold text...
I am not very good in regex, but I'll try to fix it and refine the rules to better handle these cases.

When removing the space between plus and coin or VP, it is correctly recognized as symbols, that should be bolded. But as these are now alone in a row, they are formatted differently than in the text. And Coins and VP symbols alone are much bigger... currently also if there are leading operators.

In the meantime, you can trick the generator into thinking, that there is other text in the line by using invisible special characters like the non-breaking-space:
https://shardofhonor.github.io/dominion-card-generator/index.html?title=Bolded%20Plus&description=%2B1%20Buy%0A%2B2%25%20%E2%80%89%0A%2B%241%20%E2%80%89&type=&credit=&creator=&price=&preview=&type2=&color2split=1&boldkeys=&picture-x=-1&picture-y=-0.35&picture-zoom=1&picture=&expansion=&color0=0&color1=0&size=0
Logged
You might want to check out my own fan-card creations, built with this.

Hedgehogmsx

  • Pawn
  • **
  • Offline Offline
  • Posts: 4
  • Shuffle iT Username: hedgehogmsx
  • Respect: 0
    • View Profile
Re: Dominion Card Image Generator
« Reply #158 on: April 22, 2019, 08:18:39 am »
0

Hello,

I'm french, and I work on some projects to translate fan expansions into my language for me and my friends.

This card image generator is wonderfull to do that ! Thanks so much for that tool.

There is my question.
In the fan expansion called salvation, a new token is used, like in this card :


How can I insert it by this generator ?
I think it needs a little improvement.
2 solutions : add this token or ... a way to add some special characters linked to some little image that we can use in description.

The second solution would be a great improvement ;-)
Logged

Shard of Honor

  • Salvager
  • ****
  • Offline Offline
  • Posts: 65
  • Shuffle iT Username: Shard of Honor
  • Respect: +44
    • View Profile
    • Fan Card Creator
Re: Dominion Card Image Generator
« Reply #159 on: April 22, 2019, 05:53:30 pm »
+1

2 solutions : add this token or ... a way to add some special characters linked to some little image that we can use in description.

The second solution would be a great improvement ;-)

That was quite easy to add. I hope one custom token is enough. Making it variable would be a lot more work...
Here is your example: Indulgence Trade

I still couldn't solve the problem with icons in single lines, but at least it is possible to use the workaround mentioned above.
Logged
You might want to check out my own fan-card creations, built with this.

Hedgehogmsx

  • Pawn
  • **
  • Offline Offline
  • Posts: 4
  • Shuffle iT Username: hedgehogmsx
  • Respect: 0
    • View Profile
Re: Dominion Card Image Generator
« Reply #160 on: April 29, 2019, 10:48:45 am »
0

Hello !

I will try it.

Thanks you very much !
Logged

Hedgehogmsx

  • Pawn
  • **
  • Offline Offline
  • Posts: 4
  • Shuffle iT Username: hedgehogmsx
  • Respect: 0
    • View Profile
Re: Dominion Card Image Generator
« Reply #161 on: May 03, 2019, 08:56:16 am »
0

It works fine !

Logged

Hedgehogmsx

  • Pawn
  • **
  • Offline Offline
  • Posts: 4
  • Shuffle iT Username: hedgehogmsx
  • Respect: 0
    • View Profile
Re: Dominion Card Image Generator
« Reply #162 on: May 03, 2019, 08:57:06 am »
0

So ... now I have some woks to do  ;)

Thank you again !
Logged
Pages: 1 ... 5 6 [7]  All
 

Page created in 0.193 seconds with 21 queries.