Quote from ShefkiThere is some confusion over the font size. Specially that you're given a scale. The reason font sizes are done by scales is because the layout may be used by multiple frames with multiple different scales. So a particular size is rather meaningless. Size 14 on one frame may not be the same as size 14 on another frame.
That said. The base font size is the size of the ChatFontNormal which is 14. If you have the font set to 100% it will be size 14 ignoring any overall scaling that the frame may be set to do .
PB4 is a great addon (much improved over PB3 which I used for a long time), but I must say that it is a strange design decision to base the font size off of a system variable font size which may or may not be 14. I found this post, for which I thank you, after wondering why my PB4 fonts were suddenly the wrong size after I had adjusted my global font settings using the xFont framework and playing around with some new chat addons.
Quote from ShefkiIf you insist on wanting to set a particular font size you can calculate the proper percentage as follows:
percentage=(((desired_size - 14)/14)+1)*100
Within individual text settings there is also a size setting. This also impacts the font size. So the actual font size is calculates like so:
14 * default_size_percent * specific_size_percent.
A lot of people are using pixel fonts now for their UI and they require very specific sizes to look correct. Having to calculate the correct percentage based off of a system variable and then having to calculate another percentage off of that for any individual text settings could be quite tedious and inexact.
Also, unless I'm missing something, you can simplify your formula:
percentage=(desired_size / ChatFontNormal_size) * 100%
where the default ChatFontNormal_size is 14, but other addons may change this value.