Project

General

Profile

Bug #3842

Updated by Jim Pingle over 9 years ago

After some digging, it's been found that the cause of the menu wrapping issue on Linux is due to the presence of the "Verdana" font in the CSS font selectors of the pfSense_ng and other themes, for example: 
 <pre> 
 html, body, td, th, input, select { 
     font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif; 
     font-size: 0.9em; 
 } 
 </pre> 

 The base install of Ubuntu, Lubuntu, and similar distributions is OK because none of those fonts are present so the system uses another sans-serif font instead. However if the ttf-mscorefonts-installer package has been added, the browser will have Verdana available but not Tahoma, and Verdana causes the text to be a bid wider and wrap. 

 Removing Verdana from the list of fonts in the CSS fixes the rendering. 

 This affects both 2.2 and 2.1.5, so replicating the fix back 2.1.x is needed.

Back