Lines Matching refs:font
32 import java.awt.font.FontRenderContext;
33 import java.awt.font.GlyphVector;
54 private final Font font; field in BidiRenderer.ScriptRun
56 private ScriptRun(int start, int limit, @NonNull Font font) { in ScriptRun() argument
59 this.font = font; in ScriptRun()
139 renderScript(run.start, run.limit, run.font, flag, advances, advancesIndex, draw); in renderText()
176 Font font = fontInfos.get(i).mFont; in renderScript() local
178 if (preferredFont == font) { in renderScript()
184 if (font == null) { in renderScript()
189 canDisplayUpTo = font.canDisplayUpTo(mText, start, limit); in renderScript()
193 bestFont = font; in renderScript()
197 bestFont = font; in renderScript()
233 private void render(int start, int limit, Font font, int flag, float[] advances, in render() argument
236 Toolkit.getDefaultToolkit().getFontMetrics(font).getFontRenderContext(); in render()
245 frc = new FontRenderContext(font.getTransform(), false, in render()
251 if (font.isTransformed()) { in render()
252 AffineTransform transform = font.getTransform(); in render()
263 AffineTransform transform = font.getTransform(); in render()
267 frc = new FontRenderContext(font.getTransform(), true, frc.usesFractionalMetrics()); in render()
271 GlyphVector gv = font.layoutGlyphVector(frc, mText, start, limit, flag); in render()