Welcome to the Rockbox Technical Forums!
With a monospaced font I could calculate the number of characters on a line...
Quote from: mango on April 23, 2025, 03:42:35 AMWith a monospaced font I could calculate the number of characters on a line...How would you do that?
Quote from: iPodVT on April 23, 2025, 12:13:31 PMQuote from: mango on April 23, 2025, 03:42:35 AMWith a monospaced font I could calculate the number of characters on a line...How would you do that?From the CustomWPS page %?if(%ss(0, 20, %it), =, %it)<track title length is 20 characters or less|track title length is over 20 characters>I've attempted it, but the issue is there's no way to guarantee a break on a space unless there's some additional conditional wizardry we can do.
From the CustomWPS page %?if(%ss(0, 20, %it), =, %it)<track title length is 20 characters or less|track title length is over 20 characters>I've attempted it, but the issue is there's no way to guarantee a break on a space unless there's some additional conditional wizardry we can do.
I've made a way recently to achieve this, but it's not foolproof since it relies on Bilgus' new file reading tag. There's no way within the theme spec to obtain a whitespace character for comparisons to make a conditional algorithm for breaking on space.
Page created in 0.064 seconds with 16 queries.