diff options
author | Niraj Modi | 2020-05-22 08:13:55 +0000 |
---|---|---|
committer | Niraj Modi | 2020-05-22 08:13:55 +0000 |
commit | b5c4cc2ad0e1493c82bb09dcbbdb40bfc316a767 (patch) | |
tree | 6ebd149c7e7fc24b1605888313a458dace59e9b5 | |
parent | ad1e4ed2222daf79edfa1a57e87c1b6221963ce3 (diff) | |
download | eclipse.platform.swt-b5c4cc2ad0e1493c82bb09dcbbdb40bfc316a767.tar.gz eclipse.platform.swt-b5c4cc2ad0e1493c82bb09dcbbdb40bfc316a767.tar.xz eclipse.platform.swt-b5c4cc2ad0e1493c82bb09dcbbdb40bfc316a767.zip |
Bug 562165 - [Win32] Text editor should support ligatures on Windows
- Updated the test snippet/image.
Change-Id: I0b6e182ba2dcbbd8b43a767e7ea28585678a7a4a
Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
-rw-r--r-- | examples/org.eclipse.swt.snippets/previews/Snippet377.png | bin | 17310 -> 15534 bytes | |||
-rw-r--r-- | examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet377.java | 10 |
2 files changed, 4 insertions, 6 deletions
diff --git a/examples/org.eclipse.swt.snippets/previews/Snippet377.png b/examples/org.eclipse.swt.snippets/previews/Snippet377.png Binary files differindex bd36db7038..4a431e8647 100644 --- a/examples/org.eclipse.swt.snippets/previews/Snippet377.png +++ b/examples/org.eclipse.swt.snippets/previews/Snippet377.png diff --git a/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet377.java b/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet377.java index e4b2b6d26a..a49f29a3ab 100644 --- a/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet377.java +++ b/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet377.java @@ -38,9 +38,8 @@ public class Snippet377 { StyledText styledText = new StyledText(shell, SWT.BORDER); styledText.setFont(new Font(display, "Fira Code", 9, SWT.NORMAL)); styledText.setText( - "Ligatures support added in StyledText with 'Fira Code' font: \n"); - styledText.append("(https://github.com/tonsky/FiraCode/tree/master/distr/ttf) \n"); - styledText.append(" == != <= >= |= || \n"); + "Ligatures support added in StyledText: \n"); + styledText.append(" == != <= >= |= || -> <- \n"); styledText.append("c:\\ぷろぐらむ\\program \n"); styledText.append("c:\\\u3077\u308d\u3050\u3089\u3080\\program \n"); styledText.append("a\\&~あ\\&~a\\&~ \n"); @@ -51,9 +50,8 @@ public class Snippet377 { Text text = new Text(shell, SWT.BORDER | SWT.MULTI); text.setFont(new Font(display, "Fira Code", 9, SWT.NORMAL)); text.setText( - "Ligatures support(from native) with 'Fira Code' font: \n"); - text.append("(https://github.com/tonsky/FiraCode/tree/master/distr/ttf) \n"); - text.append(" == != <= >= |= || \n"); + "Ligatures support(from native): \n"); + text.append(" == != <= >= |= || -> <- \n"); text.append("c:\\ぷろぐらむ\\program \n"); text.append("c:\\\u3077\u308d\u3050\u3089\u3080\\program \n"); text.append("a\\&~あ\\&~a\\&~ \n"); |