Fix table cells to allow different variants of the same font

Fixes #455.