To get an idea of what it would take to add the font-size preference, see https://github.com/xwiki/xwiki-platform/pull/2694/commits/6d02af54025adb37107e4ee9659f8c786716f59d .