runText = dfm.mapFontCharset(graphics, run.getFontInfo(null), runText); int beginIndex = text.length(); text.append(runText);
AttributedString str = new AttributedString(dfm.mapFontCharset(graphics,buFont,buCharacter)); str.addAttribute(TextAttribute.FOREGROUND, fgPaint); str.addAttribute(TextAttribute.FAMILY, buFont.getTypeface());
runText = dfm.mapFontCharset(graphics, run.getFontInfo(null), runText); int beginIndex = text.length(); text.append(runText);
AttributedString str = new AttributedString(dfm.mapFontCharset(graphics,buFont,buCharacter)); str.addAttribute(TextAttribute.FOREGROUND, fgPaint); str.addAttribute(TextAttribute.FAMILY, buFont.getTypeface());