mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
fix ComplexTextFragmentTest
This commit is contained in:
+1
-1
@@ -101,7 +101,7 @@ public class ComplexTextFragmentTest {
|
||||
try {
|
||||
int length = gv.getNumChars();
|
||||
char[] text = new char[length];
|
||||
FontInfo fontInfo = new FontInfo(Font.MONOSPACED, 1, Font.PLAIN, false, null);
|
||||
FontInfo fontInfo = new FontInfo(Font.MONOSPACED, 1, Font.PLAIN, false, new FontRenderContext(null, false, false));
|
||||
ComplexTextFragment fragment = new ComplexTextFragment(text, 0, length, (gv.getLayoutFlags() & GlyphVector.FLAG_RUN_RTL) != 0,
|
||||
fontInfo);
|
||||
int[] charPositions = new int[length];
|
||||
|
||||
Reference in New Issue
Block a user