font size question

font size question

Postby manjade » Wed Jun 15, 2022 12:00 pm

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
manjade
 
Posts: 42
Joined: Thu Feb 18, 2021 4:40 am

Re: font size question

Postby Ernie » Thu Jun 16, 2022 10:11 pm

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.
Ernie
Site Admin
 
Posts: 4889
Joined: Fri Oct 01, 2010 6:12 pm
Location: San Francisco / Taiwan

Re: font size question

Postby manjade » Sun Jun 19, 2022 12:07 pm

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
manjade
 
Posts: 42
Joined: Thu Feb 18, 2021 4:40 am

Re: font size question

Postby Ernie » Mon Jun 20, 2022 3:43 pm

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?
Ernie
Site Admin
 
Posts: 4889
Joined: Fri Oct 01, 2010 6:12 pm
Location: San Francisco / Taiwan

Re: font size question

Postby manjade » Tue Jun 21, 2022 6:25 am

IphoneX
Some longer words >6 characters wrap
Most above 9 do too
manjade
 
Posts: 42
Joined: Thu Feb 18, 2021 4:40 am

Re: font size question

Postby manjade » Tue Jun 21, 2022 9:54 am

Actually it seems pretty random
Some cards work great - others split words onto separate lines: sometimes
Just the last letter; sometimes half the word
manjade
 
Posts: 42
Joined: Thu Feb 18, 2021 4:40 am

Re: font size question

Postby Ernie » Tue Jun 21, 2022 11:13 am

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
Ernie
Site Admin
 
Posts: 4889
Joined: Fri Oct 01, 2010 6:12 pm
Location: San Francisco / Taiwan

Return to Comments, Questions and Feedback



cron