Index: CKEditor/trunk/CHANGES.html
===================================================================
--- CKEditor/trunk/CHANGES.html	(revision 4971)
+++ CKEditor/trunk/CHANGES.html	(revision 4972)
@@ -59,4 +59,5 @@
 		<li><a href="http://dev.fckeditor.net/ticket/4678">#4678</a> : Respect empty width in tables.</li>
 		<li><a href="http://dev.fckeditor.net/ticket/5012">#5012</a> : Fixed dependency issues with the menu plugin.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/5040">#5040</a> : The editor will not properly ignore font related settings that have extra item separators (semi-colons).</li>
 	</ul>
 	<h3>
Index: CKEditor/trunk/_source/plugins/font/plugin.js
===================================================================
--- CKEditor/trunk/_source/plugins/font/plugin.js	(revision 4971)
+++ CKEditor/trunk/_source/plugins/font/plugin.js	(revision 4972)
@@ -18,11 +18,19 @@
 		for ( var i = 0 ; i < names.length ; i++ )
 		{
-			var vars = {};
-			var parts = names[ i ].split( '/' );
-
-			var name = names[ i ] = parts[ 0 ];
-			vars[ styleType ] = values[ i ] = parts[ 1 ] || name;
-
-			styles[ name ] = new CKEDITOR.style( styleDefinition, vars );
+			var parts = names[ i ];
+
+			if ( parts )
+			{
+				parts = parts.split( '/' );
+
+				var vars = {},
+					name = names[ i ] = parts[ 0 ];
+
+				vars[ styleType ] = values[ i ] = parts[ 1 ] || name;
+
+				styles[ name ] = new CKEDITOR.style( styleDefinition, vars );
+			}
+			else
+				names.splice( i--, 1 );
 		}
 
