Código
Function FonteExiste(Fonte:STring):Boolean;
begin
with Screen.Fonts do
Result := IndexOf(Trim(Fonte)) > 0;
end; //Exemplo:
Procedure TForm1.Button1Click(Sender:Tobject);
begin
If FonteExiste('Times New Roman') then
ShowMessage(' Fonte já existe !') Else
ShowMessage(' Fonte Inexistente !');
end;
Planeta Delphi - www.planetadelphi.com.br - Todos os direitos reservados | Copyright 2001-2009