Page 1 of 1

font size question

PostPosted: Wed Jun 15, 2022 12:00 pm
by manjade
is it possible to have a font size which scales to fit?
I prefer bigger fonts (eyes are getting worse) but sometimes it splits longer words over 2 lines
would it be possible to have a "as big as possible" font size so that it scales it up/down to fit the card?
thanks
A

Re: font size question

PostPosted: Thu Jun 16, 2022 10:11 pm
by Ernie
If you change font size to "Giant", do you get the desired result?
I have special logic when size is set to Giant to auto-shrink text so a word doesn't wrap.
But Giant is REALLY big.

If you just have a few long words that are a problem, you can add some html around them, which I think will add a "-" if needed. It will still get broken, but at least it might look a little nicer. But it requires some manual setup for each word.

Re: font size question

PostPosted: Sun Jun 19, 2022 12:07 pm
by manjade
Hi,
"giant" = it seems to work most of the time but sometimes it, doesn't strangely enough. I will try and figure out why only some cards have the "split"
thanks

Re: font size question

PostPosted: Mon Jun 20, 2022 3:43 pm
by Ernie
I'm not sure there's anything for you to "figure out" related to why some cards don't wrap. To help determine if a word is going to wrap, I ask iOS/Android how much space some text is going to take. The problem is that the amount of space returned by OS is not necessarily the actual space used in the web view. So my calcs might thing we are good, but when it goes to display, the text is taking up more space than I thought, and it wraps. It might be very specific to your device and hard for me to duplicate.

What device do you have?

Re: font size question

PostPosted: Tue Jun 21, 2022 6:25 am
by manjade
IphoneX
Some longer words >6 characters wrap
Most above 9 do too

Re: font size question

PostPosted: Tue Jun 21, 2022 9:54 am
by manjade
Actually it seems pretty random
Some cards work great - others split words onto separate lines: sometimes
Just the last letter; sometimes half the word

Re: font size question

PostPosted: Tue Jun 21, 2022 11:13 am
by Ernie
I also have iPhone X.
Do you want to export your deck and send it to me and I can try it out?
You can export to App Server and tell me deck code, or you can export to email as Excel file and email me.

Ernie
et@orangeorapple.com