Project: SWT
Bug 267174 Device#loadFont() not implemented
Reported: 2009-03-05 05:56:15 | Status: resolved fixed

As of 3.5.0.v3529a (and in HEAD), Device#loadFont()'s code is: public boolean loadFont (String path) { checkDevice(); if (path == null) SWT.error(SWT.ERROR_NULL_ARGUMENT); boolean result = false; char [] chars = new char [path.length ()]; path.getChars (0, chars.length, chars, 0); //TODO not done return result; }

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSString.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Device.java