diff options
author | Silenio Quarti <silenio> | 2005-09-09 16:16:57 +0000 |
---|---|---|
committer | Silenio Quarti <silenio> | 2005-09-09 16:16:57 +0000 |
commit | 69afcec82cefcb647e85b352865085421271b91f (patch) | |
tree | a6de0ea46629c3576f491cf28256409f315c4e8c /bundles/org.eclipse.swt/Eclipse SWT | |
parent | 19824134adb851da358cec35867bc8b57e477164 (diff) | |
download | eclipse.platform.swt-69afcec82cefcb647e85b352865085421271b91f.tar.gz eclipse.platform.swt-69afcec82cefcb647e85b352865085421271b91f.tar.xz eclipse.platform.swt-69afcec82cefcb647e85b352865085421271b91f.zip |
enable font substitution on text
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Text.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Text.java b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Text.java index a249200233..4224ecea3d 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Text.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Text.java @@ -359,6 +359,7 @@ void createHandle () { OS.kTXNIOPrivilegesTag, OS.kTXNMarginsTag, OS.kTXNJustificationTag, + OS.kTXNDoFontSubstitution, }; int just = OS.kTXNFlushLeft; if ((style & SWT.CENTER) != 0) just = OS.kTXNCenter; @@ -368,6 +369,7 @@ void createHandle () { (style & SWT.READ_ONLY) != 0 ? 1 : 0, ptr, just, + 1, }; OS.TXNSetTXNObjectControls (txnObject, false, tags.length, tags, datas); OS.TXNSetFrameBounds (txnObject, 0, 0, 0, 0, txnFrameID); |