info-beamer / package-flap-display

An info-beamer based programmable flap display
https://info-beamer.com/pkg/8474
Other
1 stars 6 forks source link

bugfix: bad row handling for unicode characters #3

Closed ls6 closed 4 years ago

ls6 commented 4 years ago

I have added a new language to the package. I've noticed a strange behaviour: for each non-ascii character (more than 1 byte of UTF8) I was getting a space at the end of the line that contained the character(s). The reason was that line:sub is counting bytes, not characters.

P.S. I don't mind contributing the new language (Polish, probably mildly useful) but with the additional tweak that I have reversed the digits so they are going from 9 to 0 which makes the countdown look better. Do you want a pull request like that?

dividuum commented 4 years ago

Sure. Additional language supports sounds useful. I'll be happy to merge your contribution.