I am working on a binary watch using a string to represent the whole number rather than one graphic per LED.
For seconds lets assume I is the on LED I Seconds would be: $#Ds#>31?I: $$floor(#Ds#/16)%32%2==1?I: $$floor(#Ds#/8)%16%2==1?I: $$floor(#Ds#/4)%8%2==1?I: $$floor(#Ds#/2)%4%2==1?I: $$#Ds#%2==1?I: $
This works fine in the creator and previews but, on the watch leading spaces are stripped. This, as you can imagine, causes a wee bit of a problem.
An example here:
Thanks. Another workaround to consider.
It’s actually a font I have in FontStruct. I added the LED tablets to the accented characters.
Silly to have to user them as a space it supposed to be empty and adding a small dot just adds clutter. Also not sure how small Fontstruct goes. Daft to have to ruin a whole font due to a bug, but here is where we are.
I had also considered starting the string with a dot as, for time and Seconds it would fall outside the mask and be invisible. Unfortunately the battery would make it visible.
Not sure how the outline would help though, unless you mean a separate set of outlined for AOD?
I know. Just being petulant as I always try and keep overhead to a minimum. I don’t actually use this font for numbers and letters as it is too constrained and I cloned it to as a core to make better ones.
My head is still “But, but, it’s a space, not a wee dot”
Also I wonder if leading spaces are stripped by ascii code rather than content?? Time to test I suppose.
Reset all fonts to built in, save, reload page to clear custom cache, set fonts back to custom… I generally just keep the rest a mess and just test on one text element during font mod because of that.
For information, adding the wee dot into the space character does work but requires a more extensive top mask to hide it than what I went for.
Keeping the font unchanged but adding a leading full stop (all binary text elements are right justified anyway) it automatically goes over onto the black border for seconds and time. For battery I only need one additional, small top mask to hide it.
I always like to see the alternatives though, and this may come in handy elsewhere so thanks again.
Would still be nice if the watch didn’t strip stuff we deliberately put there.
Edit. Here is the minor cleanup needed on Battery by adding a leading dot (link to face above will be cleaned soon.
Hmm. Do you mean like: $#Ds#>31?Ă€:\ $$floor(#Ds#/16)%32%2==1?Ă€:\ $$floor(#Ds#/8)%16%2==1?Ă€:\ $$floor(#Ds#/4)%8%2==1?Ă€:\ $$floor(#Ds#/2)%4%2==1?Ă€:\ $$#Ds#%2==1?Ă€:\ $
If so, that woks in creator vut does some very strange things on my watch. 8 lights up only for 8,10,12, not 9,11,13 dor example. I’m sure the calculation is not changing so must be string position.
GW6 is the watch by the way.
Cheers. Will look at that as well see if you have tips and tricks. I remember nudging being useful a couple of years ago and haven’t delved back overly just yet.
I had made this though: Barnaby Bifurcations | FontStruct
Yes, there are multiple “advanced” tricks like nudging, stacking, making composite bricks, using 2x2 filters etc.
This is good tutorial for most of it:
Awesome. The tutorial waters are muddied for web searching so good to get recommendations. I was thinking that Bifurcations could be a good platform for any shapes I may need. Will have to think about groupings and gaps before I use lots though so I can add modifications that are grouped, without moving stuff about and potentially screwing up older stuff on a remove-readd.