diff options
author | Zhiming Wang <zmwangx@gmail.com> | 2015-07-17 21:27:52 -0700 |
---|---|---|
committer | Zhiming Wang <zmwangx@gmail.com> | 2015-07-17 21:47:05 -0700 |
commit | 110cf961113af9d5386cd9ba35404161e473e39b (patch) | |
tree | e16f4e4af4b4e8a8f35483f515257ddf1b843979 /source/blog/2014-10-23-ripping-copy-protected-dvd-with-mpv.md | |
parent | 8b6e38dd3c63fbf1badc2fb6492fa9523e0048d9 (diff) | |
download | my_new_personal_website-110cf961113af9d5386cd9ba35404161e473e39b.tar.xz my_new_personal_website-110cf961113af9d5386cd9ba35404161e473e39b.zip |
fix line number placement
Global font size in each style sheet has been tweaked very carefully so
that the precise line height is very close to a whole number of pixels,
so that precision alignment using em, which aligns something
precise (top: 13.5em) to something inprecise (line heights, with
accumulated errors due to rounding in every line), is not lost.
Note that Firefox is NOT supported, since each line seems to always
occupy one more pixel than the calculated line height.
For some reason line numbers in the print view are still rather
problematic at a page continuation. In Chrome and Safari, the first two
line numbers on a new page tend to overlap, so everything afterwards are
off (and on Firefox line numbers do not show up on the second page at
all). Anyway, printing shouldn't be a big concern.
Diffstat (limited to 'source/blog/2014-10-23-ripping-copy-protected-dvd-with-mpv.md')
0 files changed, 0 insertions, 0 deletions