void (int startOffset, String fontName) { String fontFamilyName = FontMapper.getPhysicalFontName(fontName); if (!fontFamilyName.equals(myFontFamilyName)) { addTextIfPossible(startOffset); builder.addFontFamilyName(fontFamilyName); myFontFamilyName = fontFamilyName; } }