Bugfix for Large Font extension — size depends on HTML nesting level

Please post any support questions here. Guest posting is allowed
luo-ning
Posts: 6
Joined: Tue Mar 08, 2022 2:44 am

Re: Bugfix for Large Font extension — size depends on HTML nesting level

Post by luo-ning »

Looks great! Except... I've just noticed 1 other thing — I'd assumed the user-facing "n%" settings mapped exactly to USER_FONT_SIZE_n variables, hence used those as the basis for $size_map, but I just noticed that "120%" actually maps to USER_FONT_SIZE_115 (all the other options line up).

Zipped fix: https://github.com/lionel-rowe/phpbb-la ... s/main.zip
Diff here: https://github.com/lionel-rowe/phpbb-la ... 2622997b19
Administrator
Site Admin
Posts: 756
Joined: Tue Nov 18, 2014 11:30 am

Re: Bugfix for Large Font extension — size depends on HTML nesting level

Post by Administrator »

Thanks (again) for the catch. I'll have a deeper check through the code later but hopefully thats the last (famous last words)