MyBB Community Forums

Full Version: Problem with Sans-serif in posts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I do have the problem with the font-family Sans-serif (see attachment). I guess it is due to the fact that this font is not installed on my PC?

If that's the reason, is there any solution how to handle font-families, that are not available on the client PCs?
thanks...
i have solution for this and i will made PR in github...
but you can try test for me...
in ACP --> Mycode --> font
change

\[font=([a-z ]+?)\](.+?)\[/font\]

to

\[font=([a-z0-9 ,\-_]+)\](.*?)\[/font\]

i made PR to fix this https://github.com/mybb/mybb/pull/681
Thank you for pushing and for the fix! Smile