A demountable variable focus X-ray tube has been employed to study the effect on the focal spot of changes in the filament position anode-cathode separation and tube current and voltage. By measuring the focal spot line spread function for various tube parameters the effect of electron focusing on both the size and intensity distribution of the focal spot has been studied. The observed changes in the focal spot line spread function can be explained in terms of the focusing of the electron beams originating from different parts of the filament. Large variations in both the size and intensity distribution of the focal spot are observed with changes in the position of the filament.