diff options
author | Silenio Quarti <silenio> | 2009-03-26 13:59:15 +0000 |
---|---|---|
committer | Silenio Quarti <silenio> | 2009-03-26 13:59:15 +0000 |
commit | 40b5d7f957fe454dda3cc72cef817e7a64eea1d9 (patch) | |
tree | f09e6b3298f18d2fecfb97269b8866ee67e27923 /bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Path.java | |
parent | e619d691d044497570fcf3be984cbfd11be66986 (diff) | |
download | eclipse.platform.swt-40b5d7f957fe454dda3cc72cef817e7a64eea1d9.tar.gz eclipse.platform.swt-40b5d7f957fe454dda3cc72cef817e7a64eea1d9.tar.xz eclipse.platform.swt-40b5d7f957fe454dda3cc72cef817e7a64eea1d9.zip |
251608 - Artificial bold and italic style to font
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Path.java')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Path.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Path.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Path.java index 77bb5b52c2..b236249b6c 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Path.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Path.java @@ -325,6 +325,7 @@ public void addString(String string, float x, float y, Font font) { attrStr.id = attrStr.initWithString(str).id; attrStr.beginEditing(); attrStr.addAttribute(OS.NSFontAttributeName, font.handle, range); + font.addTraits(attrStr, range); attrStr.endEditing(); textStorage.setAttributedString(attrStr); attrStr.release(); |