dannyedel / dspdfviewer

Dual-Screen PDF Viewer for latex-beamer
http://dspdfviewer.danny-edel.de
GNU General Public License v2.0
218 stars 27 forks source link

Fixed width for timer? #180

Open simplygood opened 8 years ago

simplygood commented 8 years ago

Mine is v1.15 from OS X Homebrew bottle.

The width of the timer on the bottom right changes depending on the numbers used for the time. The timer uses a variable width font, and for example, 0 is wider than 1, making the bottom previews keep trembling horizontally as time goes.

th42sch commented 6 years ago

Same issue here, with v1.15 on macOS 10.13.2.

In addition to the visual nuisance caused by the previews "trembling" almost every second, this might also use unnecessary CPU/GPU cycles.

The reason for this behaviour seems to be that the digits 0..9 in macOS's system font San Francisco aren't of equal width. I suggest to display the timers using Helvetica, which was the system font until OS X 10.10 and whose digits have equal width.