#include "ParIterator.h"
#include "Server.h"
#include "ServerSocket.h"
+#include "TextClass.h"
#include "TextMetrics.h"
#include "VSpace.h"
{
BOOST_ASSERT(this == cur.text());
// If the mask is completely neutral, tell user
- if (font.fontInfo() == ignore_font) {
+ if (font.fontInfo() == ignore_font &&
+ (font.language() == 0 || font.language() == ignore_language)) {
// Could only happen with user style
cur.message(_("No font change defined."));
return;