I have a ExpandBar that I add ExpandItems to dynamically. I set the font size in the ExpandBar to be a larger, bolder font which works fine on Windows but on Linux(both SLED and Ubuntu 11) shows up only as the default non-bold size 11ish font. I have tried using the resourcemanager as well as creating the font manually and so far no luck.
Segoe10Bold = new Font(null,"Segoe UI",10,SWT.BOLD);
Segoe11Normal = new Font(null,"Segoe UI",10,SWT.NORMAL);
Composite container = new Composite(parent, SWT.NONE);
container.setLayout(new FormLayout());
expandBar = new ExpandBar(container, SWT.BORDER | SWT.V_SCROLL);
expandBar.setSpacing(10);
expandBar.setFont(Segoe10Bold);
FormData fd_expandBar = new FormData();
expandBar.setLayoutData(fd_expandBar);
xpndItem1 = new ExpandItem(expandBar, SWT.NONE);
xpndItem1.setExpanded(true);
xpndItem1.setText("File Connector");
Composite compositeFile = new Composite(expandBar, SWT.NONE);
xpndItem1.setControl(compositeFile);