> > if lfFaceName = '' --> if Lenght(lfFaceName) = 0 > > this might help. Let me know. This shouldn't make any difference, even the generated code should be the same for shortstrings as well as for ansistrings.