Thread: Clara HD Display time when reading
View Single Post
Old 11-17-2018, 10:49 AM   #144
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
Updated it again. Download link: MiniClock

This update:

- updates fbink (again). negative offsets might work now, not tested.
- adds padding option for truetype (default on). without padding, it's possible for a fragment to remain when updating 00:00 to 00:01 since 0 is wider than 1. for now padding simply works by adding space character to the format string...
- changes delay and repeat setting. the old delay=1 repeat=3 is now delay=1 1 1 meaning wait 1 second, update clock, wait 1 second, update clock, wait 1 second, update clock

This way you can control how much delay there should be between each individual attempt to update the clock. Like if your pageflip usually takes longer than one second there is no point to try to update it after one second, so you could set delay=2 1 or delay=3 instead.

Note if you set the delay too high it might not show up at all (since the miniclock background task might get frozen).
frostschutz is offline   Reply With Quote