I am dealing with a number of (highly non-standard) fonts and wish to determine whether the font is bold (and probably other attributes). The fontDescriptors are sometimes missing and often return null of zero values (e.g. for fontDescriptor.getFontWeight() or fontDescriptor.isForceBold(). Yet the font displays as bold (presumably because the boldness is encoded in the glyph information).
Are there ways (I will gladly accept heuristics) for determining that a font is bold when this cannot be determined from the font descriptor of the font name, which occasionally has a ".B" but often does not. At present I simply compile a list of fonts, so any help welcomed. -- Peter Murray-Rust Reader in Molecular Informatics Unilever Centre, Dep. Of Chemistry University of Cambridge CB2 1EW, UK +44-1223-763069

